diff options
author | Julian Andres Klode <jak@debian.org> | 2015-08-16 17:07:43 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2015-08-16 17:08:45 +0200 |
commit | 3b9eaca8c6adba831078749c4a3819f76e373df7 (patch) | |
tree | d1fe719eb5bfe7b44d9fcd7cc521d3df7f884fb5 /apt-private | |
parent | 45b19add6c4d95a5feca5e710e1a080be6cee4c2 (diff) |
install: If package already is the newest version, display version
Also do it unconditionally, as it does not hurt.
Closes: #315149
Diffstat (limited to 'apt-private')
-rw-r--r-- | apt-private/private-install.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apt-private/private-install.cc b/apt-private/private-install.cc index e61c4ca51..4a589a263 100644 --- a/apt-private/private-install.cc +++ b/apt-private/private-install.cc @@ -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 |