From: Arch Librarian Date: Mon, 20 Sep 2004 17:04:56 +0000 (+0000) Subject: * Clearer error message in place of "...has no availabl... X-Git-Tag: 0.7.24ubuntu1~546 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/4c36e0626ecaa9585a55f595db477b5e6e6f669c * 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) --- diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index 7b4e732d7..3ac21347f 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 872d29cc3..f35314d76 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) --