From: Julian Andres Klode Date: Mon, 10 Aug 2015 09:31:19 +0000 (+0200) Subject: apt-cache: Change version pin output to use per-version pins X-Git-Tag: 1.1.exp9~135 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/b44c21bd31eb1b150bef21431ca881b1ab497559?ds=inline apt-cache: Change version pin output to use per-version pins --- diff --git a/cmdline/apt-cache.cc b/cmdline/apt-cache.cc index c2f6dbd5c..303605f70 100644 --- a/cmdline/apt-cache.cc +++ b/cmdline/apt-cache.cc @@ -1728,7 +1728,7 @@ static bool Policy(CommandLine &CmdL) cout << " *** " << V.VerStr(); else cout << " " << V.VerStr(); - cout << " " << Plcy->GetPriority(Pkg) << endl; + cout << " " << Plcy->GetPriority(V) << endl; for (pkgCache::VerFileIterator VF = V.FileList(); VF.end() == false; ++VF) { // Locate the associated index files so we can derive a description