[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#993291: apt upgrade crashes with "Assertion `I->Items->Owner->Status != pkgAcquire::Item::StatIdle' failed" when not all mirrors are reachable



On Mon, Sep 06, 2021 at 09:48:52AM +0200, Sven Bartscher wrote:
> On Sat, 4 Sep 2021 17:31:34 +0200 Marc Haber
> <mh+debian-packages@zugschlus.de> wrote:
> > On Wed, Sep 01, 2021 at 10:44:03AM +0200, Marc Haber wrote:
> > > I can confirm the same issue here:
> > 
> > Looks like a transient issue here, today's apt update just went through.
> > I cannot reproduce the issue any more.
> 
> 
> For me, the problem came back. As I mentioned earlier, some upgrades went
> through smoothly for me. But a few days ago, upgrades started failing again.
> But I have absolutely no clue, what is causing this difference in behavior.
> 
> My mirror in question (mirror.home.weltraumschlangen.de) is also an
> apt-cacher-ng with split DNS. If you're in the correct network segment, the
> DNS returns a reachable IP address, otherwise it just returns NXDOMAIN.

This only happens on retries due to network failures, so in apt 2.2,
the download would have failed anyway. It happens because APT tried
to retry an item that failed before and that it then delayed the retry
off, and _somehow_ the retry did not succeed.

2.3.9 lessens the severity of the issue, by turning the assert into
a warning, but it might lead to the process hanging. It should give
us the ability to see what happens, hopefully.

-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en

Attachment: signature.asc
Description: PGP signature


Reply to: