Home » PEAR » PEAR » Bug #9712
pear uninstall --register-only remove file : it should not
Details
| Submitted | 2006-12-30 17:10 UTC |
|---|---|
| From | Fedora at FamilleCollet dot com |
| Assigned | cellog |
| Status | Closed |
| Package | PEAR |
| PHP Version | 5.2.0 |
| OS | Fedora Core 6 |
| Roadmaps | (Not assigned) |
Comments
[2006-12-30 17:10 UTC] Fedora at FamilleCollet dot com
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
[2006-12-30 17:32 UTC] Fedora at FamilleCollet dot com
Simple patch proposal :
http://remi.collet.free.fr/files/Installer.patch