Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 02-13-2013, 07:06 AM   #1
LQ Newbie
Registered: Oct 2009
Distribution: Ubuntu
Posts: 12

Rep: Reputation: 0
Can't load ubuntu after upgrade from 10.04 to 12.04

Hi to all,

I made the same question at but it seems there is no answer.

Now, to the problem itself, during the upgrade I noticed an error installing libxml-libxml-perl and when finished I noticed I couldn't boot anything so, I decided to repair grub.

My reports as I tried to fix grub with live cd following this (2nd option) are: this and this.

My system was still non bootable so, I decided to manually re-install grub following this:

sudo mount /dev/sda5 /mnt
sudo mount --bind /dev /mnt/dev && sudo mount --bind /dev/pts /mnt/dev/pts && sudo mount --bind /proc /mnt/proc && sudo mount --bind /sys /mnt/sys
sudo chroot /mnt
grub-install /dev/sda
grub-install --recheck /dev/sda
last command fixed boot menu where I can start windows but not Linux!

I decided to fix my suspicious errors during installation so I continued typing as a chroot user......

dpkg --configure --pending
took 20 minutes to download missing confs!!

I insisted on having a grub problem so I decided to remove grub and re-install it following this (Purging & Reinstalling GRUB 2)BUT:

root@ubuntu:/# apt-get purge grub grub-pc grub-common
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Package grub is not installed, so not removed
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 grub-gfxpayload-lists : Depends: grub-pc (>= 1.99~20101210-1ubuntu2) but it is not going to be installed
 grub-pc-bin : Depends: grub-common (= 1.99-21ubuntu3) but it is not going to be installed
 grub2-common : Depends: grub-common (= 1.99-21ubuntu3) but it is not going to be installed
 libxml-libxml-perl : Depends: perlapi-5.10.0 but it is not installable
                      Depends: libxml-sax-perl but it is not going to be installed
 ubuntu-minimal : Depends: resolvconf
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
aaaa.... that libxml-libxml-perl problem!!!
Shall we move on?

root@ubuntu:/# dpkg --configure --pending
Setting up resolvconf (1.63ubuntu11) ...
mkdir: cannot create directory `/run': Too many levels of symbolic links
dpkg: error processing resolvconf (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of ubuntu-minimal:
 ubuntu-minimal depends on resolvconf; however:
  Package resolvconf is not configured yet.
dpkg: error processing ubuntu-minimal (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
what about?

root@ubuntu:/# apt-get -f install
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 1,376 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 310697 files and directories currently installed.)
Removing libxml-libxml-perl ...
/var/lib/dpkg/info/libxml-libxml-perl.prerm: 11: /var/lib/dpkg/info/libxml-libxml-perl.prerm: update-perl-sax-parsers: not found
dpkg: error processing libxml-libxml-perl (--remove):
 subprocess installed pre-removal script returned error exit status 127
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
or even:

root@ubuntu:/# apt-get upgrade -f
root@ubuntu:/# apt-get dist-upgrade -f
...the same!

When I boot and enter Ubuntu there is a message saying:
"could not log bootup: Address already in use. An error occurred while mounting /run"
My system is not working.
Should I go for a clean re-install and then can I import my home partition and especially my firefox bookmarks as they contain valuable data?

Thanks for any help.
Old 02-13-2013, 10:31 AM   #2
LQ Guru
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,118

Rep: Reputation: 494Reputation: 494Reputation: 494Reputation: 494Reputation: 494
Upgrading only works for one level up. It will fail, ( as you now know ) if you jump a level. See this document, it covers what you can do, and should not do.


To get a running system, you will have to format the root partition, and do a clean install.

To recover things like your bookmarks, a lot depends how you had the system partitioned. If you had one partition, and everything in it, you will have to boot the system with a live CD, and copy off the files you need. You need to format the root partition to get rid of the mess you have made.

If /home is on a separate partition ( this is what I recommend any user do ) then recovery of user files is easier. Do not format /home. Your files will still be there. When you bring up firefox on the new install, you should be able to import the old bookmarks.

If you installed the system with wubi, its probably all lost.
Old 02-13-2013, 08:11 PM   #3
LQ Guru
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 6,984

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
You might give the link below a read, although it is probably too late for it to help now:
Old 02-14-2013, 04:27 AM   #4
LQ Newbie
Registered: Oct 2009
Distribution: Ubuntu
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks for all answers,

I started to install ubuntu 12.10 but there is a message:
The system is running in low-graphics mode
didn't have such problem with live cd from 12.04!

It seems the 12.10 release made several changes to graphics drivers in contrast with the more stable 12.04:

Last edited by centurian; 02-14-2013 at 05:02 AM. Reason: a bug in release?
Old 02-14-2013, 09:16 AM   #5
LQ Newbie
Registered: Oct 2009
Distribution: Ubuntu
Posts: 12

Original Poster
Rep: Reputation: 0
Smile Installed 12.04 & restored home

Thanks to all,

I installed 12.04 and following this:
I managed to restore my home partition with my firefox bookmarks.


ubuntu 12.04, upgrade

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Hereā??s Two Method That is Helping Ubuntu User to Upgrade Ubuntu 11.10/10.04 to Ubuntu 12.04 LT LXer Syndicated Linux News 0 05-12-2012 07:50 PM
[SOLVED] SSL Sites don't load after Ubuntu Upgrade - 9.10 to 10.4 isthisyournacho Linux - Server 2 08-15-2011 09:20 PM
xmaple won't load after upgrade to ubuntu 11.04 X_OpenFont ivainsencher Ubuntu 0 06-01-2011 08:41 AM
LXer: Ubuntu live CD will let you upgrade to newer Ubuntu versions Ubuntu 11.04 Development LXer Syndicated Linux News 0 03-01-2011 04:20 PM
x-server wont load after 8.10 upgrade. Unr3a164 Ubuntu 6 04-17-2009 10:28 AM

All times are GMT -5. The time now is 11:05 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration