Bug 9060 - [internalsolv] If an install succeeds despite broken deps due to --force-depends, it still outputs a diagnostic that makes it look like it failed
Summary: [internalsolv] If an install succeeds despite broken deps due to --force-depe...
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.3.5
Assignee: Alejandro del Castillo
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-02-04 15:54 UTC by Scot Salmon
Modified: 2017-05-08 19:53 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 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