#1100397 apt: Changelog unavailable for package (when not latest version)

Package:
apt
Source:
apt
Description:
commandline package manager
Submitter:
sidt
Date:
2025-03-13 14:09:02 UTC
Severity:
normal
#1100397#5
Date:
2025-03-13 11:10:09 UTC
From:
To:
When installed package is not latest version and index is out of date, "apt
changelog <pkg>" fails as below:

Considering "apt" as package (installed=2.9.32, update=2.9.33)

$ apt changelog apt
Err:1 https://metadata.ftp-master.debian.org apt 2.9.32 Changelog
  Changelog unavailable for apt=2.9.32 (404  Not Found [IP: X.X.X.X 443])
Error: Failed to fetch https://metadata.ftp-
master.debian.org/changelogs/main/a/apt/apt_2.9.32_changelog  Changelog
unavailable for apt=2.9.32 (404  Not Found [IP: X.X.X.X 443])

After "apt update", it works showing 2.9.33, 2.9.32 etc. in "apt changelog".

Expected behaviour:

It should not throw error.

#1100397#10
Date:
2025-03-13 12:21:07 UTC
From:
To:
Control: forcemerge 1059954 -1

This is already being tracked in bug 1059954, as you'd have found out
if you had looked for existing bugs mentioning "changelog" in the
subject.

#1100397#21
Date:
2025-03-13 14:07:59 UTC
From:
To:
Sorry, I did search for "changelog" in the bug list, but somehow thought
existing bugs were irrelevant based on bug titles.

debbugs is a nightmare (at least for me) with no issue tagging etc as in
GitLab, GitHub, and I always lose hope and give up sooner than later.