summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/acquire-worker.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/apt-pkg/acquire-worker.cc b/apt-pkg/acquire-worker.cc
index 533089ea5..ba3d52952 100644
--- a/apt-pkg/acquire-worker.cc
+++ b/apt-pkg/acquire-worker.cc
@@ -478,6 +478,8 @@ bool pkgAcquire::Worker::RunMessages()
}
std::vector<Item*> const ItmOwners = Itm->Owners;
+ for (auto const Owner : ItmOwners)
+ Owner->ErrorText.clear();
OwnerQ->ItemDone(Itm);
Itm = NULL;
@@ -625,6 +627,8 @@ bool pkgAcquire::Worker::RunMessages()
Log->Pulse((*O)->GetOwner());
std::vector<Item*> const ItmOwners = Itm->Owners;
+ for (auto const Owner : ItmOwners)
+ Owner->ErrorText.clear();
OwnerQ->ItemDone(Itm);
Itm = nullptr;