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

Bug #19435 pear installs package with missing files without complaining
Submitted: 2012-05-24 13:08 UTC
From: tacker Assigned:
Status: Bogus Package: PEAR (version 1.9.4)
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2012-05-24 13:08 UTC] tacker (Markus Tacker)
Description: ------------ Originally reported as [1] If the package release only contains the package.xml like it happened with [2] pear install/upgrade will install the package without reporting that the files described in the package.xml are missing in the archive. [1] http://pear.php.net/bugs/bug.php?id=19433 [2] http://download.pear.php.net/package/Cache_Lite- 1.7.14.tgz Test script: --------------- pear install --force Cache_Lite-1.7.4 Expected result: ---------------- Installation aborted. Actual result: -------------- [m@nanshe Cache_Lite]$ sudo pear install --force Cache_Lite- 1.7.4 downloading Cache_Lite-1.7.4.tgz ... Starting to download Cache_Lite-1.7.4.tgz (29,824 bytes) .........done: 29,824 bytes install ok: channel://pear.php.net/Cache_Lite-1.7.4

Comments

 [2012-05-24 13:21 UTC] tacker (Markus Tacker)
Test script should read: pear install --force Cache_Lite-1.7.14 Actual result: -------------- [m@nanshe ~]$ sudo pear install --force Cache_Lite-1.7.14 downloading Cache_Lite-1.7.14.tgz ... Starting to download Cache_Lite-1.7.14.tgz (32,034 bytes) .........done: 32,034 bytes install ok: channel://pear.php.net/Cache_Lite-1.7.14
 [2014-02-27 03:19 UTC] avb (Alexey Borzov)
-Status: Open +Status: Bogus
If you try $ tar tf Cache_Lite-1.7.14.tgz --ignore-zeros you'll see that the archive contains all package files, not only package.xml