Answer the question
In order to leave comments, you need to log in
Ubuntu/Debian - How can I find out the versions of packages that were installed on the system before the last update?
Updated packages on the server: apt-get upgrade
The following packages will be upgraded:
List of upgraded packages...
69 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
OS: Debian GNU/Linux 6.0.9 (squeeze)
Questions:
Is it possible to find out the previous versions of the packages that were in the system before the last update?
Is it possible to rollback to previous versions of packages?
Answer the question
In order to leave comments, you need to log in
Update history:
/var/log/apt/history.log
You can roll back if the previous version remains in the repository (this is not always the case)
How automatically - I don’t know.
The rollback of the desired version is done
But it's better, probably, by hand through aptitude to resolve all dependencies.
I recommend that you install etckeeper. This application commits changes in the /etc directory through the version control system. I have git selected.
In debian did not check his work. In fedora, when installing via the yum package manager, etckeeper is launched, which makes commits, then in the git log by commits, you can see what was removed / installed and when. An example of a fragment of such a log:
pastebin.com/ZZHN5PCM
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question