It sounds like you either have a network/connection issue or a DNS issue. First, try to ping 8.8.8.8 (Google's DNS Server, as you already know)
ping 8.8.8.8
If you get a response, we can tell that it is a DNS issue. If not, it is a network/connection issue.
For a DNS issue, make sure that you have set the DNS as described. Check /etc/network/interfaces. You should have a line in your network card stanza, like this:
dns-nameservers 8.8.8.8 8.8.4.4
Notice that the DNS servers are separated by a space, not a comma. A typical full stanza would look something like this:
iface eth0 inet static
address 192.168.1.50
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
dns-nameservers 8.8.8.8 8.8.8.4
After making the change, restart your networking service:
sudo /etc/init.d/networking restart
If that doesn't work, please post the contents of your /etc/network/interfaces config.
nslookup us.archive.ubuntu.comandnslookup security.ubuntu.com– reverendj1 Oct 24 '12 at 16:44