From 4b10240cca0dc0a4e82e42959545d2ae7e622d29 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Wed, 23 Nov 2016 17:32:20 +0100 Subject: improve arch-unqualified dpkg-progress parsing Our old idea was to look for the first package which would be "touched" and take this as the package dpkg is talking about, but that is incorrect in complicated situations like a package upgraded to/from multiple M-A:same siblings installed. As we us the progress report to decide what is still needed we have to be reasonabily right about the package dpkg is talking about, so we jump to quite a few loops to get it. --- apt-pkg/deb/dpkgpm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'apt-pkg/deb/dpkgpm.h') diff --git a/apt-pkg/deb/dpkgpm.h b/apt-pkg/deb/dpkgpm.h index 193754644..d1c2bcf41 100644 --- a/apt-pkg/deb/dpkgpm.h +++ b/apt-pkg/deb/dpkgpm.h @@ -53,6 +53,7 @@ class pkgDPkgPM : public pkgPackageManager \param pkgname Name of the package that disappeared */ APT_HIDDEN void handleDisappearAction(std::string const &pkgname); + APT_HIDDEN void handleCrossUpgradeAction(std::string const &pkgname); protected: int pkgFailures; -- cgit v1.2.3