improve error messages when apk add is not able to resolve versioned dependencies
To reproduce:
Create 3 packages: a-1.0, a-1.1 and b-1.0. Say that b-1.0 depends on
a=1.0. Try upgrade to a-1.1.
The error message you get is:
ERROR: Unable to install 'a': -1
and thats all. It can be very hard to track down why the upgrade fails
if you have 10+ upgrading packages with varius versioned dependencies.
We need better error messages.
(from redmine: issue id 187, created on 2009-10-16, closed on 2010-06-30)
- Changesets:
- Revision 038b6720 by Timo Teräs on 2010-06-01T08:49:32Z:
state: improve error messages from dependency failures
Print more information why installation changeset calculation failed.
Fixes #187.