Upgrade to Feisty Fawn from Edgy
Ubuntu 7.04, Feisty Fawn, has just been released, so why not upgrade your machine.
To replace all your repositories, at the terminal:
sudo sed -e 's/edgy/feisty/g' -i /etc/apt/sources.list
Note: You can likely also upgrade Dapper to Feisty beta. I have not tried this, directly. I have upgrade from Dapper to Edgy using this method before. So you could upgrade to Edgy first, or go straight to Feisty (if you are brave):
Now update:
sudo apt-get update
If you get any error messages, comment those lines out of /etc/apt/sources.list (make sure you sudo to edit the file). Certain repositories, such as automatix are not ready for Feisty yet.
Now upgrade:
sudo apt-get upgrade
You will be asked to keep certain configuration files, it is up to you (I am not responsible if you overwrite your perfectly crafted configuration files). I was only asked for a handful of packages. I may take a while to download and setup (several hours). You can likely let apt download for an hour or two, but then you should be around to answer the configuration questions. I haven’t noticed any problems just keeping the old versions…
One more command:
sudo apt-get dist-upgrade
This command should be quicker than the plain upgrade, but will still likely take an hour.
You likely will have to restart your computer. You should run the update, upgrade, and dist-upgrade apt commands regularly. I have noticed that there are changes almost daily to the packages. You could add something like the following to your crontab. Make sure to get root’s crontab, via sudo crontab -e
0 4 * * * apt-get -y update && apt-get -y upgrade && apt-get -y dist-upgrade && apt-get -y clean
This will update your system every night.
Congratulations, you are running the latest and greatest version of Ubuntu.

April 11th, 2007 at 5:32 am
Do you mean:
sudo sed -e ’s/edgy/feisty/g’ -i /etc/apt/sources.list
?
April 11th, 2007 at 12:53 pm
Thanks, you are correct, the old version added a space. The guide has been updated.
April 11th, 2007 at 11:30 pm
a couple releases back I had trouble upgrading because I tried to upgrade before dist-upgrading…at least this is what I read was the cause of my problem. Any reason why you’re doing it in the same order?
April 13th, 2007 at 5:21 am
Guide not yet updated :p, “s” still breaking sed command
April 21st, 2007 at 2:50 pm
Yeah, small mistake there with ’sedgy’ instead of ‘edgy’. Seems to be working well though so thanks
April 21st, 2007 at 4:24 pm
Fixed the bug with sed, thanks Kheldar and Cruz!
May 14th, 2007 at 3:26 am
Had been looking for this all around. It worked just fine. Thanks a lot!
June 6th, 2007 at 4:06 pm
[...] did upgrade to Feisty, but had an issue when upgrading. There seemed to be an issue of upgrading the kernel. I was told [...]
June 20th, 2007 at 9:58 am
What’s this about?
Failed to fetch http://ph.archive.ubuntu.com/ubuntu/pool/main/g/gcc-defaults/cpp_4.1.2-1ubuntu1_i386.deb Error reading from server - read (104 Connection reset by peer) [IP: 91.189.89.6 80]
Failed to fetch http://ph.archive.ubuntu.com/ubuntu/pool/main/x/xserver-xorg-video-siliconmotion/xserver-xorg-video-siliconmotion_1.4.1-4ubuntu1_i386.deb Error reading from server - read (104 Connection reset by peer) [IP: 91.189.89.6 80]
E: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing?