|
@@ -1547,7 +1547,10 @@ void pkgAcqMetaBase::AbortTransaction()
|
|
|
std::clog << " Cancel: " << (*I)->DestFile << std::endl;
|
|
std::clog << " Cancel: " << (*I)->DestFile << std::endl;
|
|
|
// the transaction will abort, so stop anything that is idle
|
|
// the transaction will abort, so stop anything that is idle
|
|
|
if ((*I)->Status == pkgAcquire::Item::StatIdle)
|
|
if ((*I)->Status == pkgAcquire::Item::StatIdle)
|
|
|
|
|
+ {
|
|
|
(*I)->Status = pkgAcquire::Item::StatDone;
|
|
(*I)->Status = pkgAcquire::Item::StatDone;
|
|
|
|
|
+ (*I)->Dequeue();
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
Transaction.clear();
|
|
Transaction.clear();
|
|
|
}
|
|
}
|