Bug #19435 [Opn]: pear installs package with missing files without complaining
| From: | tacker@php.net | Date: | Thu, 24 May 2012 08:21:46 +0000 |
| Subject: | Bug #19435 [Opn]: pear installs package with missing files without complaining | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-8685@lists.php.net to get a copy of this message | ||
Edit report at https://pear.php.net/bugs/bug.php?id=19435&edit=1
ID: 19435
Updated by: tacker@php.net
Reported By: tacker at php dot net
Summary: pear installs package with missing files without
complaining
Status: Open
Type: Bug
Package: PEAR
Operating System: Irrelevant
Package Version: 1.9.4
PHP Version: Irrelevant
Roadmap Versions:
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[2012-05-24 09:08:13] 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
------------------------------------------------------------------------
--
Edit this bug report at https://pear.php.net/bugs/bug.php?id=19435&edit=1