problems with 10.04 upgrade to 12.04
NoOp
glgxg at sbcglobal.net
Thu Sep 6 02:11:26 UTC 2012
On 09/04/2012 02:50 AM, Dave Howorth wrote:
> I wrote:
>> I've opened a new one:
>>
>> <https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1045285>
>
> I'm new to the Ubuntu bug process, so I don't know what to expect. I
> created the bug and received a rapid request for all the logs. So I
> uploaded them and changed the status back to New. But now I've had no
> acknowledgment or anything and don't know whether that's normal, or I
> missed some procedural step or what. The machine that's down hosts a web
> site that my boss uses, so I'm a bit fretful :(
So you followed all of the suggestions in the bug report that I pointed
you to:
https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/990740
[upgrading from lucid to precise fails]
including:
<quote>
If you didn't use update-manager (or do-release-upgrade from
update-manager-core) to do your upgrade please do so next time instead
of trying to upgrade with only apt. You'll get much better results.
How to get past this:
# apt-get install -o APT::Immediate-Configure=false -f apt python-minimal
# apt-get -f install
# apt-get dist-upgrade
</quote>
right?
BTW: I recommend that you do that from the recovery boot as root with
networking. Otherwise, just make sure that you either use 'sudo' instead.
And what other suggestions in that bug report did you try & what
happened after you tried them?
Note: I see that you stated that this is a server for your boss & it
seems be working. *Don't* attempt any of the following without first
backing up the server. Provide the output of the following:
$ uname -a
Also, before attempting the upgrade you followed the release notes:
<https://wiki.ubuntu.com/PrecisePangolin/ReleaseNotes/UbuntuDesktop#Upgrading_from_Ubuntu_10.04_LTS_to_Ubuntu_12.04_LTS>
and
<https://help.ubuntu.com/community/PreciseUpgrades>
1. Describe as best you can remember the steps that you performed to do
the upgrade.
2. Also, given that you are running a server with a graphical desktop
(lxde), let us know if *prior* to the upgrade you did any of the
following (note some are not mentioned in the release notes):
a. sudo apt-get install update-manager-core
b. sudo apt-get update && sudo apt-get upgrade
c. sudo apt-get install ubuntu-desktop lubuntu-desktop
d. sudo apt-get install -f
e. sudo dpkg --configure -a
Note: lxdm is nothing more than the lxde desktop manager; same as the
gdm or lightdm login managers.
Here is what I recommend (backup & the standard 'if you break it you pay
for it' applies):
- create a root account:
<https://help.ubuntu.com/community/RootSudo#root_account>
(don't forget to remove it when finished).
- reboot & login with recovery mode
- enable network (can't recall the exact menu(s) as I need to reinstall
10.04 to detail but I'm pretty sure it's 'network') - select 'yes'
regarding a remount etc at the prompt.
- select 'root' & give your newly added root password
- Run through these commands in the exact order provided:
a. apt-get install update-manager-core
b. apt-get install -o APT::Immediate-Configure=false -f apt python-minimal
c. apt-get update && apt-get upgrade
d. apt-get install -- reinstall ubuntu-desktop lubuntu-desktop
Note: the 'lubuntu-desktop' is because you installed ldxe - you can
leave it off if you wish, but ensure that you 'install --reinstall
ubuntu-desktop'.)
e. apt-get -f install
f. dpkg --configure -a
Note: you many have to repeat these a few times to get things to work &
settle down. If they still continue to fail, go to 'f' & then 'e'.
f. apt-get update && apt-get upgrade
Note: up arrow a few times will get you back to this command
f. exit
This will return you to the recovery menu & the natural instinct is to
click 'resume'. That works, but returns you to a low graphics status at
the desktop gm; click it if you wish, but then reboot to get back to
actual desktop graphic settings.
Reboot & once back on the desktop (lxde?) if the above completed without
further errors, go back to the upgrade links & bring up the update
manager & try the upgrade again. If that still fails to work, use
http://pastebin.ubuntu.com/ to paste whatever ouput you can.
More information about the ubuntu-users
mailing list