From: Michael Vogt Date: Tue, 21 Feb 2006 13:04:57 +0000 (+0000) Subject: * don't print a "can't stat " message for missing index files (DefaultSourcesSpec) X-Git-Tag: 0.7.24ubuntu1~265 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/a791a45008c6fb5d85061da5f7c90b9ef7d28f81?ds=inline;hp=--cc * don't print a "can't stat " message for missing index files (DefaultSourcesSpec) --- a791a45008c6fb5d85061da5f7c90b9ef7d28f81 diff --git a/apt-pkg/pkgcachegen.cc b/apt-pkg/pkgcachegen.cc index de854bee5..de5ba5ea6 100644 --- a/apt-pkg/pkgcachegen.cc +++ b/apt-pkg/pkgcachegen.cc @@ -571,8 +571,10 @@ static bool CheckValidity(const string &CacheFile, FileIterator Start, if ((*Start)->Exists() == false) { +#if 0 // mvo: we no longer give a message here (Default Sources spec) _error->WarningE("stat",_("Couldn't stat source package list %s"), (*Start)->Describe().c_str()); +#endif continue; }