Forum OpenACS Q&A: Re: Debian stable or testing? apt-get or yum? etc.
27: Re: Debian stable or testing? apt-get or yum? etc. (response to 1)
Posted by Andrew Piskorski on 04/22/04 07:00 PM
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?
28: Re: Debian stable or testing? apt-get or yum? etc. (response to 27)
Posted by C. R. Oldham on 04/22/04 07:38 PM
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.