Forum OpenACS Q&A: Re: Debian stable or testing? apt-get or yum? etc.

Posted by Andrew Piskorski on
Roberto, do anything like CVS tags exist for Debian's dpkg/apt-get system?

I we were to run a Debian unstable desktop, immediately after each "apt-get upgrade" I would want to tag all current packages so that if anything later broke I would have some automatic record of what package versions I was running when, to help me figure out what went wrong. Is there some easy way to do that?

Posted by C. R. Oldham on
You can probably do this with dselect, the older interface to the Debian package system.  I don't remember the switches offhand, but you can get dselect to output a list of all installed packages and their version numbers.  You could run this before and after an 'apt-get upgrade' and use 'diff' to compare the two.