]> git.saurik.com Git - apt.git/commit
try to avoid removal of crossgraded packages
authorDavid Kalnischkies <david@kalnischkies.de>
Mon, 25 Jul 2016 14:36:53 +0000 (16:36 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Wed, 10 Aug 2016 21:51:34 +0000 (23:51 +0200)
commit83e5cffc2015aa809acac84737756d292d7bf106
tree6f6a6c75317d521bdd9cce917856841af9b4767c
parentbfc0933abedcd57e0a5bd07e282f3a50ba1fa5b2
try to avoid removal of crossgraded packages

The user has to approve the removal of a crossgraded package as it might
be needed to remove it (temporarily) in the process, but in most cases
we can happily avoid it and let dpkg unpack over it skipping the
remove. This has some effects on progress reporting and how deal with
selections through which makes this a tiny bit complicated.
apt-pkg/deb/dpkgpm.cc
test/integration/test-crossgrades [new file with mode: 0755]