summaryrefslogtreecommitdiffstats
path: root/apt-private/private-install.cc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-07 13:28:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-07 13:28:44 +0000
commit179b27be1e4cf4e68ccb9df64c64156dbb7b3820 (patch)
tree656b95c0086c4c552c43914f47b3c292b0276618 /apt-private/private-install.cc
parentAdding upstream version 2.9.6. (diff)
downloadapt-179b27be1e4cf4e68ccb9df64c64156dbb7b3820.tar.xz
apt-179b27be1e4cf4e68ccb9df64c64156dbb7b3820.zip
Adding upstream version 2.9.7.upstream/2.9.7
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'apt-private/private-install.cc')
-rw-r--r--apt-private/private-install.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-private/private-install.cc b/apt-private/private-install.cc
index 599caac..57b5c0d 100644
--- a/apt-private/private-install.cc
+++ b/apt-private/private-install.cc
@@ -729,7 +729,7 @@ bool DoAutomaticRemove(CacheFile &Cache)
"The following packages were automatically installed and are no longer required:",
autoRemoveCount), Universe,
[&Cache](pkgCache::PkgIterator const &Pkg) { return (*Cache)[Pkg].Garbage == true && (*Cache)[Pkg].Delete() == false; },
- &PrettyFullName, CandidateVersion(&Cache), "", note);
+ &PrettyFullName, CurrentVersion(&Cache), "", note);
}
else
{