Bug 8166

Summary: [libsolv] libsolv's upgrade will not automatically remove orphaned dependants
Product: [Yocto Project Subprojects] opkg Reporter: Eric Yu <ericaustinyu>
Component: opkgAssignee: Alejandro del Castillo <alejandro.delcastillo>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: richard.purdie
Version: unspecified   
Target Milestone: 0.3.2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

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