summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-02-21 13:04:57 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2006-02-21 13:04:57 +0000
commita791a45008c6fb5d85061da5f7c90b9ef7d28f81 (patch)
treeb1f7f1faeaf210ecf20e5f5f62239ea14b4e02c9 /apt-pkg
parentbc57e2bb166cc3657e15294c2bed3d1138cd7d97 (diff)
* don't print a "can't stat " message for missing index files (DefaultSourcesSpec)
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/pkgcachegen.cc2
1 files changed, 2 insertions, 0 deletions
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;
}