Recently, I installed the new version of Ubuntu: 11.10 (Oneiric Ocelot) in my desktop to take its taste. But I am having some problems when updating the OS. Our local repository was not up to date. So, I started googling and found a list of repositories. Chose a up to date repository and update my OS from that mirror repository. Now I am sharing the process here.
First you will have to take the backup of current repository. Open the terminal and type the following command.
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
Then go to the link: https://launchpad.net/ubuntu/+archivemirrors and choose any up to date repository.
Suppose you chose the repository: http://mirrors.coopvgg.com.ar/ubuntu/ and want to replace with the current one: http://bd.archive.com/ubuntu/. Now, open the terminal and type . .
gksudo gedit /etc/apt/sources.list
Sources.list will be pop up. Now type Ctrl + h and fill up the Search for and Replace with. Click the Replace All. Done 🙂
Now update the sources.list. So, type
sudo apt-get update
To update the OS, type following command
sudo apt-get upgrade
This post is totally for beginner Ubuntu user. Hope, beginner will enjoy it 🙂
Just Additional Information:
If you use the old version of Ubuntu, which is very unlikely, Ubuntu also has support for old releases.
Just change your repository settings to old-releases.ubuntu.com and enjoy freedom. and enjoy you freedom.