PDA

View Full Version : [ubuntu] Upgrade Log



agentsmith.android
April 18th, 2011, 07:24 PM
I am running ubuntu 10.10 in a vm. I recently did new updates and wired network access went off. I need to figure out what made network go off. So, I need to see the log of the updates which took place. Is there any way to do so? Can I revert to previous state?
(I am running in VM and I don't have grub.So, can't boot from previous state as can be done natively)

garvinrick4
April 18th, 2011, 07:37 PM
gedit /var/log/apt/history.log

agentsmith.android
April 18th, 2011, 07:59 PM
thnx. :)
Do u know if we can revert the changes?

garvinrick4
April 18th, 2011, 08:41 PM
thnx. :)
Do u know if we can revert the changes? Never used VM do not want to answer what I am not positive about.

drs305
April 18th, 2011, 08:56 PM
Here is a command that can show you recent activity. Keep the 'space' in the command so "installed" shows but "half-installed" doesn't.

grep ' installed' /var/log/dpkg.log

I sometimes clone my VMs before doing a major update. You might be able to retrieve a previous version of a package from the Launchpad site and force install it, but there isn't an automated 'reversion' option in Ubuntu.