PDA

View Full Version : [ubuntu] Power cut during 12.04 upgrade



aschlosberg
April 30th, 2012, 05:14 AM
I was upgrading to 12.04 when my power was cut. All new packages had been downloaded and about 50% had been installed.

I restarted and everything seems to be running OK. I ran the following to try and complete the upgrade:



dpkg --configure -a (apparently did nothing)
apt-get dist-upgrade (did nothing)
apt-get update (ran as expected for precise)
apt-get upgrade (installed 1 package only)
apt-get autoremove (removed a number of libraries)


I'm concerned that the upgrade hasn't completed properly. Is there anything that I should check / do?

josephmills
April 30th, 2012, 05:18 AM
yeah you can make sure let us see some things


cat /etc/apt/sources.list
and

dpkg-query -l
and

apt-cache policy dump linux-image*


paste here

aschlosberg
April 30th, 2012, 07:35 AM
Thanks mate... attached

josephmills
April 30th, 2012, 08:19 AM
you are looking real good but run

sudo do-release-upgrade
just in-case

aschlosberg
April 30th, 2012, 10:26 AM
Thanks, that's what I thought when I looked at them.

"No new release found"

What would have happened to the second half of the packages that hadn't installed yet?