Bug 8358 - [internalsolv] package with both non-conflicting and conflicting dependencies will result in installation of orphaned pakages (old issue #162)
Summary: [internalsolv] package with both non-conflicting and conflicting dependencies...
Status: RESOLVED FIXED
Alias: None
Product: opkg
Classification: Yocto Project Subprojects
Component: opkg (show other bugs)
Version: 0.3.0
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 0.4.0
Assignee: Alejandro del Castillo
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-09-21 01:21 UTC by Alejandro del Castillo
Modified: 2016-02-10 20:18 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 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.