When trying to view changelogs of apt packages,
aptitude often gives the error
Cannot display changelog: Origin of <package> is unknown (maybe not an official Debian package ...). The word "Debian" here is a bit misleading, because so far, it seems to me that only the packages which come from sources listed in the main file
/etc/apt/sources.list can have "changelogs". In my case, those are Ubuntu packages, which, although derived from corresponding Debian packages, come from
http://archive.ubuntu.com/ubuntu/ and often have
ubuntu in the version of the package, suggesting that Ubuntu maintainers rebuild the distributed binaries.
man aptitude mentions changelogs in two places:
in description of
Downloads and displays the Debian changelog for each of the given source or binary packages.
In description of environment variable
If this environment variable is set, aptitude will use it to display changelogs when “aptitude changelog” is invoked. If not set, it defaults to
Is there any way to make
aptitude show changelogs for non-Debian packages? Is there some magic line that could be added to
/etc/apt/sources.list.d/* files to make it do so?
Do non-"Debian" package providers even have a way to provide changelogs to users?
P.S. Same thing applies to
apt changelog, which fails with error message:
E: Failed to fetch changelog:/<package>.changelog Changelog unavailable for <package>-<version>
apt changelog, and
apt-listchanges all use the same files for their output.