apt changelog for to-be installed packages [duplicate]

GUI update-manager is able to show the "changelog" of packages to-be installed (not downloaded yet).

I also found out how to provide the .changelog files in the right place for update-manager to show them, and now I'm happy since I'm able to tell my clients that they can see changelogs of my custom packages directly from their gui.

Unfortunately I'm not able to find any command line tool to do the same thing and that would be more useful on servers.

From what I saw it seems that this convention (putting .changelog files directly alongside the .deb files in the apt repo) is a ubuntu specific extension.

There are some debian resources (the reprepro man page for example) which point on a different way to store changelogs online, http://packages.debian.org/changelogs

Does anybody know if there already exists a tool like apt-cache to show the changelogs from packages which are not yet installed (nor downloaded) ?


There is also the apt changelog command. It, and probably aptitude as well, pull from http://changelogs.ubuntu.com, which may not have all third party changelog files, if they didn't add them to it.

$ apt changelog  unity
Get:1 Changelog for unity (http://changelogs.ubuntu.com/changelogs/pool/main/u/\
unity/unity_7.0.0daily13.06.19~13.04-0ubuntu1/changelog) [251 kB]
Fetched 251 kB in 0s (350 kB/s)
unity (7.0.0daily13.06.19~13.04-0ubuntu1) raring; urgency=low

  [ William Hua ]
  * Revert 3196 to fix menu highlighting issues with LibreOffice.
    Revision 3196 prevents LibreOffices menu items from highangelog
hlighting.
    See Launchpad bug #1153350. (LP: #1153350)

  [ Chris Townsend ]
  * Fixes issue where minimizing a full screen window would not draw the
t of
:
    lp:unity revno. 3320. (LP: #1064155)

  [ Marco Trevisan (Treviño) ]
  * SwitcherController: use proper long long types for

Not sure if I understood what you really need, but

aptitude changelog package-name

will show the changelog for any package in the Ubuntu repos. It doesn't work in the PPAs though.