Bug 8358

Summary: [internalsolv] package with both non-conflicting and conflicting dependencies will result in installation of orphaned pakages (old issue #162)
Product: [Yocto Project Subprojects] opkg Reporter: Alejandro del Castillo <alejandro.delcastillo>
Component: opkgAssignee: Alejandro del Castillo <alejandro.delcastillo>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided    
Version: 0.3.0   
Target Milestone: 0.4.0   
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 2015-09-21 01:21:27 UTC
What steps will reproduce the problem?
1. Install a package 'x'.
2. Try installing a package 'a' which depends on 'b' and 'c', where 'c' conflicts with 'x'.

What is the expected output? What do you see instead?
I expect a, b, and c to remain uninstalled because of the conflict between 'c' and 'x'. Instead, 'b' is installed, while 'a' and 'c' remain uninstalled. This leaves 'b' as an orphaned package.

What version of the product are you using? On what operating system?
Version 0.3.0

Please provide any additional information below.


Originally reported by ericaustinyu, Jul 7, 2015
-----------------------------------------------------------------------------
Comment 1 Alejandro del Castillo 2016-02-10 20:17:22 UTC
Fixed by ce1f0328000eface74a8d8eeb9acdadc91d1478a
Comment 2 Alejandro del Castillo 2016-02-10 20:18:30 UTC
Solving first, instead of solving while recursing fixed this issue.