fix progress report for upgrade and reinstall
authorDavid Kalnischkies <david@kalnischkies.de>
Mon, 8 Sep 2014 15:14:17 +0000 (17:14 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Mon, 8 Sep 2014 16:44:24 +0000 (18:44 +0200)
commit4c559e97ba4cc0d3a2995b7c451e606539d2f1be
tree029b280a3550dd1ed5b6017eb1458877f69ea431
parentf920cbe8527ce523974da2563ca1165790c1d40e
fix progress report for upgrade and reinstall

APT treats upgrades like installs and dpkg is very similar in this, but
prints still a slightly different processing message indicating that it
is really an upgrade which we hadn't parsed so far, but this wasn't
really visible as we quickly moved on to a 'known' state.

More problematic was the reinstall case as apt hadn't recognized this
for the package name detection, so that reinstalls had no progress since
we introduced MultiArch.
apt-pkg/deb/dpkgpm.cc
test/integration/test-apt-progress-fd