[SOLVED] sudo apt-get update is not working

When I try to run "sudo apt-get update" on my ubuntu 10.10 , it gives a lot of 404, this is because the link in etc/apt/sources.list has dead and not working anymore since april 2012, to solve this:

1. Open terminal
2. cd /etc/apt
3. sudo gedit sources.list
4. Erase all inside, and write/ replace with this

## EOL upgrade sources.list
# Required
deb http://old-releases.ubuntu.com/ubuntu/ maverick main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security main restricted universe multiverse

# Optional
#deb http://old-releases.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
#deb http://old-releases.ubuntu.com/ubuntu/ maverick-proposed main restricted universe multiverse

5. Save, done

Now you can run "sudo apt-get update".
/* infolinks */