Bug 9060

Summary: [internalsolv] If an install succeeds despite broken deps due to --force-depends, it still outputs a diagnostic that makes it look like it failed
Product: [Yocto Project Subprojects] opkg Reporter: Scot Salmon <scotsalmon>
Component: opkgAssignee: Alejandro del Castillo <alejandro.delcastillo>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided    
Version: 0.3.0   
Target Milestone: 0.3.5   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Scot Salmon 2016-02-04 15:54:13 UTC
If I do something like (names change to protect the innocent):

# opkg install --force-depends foo.ipk
Installing foo (1.4.9-r0.7) on root.
Configuring foo.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for foo:
 *      libgcc1 (>= 4.9.2) *    libstdc++6 (>= 4.9.2) *         libc6 (>= 2.21) *

Which looks like a failure, however, foo is installed fine. Seems like the diagnostic output should note that the errors were ignored due to --force-depends.
Comment 1 Alejandro del Castillo 2016-02-11 15:49:26 UTC
Issue doesn't reproduce with libsolv backend
Comment 2 Alejandro del Castillo 2017-05-08 19:53:15 UTC
fixed on 659296286dcf82e16e155babb80ff33867a2b457