Error with sudo apt-get update - [RESOLVED... somehow]

I'm getting the following errors when trying to do a simple apt-get update. The servers are online. Can someone point me in the right direction? Thanks.

Err http://us.archive.ubuntu.com hardy Release.gpg

Could not resolve 'us.archive.ubuntu.com'

Err http://us.archive.ubuntu.com hardy-updates Release.gpg

Could not resolve 'us.archive.ubuntu.com'

Err http://security.ubuntu.com hardy-security Release.gpg

Could not resolve 'security.ubuntu.com'

6 Replies

Can you resolve other hosts?

Try pinging www.google.com

If that doesn't work, then your DNS servers/settings are messed up.

I can't ping google.com so it must be the DNS. Do you have any resources for properly configuring DNS that you could link to?

This is a clean install. I can SSH in but nothing out… Shouldn't I be able to ping google.com with a clean install?

Whats in your /etc/resolv.conf ?

Can you ping 8.8.8.8 (one of Googles name servers)?

Well it finally "just started working"… I opened a support ticket and they were looking at it for about 30 minutes and I decided to try another ping and it worked. They have no idea why it didn't work and why it started working but it's been fine ever since, so I guess that good enough for me :)

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct