Trouble while Upgrading to 12.04

Asked by Aiden Sanders

I just upgraded to 12.04 in this manner:
1. First I got a message via update manager that the 12.04 upgrade was available. I followed the prompts, downloaded and began the upgrade.
2. The upgrade went through all the steps but when it Restarted the system, it did not come back all the way. It hung when displaying the desktop. My background was there and icons for my desktop items, but there were no menu bars from which to open programs, check for updates, etc.
3. I tried hard rebooting the system several times but it always ended up the same way with no ability to control the system.
4. I went into "recovery mode", which brought me to the command line. I don't know any useful commands and now I'm stuck.

What should I do?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu unity Edit question
Assignee:
No assignee Edit question
Solved by:
Barry Drake
Solved:
Last query:
Last reply:
Revision history for this message
Best Barry Drake (b-drake) said :
#1

Assuming you have taken the advice given and have a current backup of everything, the quick and easy way is to download the DVD and do a clean install. There is an upgrade option on the DVD but it is almost certain to fail.

If you don't have a backup, you might get CTRL+ALT+t to open a terminal. You can then do gksudo nautilus and open your file manager in order to copy your home directory to somewhere.

I can give some tweaks that might help once you have a full data backup. Please get back to me if you need them. I don't recommend this.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#2

In recovery mode please type:

sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

and then to reboot

sudo reboot

Then please choose ubuntu-2d before login by click on the circle icon near password input field

Revision history for this message
Aiden Sanders (aidensarahsanders) said :
#3

Thanks Barry Drake, that solved my question.