Forráskód Böngészése

* 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)

Arch Librarian 22 éve
szülő
commit
4c36e0626e
2 módosított fájl, 6 hozzáadás és 5 törlés
  1. 4 5
      cmdline/apt-get.cc
  2. 2 0
      debian/changelog

+ 4 - 5
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;

+ 2 - 0
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)
 
  --