Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.15

Bug #9712 pear uninstall --register-only remove file : it should not
Submitted: 2006-12-30 17:10 UTC
From: Fedora at FamilleCollet dot com Assigned: cellog
Status: Closed Package: PEAR (version 1.4.11)
PHP Version: 5.2.0 OS: Fedora Core 6
Roadmaps: (Not assigned)    
Subscription  


 [2006-12-30 17:10 UTC] Fedora at FamilleCollet dot com (Remi Collet)
Description: ------------ When you pear uninstall --nodeps --ignore-errors --register-only foo The file owned by foo are removed. Documentation say it should not. This is a big problem when packaging RPM: when a package "obsolotes" a old one, "pear uninstall" (in %postun) delete newly installed files. Test script: --------------- # pear install File # ls /usr/share/pear/File.php /usr/share/pear/File.php # pear uninstall --nodeps --ignore-errors --register-only File # ls /usr/share/pear/File.php ls: /usr/share/pear/File.php: No such file or directory

Comments

 [2006-12-30 17:32 UTC] Fedora at FamilleCollet dot com
 [2006-12-30 22:16 UTC] cellog (Greg Beaver)
this will be in 1.5.0, 1.4.x is dead.
 [2007-01-07 16:14 UTC] cellog (Greg Beaver)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.