LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-13-2013, 06:06 AM   #1
centurian
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 http://ubuntuforums.org/showthread.p...2#post12507402 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:

Code:
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
update-grub
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......

Code:
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:

Code:
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?

Code:
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:
 resolvconf
 ubuntu-minimal
what about?

Code:
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:
  libxml-libxml-perl
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:
 libxml-libxml-perl
E: Sub-process /usr/bin/dpkg returned an error code (1)
or even:

Code:
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:
Code:
"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, 09:31 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,222

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
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.

-->https://help.ubuntu.com/community/UpgradeNotes

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, 07:11 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,533

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
You might give the link below a read, although it is probably too late for it to help now:

https://help.ubuntu.com/community/PreciseUpgrades
 
Old 02-14-2013, 03:27 AM   #4
centurian
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:
Quote:
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: http://ubuntuforums.org/showthread.php?t=2072862

Last edited by centurian; 02-14-2013 at 04:02 AM. Reason: a bug in release?
 
Old 02-14-2013, 08:16 AM   #5
centurian
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:
http://askubuntu.com/questions/77993...ated-in-p?rq=1
I managed to restore my home partition with my firefox bookmarks.
 
  


Reply

Tags
ubuntu 12.04, upgrade



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 06:50 PM
[SOLVED] SSL Sites don't load after Ubuntu Upgrade - 9.10 to 10.4 isthisyournacho Linux - Server 2 08-15-2011 08:20 PM
xmaple won't load after upgrade to ubuntu 11.04 X_OpenFont ivainsencher Ubuntu 0 06-01-2011 07: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 03:20 PM
x-server wont load after 8.10 upgrade. Unr3a164 Ubuntu 6 04-17-2009 09:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:09 PM.

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