]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-item.cc
use pkgAcqArchive in 'download' for proper errors
[apt.git] / apt-pkg / acquire-item.cc
index fcc7c7404c69620d038b0c69ffe797046ecaf6fb..04505b35a32990ac96a748b5b513101d37bbebda 100644 (file)
@@ -1768,9 +1768,8 @@ pkgAcqArchive::pkgAcqArchive(pkgAcquire *Owner,pkgSourceList *Sources,
 
    // Select a source
    if (QueueNext() == false && _error->PendingError() == false)
-      _error->Error(_("I wasn't able to locate a file for the %s package. "
-                   "This might mean you need to manually fix this package."),
-                   Version.ParentPkg().Name());
+      _error->Error(_("Can't find a source to download version '%s' of '%s'"),
+                   Version.VerStr(), Version.ParentPkg().FullName(false).c_str());
 }
                                                                        /*}}}*/
 // AcqArchive::QueueNext - Queue the next file source                  /*{{{*/