On 18/03/2025 14:11, Loris Bennett wrote:
Max Nikulin writes:
apt policy
[...]
My sources.list was correct, but 'apt update/upgrade' failed to install
anything, so I assume Andrew is correct in pointing the finger at some
sort of caching issue which removing /var/lib/apt/lists/* resolved.
I consider removing files as a last resort measure. I could not recall
if I have ever used it. Last years the "apt update" and "apt upgrade"
pair works perfectly for me (besides bullseye to bookworm and similar
upgrades when I used additional steps from release notes).
There was some issue with "apt-get --allow-releaseinfo-change", but I
just have tried "apt-get update" and "apt-get upgrade" and it completed
successfully (it was a LXC container with a minimal set of packages
though). The following message was not an obstacle
N: Repository 'http://deb.debian.org/debian bookworm InRelease' changed its
'Version' value from '12.9' to '12.10'
See also "--with-new-pkgs" and dist-upgrade in apt-get(8). It is enabled
by default (unlike package removal that is for full-upgrade) in the case
of apt(8).