I'm currently have both Lenny and Squeeze installations.
I want to know how to:
- list of all packages which are upgradable
- know their current and future package numbers
- have the changes (ChangeLog) for all of them between current/future version numbers
- without actually upgrading anything
As a plus, I'd get this information without super user rights.
When I do
aptitude update && aptitude upgrade I only see the packages; when I've installed
apt-listchanges I only see them once I commited to installed them (yes, I know I can abort it).
Maybe I do not yet want to download all of the packages (could be a lot of them), which means I'd have to fetch the ChangeLog from somewhere else (but this is not a requirement; downloading them would fit too, but would require super user rights).
A deleted answers mentioned to take a look at
apt-listchanges. Despite sounding redundant given my question, it's true that I didn't realize I can use
apt-listchanges alone. The man page mentions the option
--apt but I fail to understand which pipeline I need to construct (and if it meets my goals).
I figured that with
apt-show-versions I get a nice output; it's just that the ChangeLog is missing:
$ apt-show-versions -u apache2/squeeze upgradeable from 2.2.16-6+squeeze1 to 2.2.16-6+squeeze2 apache2-mpm-worker/squeeze upgradeable from 2.2.16-6+squeeze1 to 2.2.16-6+squeeze2 apache2-utils/squeeze upgradeable from 2.2.16-6+squeeze1 to 2.2.16-6+squeeze2 apache2.2-bin/squeeze upgradeable from 2.2.16-6+squeeze1 to 2.2.16-6+squeeze2 apache2.2-common/squeeze upgradeable from 2.2.16-6+squeeze1 to 2.2.16-6+squeeze2