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

Bug #5412 if a package has no dependencies, no validation against installed package deps
Submitted: 2005-09-15 10:10 UTC
From: garak Assigned: cellog
Status: Closed Package: PEAR
PHP Version: 4.3.10 OS: Linux 2.6.10
Roadmaps: (Not assigned)    
Subscription  


 [2005-09-15 10:10 UTC] garak
Description: ------------ When upgrading PEAR to 1.4.0RC1, I received a warning: pear/PEAR conflicts with package "pear/PEAR_Frontend_Gtk" (version <= 0.4.0, excluded versions: 0.4.0), installed version is 0.4.0 So I removed PEAR_Frontend_Gtk and updated PEAR. But after so I tried to install PEAR_Frontend_Gtk again, and it worked. I expected to have the same warning as above.

Comments

 [2005-09-15 20:12 UTC] cellog
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. this was actually 3-fold problem. 1) package2.xml had slightly wrong dependency 2) improper validation of packages with no deps against installed packages 3) improper iteration over dependencies of installed packages, since it is possible to have more than 1 dep on the same package (for instance, a group and a required conflicts dep)