]> git.saurik.com Git - apt.git/commit
do not treat same-version local debs as downgrade
authorDavid Kalnischkies <david@kalnischkies.de>
Fri, 1 Jul 2016 12:00:47 +0000 (14:00 +0200)
committerJulian Andres Klode <jak@debian.org>
Wed, 31 Aug 2016 11:49:37 +0000 (13:49 +0200)
commitde2c7e41ab4fe0e1e899e1d87c991e32cd343365
treee51a8b1b5d52451901b96ad60d54c88fdd4afa26
parent574ce54dae3089d6d2886bac6b8895510b0ececb
do not treat same-version local debs as downgrade

As the volatile sources are parsed last they were sorted behind the
dpkg/status file and hence are treated as a downgrade, which isn't
really what you want to happen as from a user POV its an upgrade.

(cherry picked from commit cb9ac09bd6a36e73c2dce1d529acde6e4d15e32d)
apt-pkg/pkgcachegen.cc
test/integration/test-apt-get-install-deb