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

Bug #18462 Installation should be cancelled if required dependencies are missing
Submitted: 2011-04-20 18:00 UTC
From: yunosh Assigned:
Status: Open Package: PEAR (version 1.9.2)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2011-04-20 18:00 UTC] yunosh (Jan Schneider)
Description: ------------ At the moment, if a required dependency is missing for a package, all other dependencies are installed nonetheless. Even worse, there is not a final error message hinting the user that the installation of the initially requested package actually failed. All he sees (if he doesn't look very carefully), is a number of successful installations. See request #18461 for such an output. Of course the installation shouldn't be stopped immediately, it still makes sense to list *all* missing dependencies first.

Comments

 [2011-07-05 02:24 UTC] dufuz (Helgi Þormar Þorbjörnsson)
You are right, this should defiantly happen. Problem is that right now dependencies are picked up when X package is being installed, so if a dependency is 3 levels down then the installer has already started installing various things. I have been thinking about different solution to implement in pear (or pyrus). One would be to trust the channels more and spider through all of them before even attempting to get the first tgz file instead of only partially use the channel information and then get the tgz file, find a dep and repeat cycle.
 [2014-05-30 01:27 UTC] cweiske (Christian Weiske)
-Roadmap Versions: +Roadmap Versions: 1.10.0
 [2015-09-07 15:46 UTC] cweiske (Christian Weiske)
-Roadmap Versions: 1.10.0 +Roadmap Versions: