From 4c36e0626ecaa9585a55f595db477b5e6e6f669c Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 17:04:56 +0000 Subject: [PATCH] * Clearer error message in place of "...has no availabl... Author: mdz Date: 2004-01-09 07:32:39 GMT * Clearer error message in place of "...has no available version, but exists in the database" (Closes: #212203) --- cmdline/apt-get.cc | 9 ++++----- debian/changelog | 2 ++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index 7b4e732d..3ac21347 100644 --- a/cmdline/apt-get.cc +++ b/cmdline/apt-get.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: apt-get.cc,v 1.151 2004/01/09 07:14:28 mdz Exp $ +// $Id: apt-get.cc,v 1.152 2004/01/09 07:32:39 mdz Exp $ /* ###################################################################### apt-get - Cover for dpkg @@ -1037,10 +1037,9 @@ bool TryToInstall(pkgCache::PkgIterator Pkg,pkgDepCache &Cache, else { ioprintf(c1out, - _("Package %s has no available version, but exists in the database.\n" - "This typically means that the package was mentioned in a dependency and\n" - "never uploaded, has been obsoleted or is not available with the contents\n" - "of sources.list\n"),Pkg.Name()); + _("Package %s is not available, but is referred to by another package.\n" + "This may mean that the package is missing, has been obsoleted, or\n" + "is only available from another source\n"),Pkg.Name()); string List; string VersionsList; diff --git a/debian/changelog b/debian/changelog index 872d29cc..f35314d7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,8 @@ apt (0.5.21) unstable; urgency=low * Add colons to apt-get's "kept back"/"upgraded"/"downgraded" messages (Closes: #226813) * Fix typo in apt-cache(8) (Closes: #226351) + * Clearer error message in place of "...has no available version, but + exists in the database" (Closes: #212203) -- -- 2.20.1