You should use the Simulate method of a transaction to calculate the to
be removed packages. Currently you just make a call to
apt.Cache.get_installed_rdepends. This doesn't cover a full dependency
resolution. Furthermore already queued transaction won't be taken into
account. (see. distro/Ubuntu.py: get_removal_warning)

-- 
Broken dependency checking on software removal (does not handle or-depends)
https://bugs.launchpad.net/bugs/437870
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to