]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-item.cc
* improve the timeout handling (again)
[apt.git] / apt-pkg / acquire-item.cc
index 14acad85a39e28987d69e572cbf230a3973d9acf..c39d3fddec1601ecde5dcd0fcb017fca81ccc52c 100644 (file)
@@ -401,7 +401,8 @@ void pkgAcqMetaSig::Failed(string Message,pkgAcquire::MethodConfig *Cnf)
    unlink(Final.c_str());
 
    // if we get a timeout if fail
-   if(LookupTag(Message,"FailReason") == "Timeout") {
+   if(LookupTag(Message,"FailReason") == "Timeout" || 
+      LookupTag(Message,"FailReason") == "TmpResolveFailure") {
       Item::Failed(Message,Cnf);
       return;
    }