Sporadic/slow/non existent internet connection-Something wicked

Asked by Nigel Hollick

Downloaded Ubuntu 12.04 boot image. New install x64. I have reinstalled 3 times both x64 and i386 all to no avail or internet connection. All worked perfectly with 11.10. Have a dual boot system with win 7 x64 and ubuntu 12.04 on same sata drive. Win 7 internet works perfectly. What is going on????

Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.0.0_1.0.1-4ubuntu5_amd64.deb Something wicked happened resolving 'gb.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/main/c/cyrus-sasl2/libsasl2-modules_2.1.25.dfsg1-3ubuntu0.1_amd64.deb Something wicked happened resolving 'gb.archive.ubuntu.com:http' (-5 - No address associated with hostname)

nigel@Elk:~$ sudo apt-get install synaptic
[sudo] password for nigel:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  docbook-xml libept1.4.12 librarian0 libvte-common libvte9 rarian-compat
  sgml-data
Suggested packages:
  docbook docbook-dsssl docbook-xsl docbook-defguide perlsgml doc-html-w3
  opensp libxml2-utils dwww menu deborphan
The following NEW packages will be installed
  docbook-xml libept1.4.12 librarian0 libvte-common libvte9 rarian-compat
  sgml-data synaptic
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,717 kB of archives.
After this operation, 14.3 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Err http://gb.archive.ubuntu.com/ubuntu/ precise/main sgml-data all 2.0.6
  Something wicked happened resolving 'gb.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://gb.archive.ubuntu.com/ubuntu/ precise/main docbook-xml all 4.5-7ubuntu1
  Something wicked happened resolving 'gb.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Err http://gb.archive.ubuntu.com/ubuntu/ precise/main libept1.4.12 amd64 1.0.6~exp1ubuntu1
  Something wicked happened resolving 'gb.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Get:1 http://gb.archive.ubuntu.com/ubuntu/ precise/main libvte-common all 1:0.28.2-3ubuntu2 [22.8 kB]
Get:2 http://gb.archive.ubuntu.com/ubuntu/ precise/main libvte9 amd64 1:0.28.2-3ubuntu2 [372 kB]
Get:3 http://gb.archive.ubuntu.com/ubuntu/ precise/main librarian0 amd64 0.8.1-5 [60.6 kB]
Get:4 http://gb.archive.ubuntu.com/ubuntu/ precise/main rarian-compat amd64 0.8.1-5 [107 kB]
Get:5 http://gb.archive.ubuntu.com/ubuntu/ precise/universe synaptic amd64 0.75.9ubuntu1 [2,419 kB]
Fetched 2,981 kB in 1min 15s (39.7 kB/s)
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/main/s/sgml-data/sgml-data_2.0.6_all.deb Something wicked happened resolving 'gb.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/main/d/docbook-xml/docbook-xml_4.5-7ubuntu1_all.deb Something wicked happened resolving 'gb.archive.ubuntu.com:http' (-5 - No address associated with hostname)
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/main/libe/libept/libept1.4.12_1.0.6~exp1ubuntu1_amd64.deb Something wicked happened resolving 'gb.archive.ubuntu.com:http' (-5 - No address associated with hostname)
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
nigel@Elk:~$ apt-get update
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
nigel@Elk:~$

If I GEDIT /var/lib/dpkg/lock the file has nothing in it, just blank.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-nettool Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

apt-get update won't work without sudo, which is why the system says 'are you root?'

can you ping 8.8.8.8?

Revision history for this message
Nigel Hollick (nigelhollick) said :
#2

Thank you for replying Marco

Pinging 8.8.8.8 works with a 9o% packet loss. Pinged several times times
10. Always 90%.

I managed eventually to download synaptic and have reinstalled the following

Reinstalled the following packages:
firefox (12.0+build1-0ubuntu0.12.04.1)
firefox-globalmenu (12.0+build1-0ubuntu0.12.04.1)
firefox-gnome-support (12.0+build1-0ubuntu0.12.04.1)
firefox-locale-en (12.0+build1-0ubuntu0.12.04.1)
flashplugin-installer (11.2.202.235ubuntu0.12.04.1)
totem-mozilla (3.0.1-0ubuntu21)
xul-ext-ubufox (2.0.3-0ubuntu1)
aptdaemon (0.43+bzr805-0ubuntu1)
dpkg (1.16.1.2ubuntu7)
ucf (3.0025+nmu2ubuntu1)
unattended-upgrades (0.76)
liblockfile1 (1.09-3)
lockfile-progs (0.1.16)
glib-networking (2.32.1-1ubuntu1)
glib-networking-common (2.32.1-1ubuntu1)
glib-networking-services (2.32.1-1ubuntu1)
gnome-nettool (3.2.0-0ubuntu1)
libnm-glib-vpn1 (0.9.4.0-0ubuntu4)
libnm-glib4 (0.9.4.0-0ubuntu4)
libnm-gtk-common (0.9.4.1-0ubuntu2)
libnm-util2 (0.9.4.0-0ubuntu4)
network-manager (0.9.4.0-0ubuntu4)
network-manager-gnome (0.9.4.1-0ubuntu2)
network-manager-pptp (0.9.4.0-0ubuntu1)
network-manager-pptp-gnome (0.9.4.0-0ubuntu1)
tcpdump (4.2.1-1ubuntu2)
update-inetd (4.41)
update-manager (1:0.156.14.1)
update-manager-core (1:0.156.14.1)
update-notifier (0.119ubuntu8.1)
update-notifier-common (0.119ubuntu8.1)

and installed nmap

Seems to be working at the moment. If still working over next couple of
days will mark the question as solved though at this moment i have no idea
if or what is happening

If you have any ideas please let me know

Regards

Nigel

On 17 May 2012 21:56, marcobra (Marco Braida) <
<email address hidden>> wrote:

> Your question #197548 on gnome-nettool in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/gnome-nettool/+question/197548
>
> Project: Ubuntu => gnome-nettool in Ubuntu
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

Try:

echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null

Then retry, getting updated fully may help

Can you help with this problem?

Provide an answer of your own, or ask Nigel Hollick for more information if necessary.

To post a message you must log in.