Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Before acutally doing

#apt-get upgrade

on a Debian server, I'd like to get an overview of the package names about to be updated and what the changes are in those packages.

Recently my root account had mail with such a list. It contained all the packages to be upgraded and a changelog for each package. Now I don't know how I got that mail en thus I don't know how to get it again.

The closest I can get so far is:

apt-get -s upgrade

Thanks a lot

share|improve this question

I would first do:

apt-get update

and then run:

apt-get upgrade

That should then give you the latest changes and ask you if you will like to perform the changes or not.

share|improve this answer
Yes that's correct but not (entirely) what I need. I want a full text with explanation why a new package is being installed, what are the changes, what's the priority, ... . – bucovaina78 Jul 30 '13 at 20:45

The easiest way is to use aptitude. You can browse through available security updates and upgradable packages and press C to see the changelog (also available in the menu by pressing Ctrl + t). It is smart enough to show you the changelog for the latest version. You can do the same with apt-get changelog <package-name>, but it doesn't seem to work so well, at least on my system. It's failing for a package (puppet) that works through aptitude, and I don't know if it's possible to specify a list of packages (other than by generating and parsing it).

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .