Bug 8166 - [libsolv] libsolv's upgrade will not automatically remove orphaned dependants
Summary: [libsolv] libsolv's upgrade will not automatically remove orphaned dependants
Status: RESOLVED FIXED
Alias: None
Product: opkg
Classification: Yocto Project Subprojects
Component: opkg (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 0.3.2
Assignee: Alejandro del Castillo
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-08-14 21:26 UTC by Eric Yu
Modified: 2016-05-31 18:52 UTC (History)
1 user (show)

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 Eric Yu 2015-08-14 21:26:06 UTC
When opkg does an upgrade with it's ad-hoc solving, it will automatically remove orphaned dependants. libsolv will not do this. Autoremove functionality should be added following upgrades with libsolv to match the old opkg behaviour.

(Note: adding CLEAN_DEPS to a libsolv upgrade job will not affect upgrades where no package is specified, so this will not fix the problem entirely)
Comment 1 Alejandro del Castillo 2016-01-14 23:02:12 UTC
This bug is causing test issue32.py fail.
Comment 2 Alejandro del Castillo 2016-05-23 16:02:40 UTC
This is an issue with the test, since the correct behavior is libsolv's: an untargeted upgrade shouldn't remove/add packages.
Comment 3 Alejandro del Castillo 2016-05-31 18:52:37 UTC
Fixed on commit cbed4d918491f859175a35ca04012493918aec33