]> git.saurik.com Git - apt.git/blobdiff - apt-private/acqprogress.cc
condense parallel requests with the same hashes to one
[apt.git] / apt-private / acqprogress.cc
index dc92e3b2a139985bd1e2932e33973a1b2de26f5c..f6c3d1204ac8feab6441b0634ab0e7bbdbc084ff 100644 (file)
@@ -116,14 +116,10 @@ void AcqTextStatus::Fail(pkgAcquire::ItemDesc &Itm)
    if (Quiet > 1)
       return;
 
-   // Ignore certain kinds of transient failures (bad code)
-   if (Itm.Owner->Status == pkgAcquire::Item::StatIdle)
-      return;
-
    AssignItemID(Itm);
    clearLastLine();
 
-   if (Itm.Owner->Status == pkgAcquire::Item::StatDone)
+   if (Itm.Owner->Status == pkgAcquire::Item::StatDone || Itm.Owner->Status == pkgAcquire::Item::StatIdle)
    {
       // TRANSLATOR: Very short word to be displayed for files in 'apt-get update'
       // which failed to download, but the error is ignored (compare "Err:")