]> git.saurik.com Git - apt.git/commitdiff
* don't print a "can't stat " message for missing index files (DefaultSourcesSpec)
authorMichael Vogt <michael.vogt@ubuntu.com>
Tue, 21 Feb 2006 13:04:57 +0000 (13:04 +0000)
committerMichael Vogt <michael.vogt@ubuntu.com>
Tue, 21 Feb 2006 13:04:57 +0000 (13:04 +0000)
apt-pkg/pkgcachegen.cc

index de854bee53ea9b4b5ef3eba100c57b61484aba26..de5ba5ea60326916a6e287e75dd8dff453aa6389 100644 (file)
@@ -571,8 +571,10 @@ static bool CheckValidity(const string &CacheFile, FileIterator Start,
     
       if ((*Start)->Exists() == false)
       {
     
       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());
         _error->WarningE("stat",_("Couldn't stat source package list %s"),
                          (*Start)->Describe().c_str());
+#endif
         continue;
       }
 
         continue;
       }