Upgrade Ubuntu Dapper / Edgy / Hardy
Today you might have release Ubuntu 6.04 or 6.1 .The common name given to this release from the time of its early development was Dapper or Edgy.
Now we will see how to upgrade your Ubuntu to 7.04 or 8.04 (Hardy)
First thing i would suggest is backup all your important data and start upgrade process and you can use any one of the method to udgrade to ubuntu edgy eft.
We can Use Two methods to upgrade Ubuntu Dapper to Edgy
1) Using GUI
2) Using apt-get
Upgrading Ubuntu
Method 1
Using GUI
If you want to upgrade using GUI use the following command
gksu “update-manager -c ”
“-c” switch tells it to look for upgrades at all.You should see the following screen here Now you can see 6.10 is available for upgrade click on upgrade
Now you can see the following screen with the no.of packages available for download here click on start upgrade
Here it starts preparing the upgrade
You can see in this screen downloading required packages is in progress
Installing all the required packages in progress
After installing these packes you should see the following screen and here you need to click on restart and it will reboot your machine to take your new ubuntu 6.10 installation to effect all changes.
You can check the ubuntu version installed using the following command
sudo lsb_release -a
Output Looks like below
Distributor ID: Ubuntu
Description: Ubuntu edgy
Release: 6.10
Codename: edgy
Method 2
Using apt-get
Edit your /etc/apt/sources.list as root. Change every occurrence of dapper to edgy.
Use any prefered editor. If you have a CD-ROM line in your file, then remove it.
sudo vi /etc/apt/sources.list
or
use the following Simple command
sudo sed -e ’s/\sdapper/ edgy/g’ -i /etc/apt/sources.list
Now you need to update the source list using the following command
sudo apt-get update
Upgrade using the following command
sudo apt-get dist-upgrade
Double check your process was finished properly using the following commd
sudo apt-get -f install
sudo dpkg --configure -a
Now you need to Reboot your machine to take your new ubuntu 6.10 installation to effect all changes.
I hope you will enjoy your new Ubuntu Edgy Eft
_________
Another post regarding how to upgrade from Dapper to Hardy
Here is how I did it:
Ubuntu 6.06 to Ubuntu 8.04 Upgrade (Server)
I verified that my current install was completely up to date:
sudo aptitude update
sudo aptitude upgrade
sudo aptitude dist-upgrade
Also, to be thorough, this is what my sources.list looked like (each ‘deb’ entry should be one single line):
deb http://archive.ubuntu.com/ubuntu dapper main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu dapper-updates main restricted universemultiverse
deb http://archive.ubuntu.com/ubuntu dapper-security main restricted universemultiverse
deb http://archive.ubuntu.com/ubuntu dapper-proposed main restricted universemultiverse
deb http://archive.ubuntu.com/ubuntu dapper-backports main restricted universemultiverse
Once I had applied all updates (if you’re already up to date, you don’t need a reboot) I then installed the server-based update utility:
sudo aptitude install update-manager-core
Once this is installed you’re ready to begin the upgrade process. You can start the upgrade using:
sudo do-release-upgrade
Or use CD-ROM
$ mount -t iso9660 -o loop ~bvi/ubuntu-8.04-server-i386.iso /cdrom
$ apt-cdrom add
This should show output similar to the following as the CDROM is added to the Repo list.
Using CD-ROM mount point /cdrom/
Unmounting CD-ROM
Waiting for disc…
Please insert a Disc in the drive and press enter
Mounting CD-ROM…
Identifying.. [b36baea778d37bbf48a3c8bd75b5cffb-2]
Scanning disc for index files..
Found 2 package indexes, 0 source indexes and 1 signatures
Found label ‘Ubuntu-Server 8.04 _Hardy Heron_ – Release i386 (20080423.2)’
…
And should add a to the top of your /etc/apt/sources.list similar to the following:
deb cdrom:[Ubuntu-Server 8.04 _Hardy Heron_ – Release i386 (20080423.2)]/ hardy main restricted
Finally the update can be performed
do-release-update