diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:55:02 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:55:02 +0000 |
commit | dca1e241d1160635329c87ec987c47717bfce4a8 (patch) | |
tree | 70caaa1ed994179e3465dae7e793f253b757c905 | |
parent | 61d6a8de486f2262acbb47cea24f5dae143be8d1 (diff) |
Improved message
Author: jgg
Date: 1999-10-27 05:00:25 GMT
Improved message
-rw-r--r-- | apt-pkg/acquire.cc | 6 | ||||
-rw-r--r-- | cmdline/apt-get.cc | 5 | ||||
-rw-r--r-- | debian/changelog | 1 |
3 files changed, 7 insertions, 5 deletions
diff --git a/apt-pkg/acquire.cc b/apt-pkg/acquire.cc index 0ee7ff447..c4dada5fd 100644 --- a/apt-pkg/acquire.cc +++ b/apt-pkg/acquire.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: acquire.cc,v 1.41 1999/10/18 02:53:05 jgg Exp $ +// $Id: acquire.cc,v 1.42 1999/10/27 05:00:25 jgg Exp $ /* ###################################################################### Acquire - File Acquiration @@ -52,11 +52,11 @@ pkgAcquire::pkgAcquire(pkgAcquireStatus *Log) : Log(Log) struct stat St; if (stat((_config->FindDir("Dir::State::lists") + "partial/").c_str(),&St) != 0 || S_ISDIR(St.st_mode) == 0) - _error->Error("Lists directory %s/partial is missing", + _error->Error("Lists directory %s/partial is missing.", _config->FindDir("Dir::State::lists").c_str()); if (stat((_config->FindDir("Dir::Cache::Archives") + "partial/").c_str(),&St) != 0 || S_ISDIR(St.st_mode) == 0) - _error->Error("Archive directory %s/partial is missing", + _error->Error("Archive directory %s/partial is missing.", _config->FindDir("Dir::Cache::Archives").c_str()); } /*}}}*/ diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc index 2448f5707..0706d1c74 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.85 1999/10/27 04:38:28 jgg Exp $ +// $Id: apt-get.cc,v 1.86 1999/10/27 05:00:25 jgg Exp $ /* ###################################################################### apt-get - Cover for dpkg @@ -813,7 +813,8 @@ bool TryToInstall(pkgCache::PkgIterator Pkg,pkgDepCache &Cache, { c1out << "Package " << Pkg.Name() << " has no available version, but exists in the database." << endl; c1out << "This typically means that the package was mentioned in a dependency and " << endl; - c1out << "never uploaded, or that it is an obsolete package." << endl; + c1out << "never uploaded, has been obsoleted or is not available with the contents " << endl; + c1out << "of sources.list" << endl; string List; pkgCache::DepIterator Dep = Pkg.RevDependsList(); diff --git a/debian/changelog b/debian/changelog index 9dcff3b23..272e506bd 100644 --- a/debian/changelog +++ b/debian/changelog @@ -26,6 +26,7 @@ apt (0.3.13.1) unstable; urgency=low * Re-Install feature. Cloes: #46961, #37393, #38919 * Locks archive directory on clean (woops) * Remove is not 'sticky'. Closes: #48392 + * Slightly more accurate 'can not find package' message. Closes: #48311 -- Jason Gunthorpe <jgg@debian.org> Fri, 3 Sep 1999 09:04:28 -0700 |