summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2025-10-04 14:28:01 +0200
committerJulian Andres Klode <jak@debian.org>2025-10-04 14:29:17 +0200
commit02ee82958b5caef9efb49992870d149907869893 (patch)
treefbf138f940115aa519d010b8987b4f5dafb326f8
parentbe54b990682a16e0add08c3468e5114ec4e4f844 (diff)
Move "Tried to start delayed item […], but failed" to debugging
We don't quite know why a stuck queue cannot get unstuck here, and it's possible that this is causing the queue to stall, but shrug. Closes: #1111554
-rw-r--r--apt-pkg/acquire.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/apt-pkg/acquire.cc b/apt-pkg/acquire.cc
index d2d32e52e..17caa42b6 100644
--- a/apt-pkg/acquire.cc
+++ b/apt-pkg/acquire.cc
@@ -741,10 +741,8 @@ pkgAcquire::RunResult pkgAcquire::Run(int PulseInterval)
if (not I->Cycle()) // Queue got stuck, unstuck it.
goto stop;
fetchAfter = now; // need to time out in select() below
- if (I->Items->Owner->Status == pkgAcquire::Item::StatIdle)
- {
- _error->Warning("Tried to start delayed item %s, but failed", I->Items->Description.c_str());
- }
+ if (Debug && I->Items->Owner->Status == pkgAcquire::Item::StatIdle)
+ clog << "Tried to start delayed item but failed:" << I->Items->Description.c_str() << std::endl;
}
else if (f < fetchAfter || fetchAfter == time_point{})
{