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

Bug#1059954: apt: "apt changelog" may fail because it tries to fetch an old version



Control: severity -1 wishlist

On Thu, Jan 04, 2024 at 03:26:44AM +0100, Vincent Lefevre wrote:
> 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.

Adjusting the severity based on the complexity on the request. This
requires calculating multiple changepaths and URLs, setting up fallback
URLs etc, such that we first try the installed version - as we must
do - and then try the candidate.

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


Reply to: