Bug 9218

Summary: [internalsolv] opkg installation order is backwards
Product: [Yocto Project Subprojects] opkg Reporter: Alejandro del Castillo <alejandro.delcastillo>
Component: opkgAssignee: Alejandro del Castillo <alejandro.delcastillo>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: Undecided    
Version: 0.3.2   
Target Milestone: 0.3.2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

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