Bug 9862

Summary: [internalsolv] packages are removed even if others depend on them
Product: [Yocto Project Subprojects] opkg Reporter: jaap.dejong
Component: opkgAssignee: Alejandro del Castillo <alejandro.delcastillo>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Undecided    
Version: 0.3.2   
Target Milestone: 0.3.3   
Hardware: Other   
OS: arm   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description jaap.dejong 2016-07-01 05:58:05 UTC
remove package A should not be possible if another package is depending on it

opkg remove A
Removing package A from root...
Collected errors:
 * print_dependents_warning: Package A is depended upon by packages:
 * print_dependents_warning:         B
 * print_dependents_warning: These might cease to work if package A is removed.
 * print_dependents_warning: Force removal of this package with --force-depends.
 * print_dependents_warning: Force removal of this package and its dependents
 * print_dependents_warning: with --force-removal-of-dependent-packages.

But package A is removed nevertheless....
Comment 1 Alejandro del Castillo 2016-07-13 16:14:17 UTC
Fix on commit 8dca1b638c4b43ab1393c4f7d7affed10bbaf527