Bug 9218 - [internalsolv] opkg installation order is backwards
Summary: [internalsolv] opkg installation order is backwards
Status: RESOLVED FIXED
Alias: None
Product: opkg
Classification: Yocto Project Subprojects
Component: opkg (show other bugs)
Version: 0.3.2
Hardware: x86 Multiple
: Undecided critical
Target Milestone: 0.3.2
Assignee: Alejandro del Castillo
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-03-04 16:54 UTC by Alejandro del Castillo
Modified: 2016-03-29 21:33 UTC (History)
0 users

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alejandro del Castillo 2016-03-04 16:54:31 UTC
The re-architecture to split the internal solver out of the code that does the actual install/remove/upgrade creates a list of packages to install/remove. The problem is that the installation order is backwards: if you have package a, which depends on b, which depends on c. the correct installation order should be: c -> b -> a. However, opkg is performing b -> c -> a.
Comment 1 Alejandro del Castillo 2016-03-29 21:33:41 UTC
commit 9f02bbe5e3ccaeca7e30a38557733126acd96010