Errors running apt-get update and apt-get install mysql-server

This was a known bug with Amazon S3. To fix this, just run sudo apt-get update


Ubuntu 10.10 Maverick Meerkat has reached end of life (EOL) as of April 10 2012, which means there are no further updates (not even security fixes) and the package archives are moved from archive.ubuntu.com to old-releases.ubuntu.com, which is the reason for the error you are seeing.

Edit /etc/apt/sources.list and fix your package sources. Note that you need to also remove the us-west-1.ec2 prefix: there are no dedicated EC2 package servers for EOL releases.


The fix was to add these lines to sources.list:

deb http://us.archive.ubuntu.com/ubuntu lucid main multiverse universe
deb http://us.archive.ubuntu.com/ubuntu lucid-security main multiverse universe
deb http://us.archive.ubuntu.com/ubuntu lucid-updates main multiverse universe

Thanks for the replies.