diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 17:04:56 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 17:04:56 +0000 |
commit | 4c36e0626ecaa9585a55f595db477b5e6e6f669c (patch) | |
tree | 47e1f6e6a6ca6b50339923cbd8f7caf2c2a18409 /cmdline | |
parent | b1424b6eba61a3159a6893609348551e4c55ab32 (diff) |
* 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)
Diffstat (limited to 'cmdline')
-rw-r--r-- | cmdline/apt-get.cc | 9 |
1 files changed, 4 insertions, 5 deletions
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; |