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

I'm about to make some system changes and I'd like to have a record of my current happy system state. Is there a convenient way to create a record of this? I'd like to keep track of info like

  • currently installed packages and their versions
  • which packages are pinned at what version
  • which source (as in /etc/apt/sources.list) they were installed from
  • whether they were installed directly or automatically installed as a dependency of a different package
  • "unknown unknowns": ie stuff that I don't know that I should be keeping track of but which may be important when trying to figure out why something doesn't work

In short, I'd like to keep as much of the aptitude database as possible. What's the best way to do this? It would be nice if the resulting records were easily readable, though this is not really essential. It would be extra nice if it were readily versionable through an SCM tool like git.

There is a superuser question that partially answers this, but it only provides the list of currently installed packages.

share|improve this question
cross-posted on as… – intuited May 1 '10 at 21:46

You must log in to answer this question.

Browse other questions tagged .