浏览代码

* don't print a "can't stat " message for missing index files (DefaultSourcesSpec)

Michael Vogt 20 年之前
父节点
当前提交
a791a45008
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      apt-pkg/pkgcachegen.cc

+ 2 - 0
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;
       }