]> git.saurik.com Git - apt.git/commitdiff
install: If package already is the newest version, display version
authorJulian Andres Klode <jak@debian.org>
Sun, 16 Aug 2015 15:07:43 +0000 (17:07 +0200)
committerJulian Andres Klode <jak@debian.org>
Sun, 16 Aug 2015 15:08:45 +0000 (17:08 +0200)
Also do it unconditionally, as it does not hurt.

Closes: #315149
apt-private/private-install.cc

index e61c4ca51e1d3507fa416348c52db1212527ff9f..4a589a263518ec72d615b0fe0d7078ee62689f96 100644 (file)
@@ -816,8 +816,9 @@ void TryToInstall::operator() (pkgCache::VerIterator const &Ver) {
            else
               Cache->GetDepCache()->SetReInstall(Pkg, true);
         } else
-           ioprintf(c1out,_("%s is already the newest version.\n"),
-                 Pkg.FullName(true).c_str());
+           // TRANSLATORS: First string is package name, second is version
+           ioprintf(c1out,_("%s is already the newest version (%s).\n"),
+                 Pkg.FullName(true).c_str(), Pkg.CurrentVer().VerStr());
       }
 
       // Install it with autoinstalling enabled (if we not respect the minial