Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Ok, I will get right to the point. I was upgrading ubuntu to 12.04 from 11.10 (x64) and right in the middle of the package installation I had a freeze (not ubuntu's fault) forcing me to do a hard reset of my pc. Now the ubuntu installation is completely broken I can only get access via recovery mode. I already tried "apt-get update && apt-get upgrade" and the option to fix broken packages. Nothing changed.

So I'm wondering if its possible to fix the broken packages, or maybe to restore before the upgrade?

Thank you in advance.

share|improve this question
Backup the data before proceeding – Tachyons Apr 14 '12 at 1:52
While in recovery mode did you run a fsck check on your file system to make sure it was OK? (When this happened to me fsck found something to fix.) – irrational John Apr 14 '12 at 2:20
Thanks for the advise but I haven't any important data to backup, so I can safely try anything. I think I manage to restore the system partially using "apt-get dist-upgrade" Im not sure if this was ok, the only problem now is that I can only boot in tty. I will try the fsck and see what happens. – martin Apr 14 '12 at 2:37
We need more information. What error message are you getting with apt-get install -f? – bodhi.zazen Apr 14 '12 at 3:18
Ok, I ran fsck and everything seems ok. I reinstalled xserver and the propietary radeon drivers and the GUI is back. However, the integrity of the system seems heavily damaged, it keeps showing me messages about "errors in the system" to report, applications that can't be launched and the left and upper menus of the desktop disappearing. So, in this case what should be the optimal solution? reinstall ubuntu from scratch? – martin Apr 14 '12 at 3:32
up vote 4 down vote accepted

In the end the only solution I could find was to do a clean ubuntu 11.10 install and then upgrade to 12.04 via terminal in tty1 using the command sudo do-release-upgrade –d to avoid possible graphic issues as the first time. Anyway, thank you guys for your time.

You can also try a sudo apt-get -f dist-upgrade

share|improve this answer
I had a power out and a dud laptop battery during update. I was able to boot into recovery, ran fsck then got back to a login screen, couldnt log into the system. ctrl + alt + f2 and rant apt update which failed, but got a good pointer, ran dpkg then back to apt, its currently upgrading from the the terminal, i can live with that if it finishes. – Chris Feb 14 at 23:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.