I had the same error on a new install. It looked like a DNS issue. So I configured my network connection to use OpenDNS directly, rather than via my router. That seems to have solved the problem.
Right-click network icon, select "edit connections"
Select the connection you are using at the moment.
Click "edit"
Select the "IPv4 settings" tab
Set method to "Automatic (DHCP) addresses only"
Then input "208.67.222.222, 208.67.220.220" into the DNS servers box
Exit, reset the network connection and retry "apt-get update"
Weird that my ISPs DNS doesn't resolve some of the addresses now :/
Thank you!! :) worked for me on Ubuntu 11.10 :) I haven't been given an option to upgrade to 12.04, hopefully this will fix this too :)
ReplyDelete