]> git.saurik.com Git - apt.git/commit
pass --force-remove-essential to dpkg only if needed
authorDavid Kalnischkies <david@kalnischkies.de>
Sun, 3 Jul 2016 11:57:25 +0000 (13:57 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Wed, 10 Aug 2016 21:18:04 +0000 (23:18 +0200)
commitd3930f8716f439c229cd3d11813823d847a2ecff
tree6739fad5c8a90dd75329729924468477fced617b
parent77a324fccc75b8573799a7f79ca1b3f8b0d35be7
pass --force-remove-essential to dpkg only if needed

APT (usually) knows which package is essential or not, so we can avoid
passing this force flag to dpkg unconditionally  if the user hasn't
chosen a non-default essential handling obscuring the information.
apt-pkg/deb/dpkgpm.cc
test/integration/test-essential-force-loopbreak
test/integration/test-ubuntu-bug-761175-remove-purge