Upgrading Ubuntu Dapper Drake to Ubuntu Edgy Eft

I decided to upgrade my laptop to Ubuntu Edgy Eft early to see what it is yesterday. At first, I downloaded a desktop disc for off-line upgrade. Sadly, I did the wrong thing. After inserted the cdrom disc, I got a dialog box indicated that we were going to upgrade distribution. However, I preferred to upgrade in text mode so I cancelled it immediately. That was just a problem.

After that point, I tried to upgrade using apt-get as follow.

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

And I just noticed that it was downloading packages from Internet. Anyway, I would like to use local cdrom instead so I cancelled it again. This is a very big problem. After that, I commented out all repositories in /etc/apt/sources.list except only the cdrom. The situation had changed to every upgradable packages disappeared silently. So I have to uncomment all repositories back and downloaded all packages from Internet. Unfortunately, I was at my home with only ADSL 512/256 Kbps. It took me 3 hours and 30 minutes to download, 1 hour to unpack and 1 hour to set up.

I immediately rebooted my laptop and the X failed to start. Oops! After 30 minutes investigation, I found that xserver-xorg had not been installed successfully. I had to solve the problem in console. Fortunately, the wireless adapter worked out of box. I just need to get an IP address via DHCP.

sudo dhclient eth1

Then I forced it to install xserver-xorg again.

sudo apt-get install xserver-xorg

If xorg.conf was broken (same to me), try to run dexconf to regenerate from detected hardware.

sudo dexconf

Everything should run fine after next restart. Personally, Ubuntu Edgy Eft is a big step to the most up-to-date linux distros. The upgrading procedure is the most important for me. Yesterday experiences helped me to know more how to work with apt. Anyway, it would be like a hell for innocent.

Tags: , , ,

Reply