]> git.saurik.com Git - apt.git/commit
don't purge directly, but remove and do purge at the end
authorDavid Kalnischkies <david@kalnischkies.de>
Thu, 21 Jul 2016 16:46:34 +0000 (18:46 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Wed, 10 Aug 2016 21:18:04 +0000 (23:18 +0200)
commit7ec343309b7bc6001b465c870609b3c570026149
treef6c7d056802f3fbaec0de5164818cd887a1d2b02
parent0dd19915f44df0048d594d527797c62ab6195cc6
don't purge directly, but remove and do purge at the end

If we want a package to be purged from the system tell dpkg in the
ordering (if it has to touch it explicitly) to remove it and cover the
purging of the config files at the end with a --purge --pending call.

That should help packages move conffiles around between packages
correctly even if the user is purging packages directly in big actions
like dist-upgrades involving many packages.
apt-pkg/deb/dpkgpm.cc
test/integration/test-no-fds-leaked-to-maintainer-scripts