Bug#922021: Bug still present in Apt 1.4.10

2024-01-03 Thread David Kalnischkies
On Mon, Nov 06, 2023 at 04:59:56AM +0100, Christoph Franzen wrote:
> I'm observing the same on Bullseye 11.6.
[…]
> Apt is version 1.4.10 from Stretch.

You are giving mixed signals here, you are either observing this on
bullseye which is Debian 11 (current oldstable) with apt ~2.2.4 or
you are indeed on stretch which is Debian 9.

"no complete dist-upgrade" is not the same as hanging somewhere between
(at least) three major Debian releases… fully upgrade to one release,
everything else is a security as well as support nightmare. It isn't
only that packages from 11 aren't tested on 9, they are not even
intended to work on them as many maintainers intentionally "break" them
(like removing obsolete version requirements).


> If I move those problematic symlinks out of the way, they are
> re-created.

I have a system (fully upgraded, I might note) from between squeeze and
wheezy to trixie (it follows unstable) which doesn't have your problem.

I have set up an oldoldstable chroot (that is Debian 10 aka buster) and
added your sources to no ill effect.

I even went as far as creating a bad symlink (ln -s
/var/lib/apt/lists/archive.debian.org_debian_dists_jessie_main_binary-amd64_Packages
archive.debian.org_debian_dists_jessie_main_binary-amd64_Packages.xz)
before a first and before a second run of apt update. Both behave the
same, no ill effect and the bad symlink is even removed from the partial
directory…

I then set up a stretch (Debian 9) chroot which I was somewhat surprised
that mmdebstrap managed to do that without issue and tried with 1.4.10,
the version you claimed you were using, not seeing your issue either.


So, you will have to provide more details upon how whatever you are
seeing is reproducible. As a start, it might be a good idea to show us
the entire output of:

find /var/lib/apt/lists
cat /etc/apt/sources.list /etc/apt/sources.list.d/*
apt update
find /var/lib/apt/lists

And not cut that down to what you believe to be important.


Best regards

David Kalnischkies


signature.asc
Description: PGP signature


Bug#922021: Bug still present in Apt 1.4.10

2023-11-05 Thread Christoph Franzen
Hello,

I'm observing the same on Bullseye 11.6. This is an old i386
installation upgraded all the way from Etch 4.0 r3, but no complete
dist-upgrade.

Apt is version 1.4.10 from Stretch.

If I move those problematic symlinks out of the way, they are
re-created.

The bug breaks other things relying on "apt update" exiting without any
error (i.e. "pihole -up" here).

Christoph Franzen


pgpCZXqZ1YMtk.pgp
Description: Digitale Signatur von OpenPGP