Apt-get sources Hoary (Ubuntu)
Here ‘s a little howto that contains the sources I am currently using on my Ubuntu OS.
First of all you open the sources.list with a text editor e.g. vi, nano, gedit
sudo nano /etc/apt/sources.list
You comment all the lines and add this lines: (change hoary to warty for the warty release)
deb http://archive.ubuntu.com/ubuntu hoary main restricted
deb-src http://archive.ubuntu.com/ubuntu hoary main restricted
deb http://archive.ubuntu.com/ubuntu hoary universe multiverse
deb-src http://archive.ubuntu.com/ubuntu hoary universe multiverse
deb http://security.ubuntu.com/ubuntu hoary-security main restricted
deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted
deb http://security.ubuntu.com/ubuntu hoary-security universe
deb-src http://security.ubuntu.com/ubuntu hoary-security universe
deb ftp://ftp.nerim.net/debian-marillat/ testing main
deb http://archive.ubuntu.com/ubuntu/ warty multiverse
deb http://ubuntu.tower-net.de/ubuntu/ warty java
deb ftp://neacm.fe.up.pt/pub/ubuntu-java/ binary/
deb-src ftp://neacm.fe.up.pt/pub/ubuntu-java/ source/
Save the file and then run:
sudo apt-get update
This will update your repository.