Bug#1059954: apt: "apt changelog" may fail because it tries to fetch an old version
Package: apt
Version: 2.7.7
Severity: normal
I get the following error (after "apt update"):
cventin:~> apt changelog dkms
Err:1 https://metadata.ftp-master.debian.org dkms 3.0.12-3 Changelog
Changelog unavailable for dkms=3.0.12-3 (404 Not Found [IP: 146.75.118.132 443])
E: Failed to fetch https://metadata.ftp-master.debian.org/changelogs/main/d/dkms/dkms_3.0.12-3_changelog Changelog unavailable for dkms=3.0.12-3 (404 Not Found [IP: 146.75.118.132 443])
"apt changelog" should take the latest version to avoid a failure,
e.g.
https://metadata.ftp-master.debian.org/changelogs/main/d/dkms/dkms_3.0.12-4_changelog
I already got such an error for another package 2 days ago
(bug 1059822), so this seems to be rather common.
-- Package-specific info:
-- (no /etc/apt/preferences present) --
-- (/etc/apt/preferences.d/no-adobe-flash-plugin present, but not submitted) --
-- (/etc/apt/preferences.d/no-pipewire present, but not submitted) --
-- (/etc/apt/sources.list present, but not submitted) --
-- (/etc/apt/sources.list.d/local-i386.list present, but not submitted) --
-- System Information:
Debian Release: trixie/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.5.0-5-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages apt depends on:
ii adduser 3.137
ii base-passwd 3.6.3
ii debian-archive-keyring 2023.4
ii gpgv 2.2.40-1.1
ii libapt-pkg6.0 2.7.7
ii libc6 2.37-13
ii libgcc-s1 13.2.0-9
ii libgnutls30 3.8.2-1
ii libseccomp2 2.5.4-2+b1
ii libstdc++6 13.2.0-9
ii libsystemd0 254.5-1
Versions of packages apt recommends:
ii ca-certificates 20230311
Versions of packages apt suggests:
ii apt-doc 2.7.7
ii aptitude 0.8.13-5+b1
ii dpkg-dev 1.22.2
ii gnupg 2.2.40-1.1
ii powermgmt-base 1.37
-- no debconf information
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Reply to: