소스 검색

* 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 ((*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"),
 	 _error->WarningE("stat",_("Couldn't stat source package list %s"),
 			  (*Start)->Describe().c_str());
 			  (*Start)->Describe().c_str());
+#endif
 	 continue;
 	 continue;
       }
       }