Bug 9862 - [internalsolv] packages are removed even if others depend on them
Summary: [internalsolv] packages are removed even if others depend on them
Status: RESOLVED FIXED
Alias: None
Product: opkg
Classification: Yocto Project Subprojects
Component: opkg (show other bugs)
Version: 0.3.2
Hardware: Other arm
: Undecided major
Target Milestone: 0.3.3
Assignee: Alejandro del Castillo
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-07-01 05:58 UTC by jaap.dejong
Modified: 2016-07-13 16:14 UTC (History)
0 users

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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