could not download all repositories

Asked by kjerryn

i tried to reload from the system package manager and got the could not download all repositories reply.
i have tried these other commands from the net and got these replies

kwam@kwam-desktop:~$ ping gb.archive.ubuntu.com
PING gb.archive.ubuntu.com (194.169.254.10) 56(84) bytes of data.

--- gb.archive.ubuntu.com ping statistics ---
7 packets transmitted, 0 received, 100% packet loss, time 5999ms

kwam@kwam-desktop:~$ ping archive.ubuntu.com
PING archive.ubuntu.com (91.189.88.31) 56(84) bytes of data.

--- archive.ubuntu.com ping statistics ---
6 packets transmitted, 0 received, 100% packet loss, time 5010ms

kwam@kwam-desktop:~$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=63 time=4.36 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=63 time=4.50 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=63 time=4.23 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=63 time=4.61 ms
64 bytes from 192.168.1.1: icmp_seq=5 ttl=63 time=4.27 ms
64 bytes from 192.168.1.1: icmp_seq=6 ttl=63 time=4.37 ms

--- 192.168.1.1 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5000ms
rtt min/avg/max/mdev = 4.233/4.394/4.611/0.129 ms
kwam@kwam-desktop:~$ sudo apt-get update
[sudo] password for kwam:
E: Could not get lock /var/lib/apt/lists/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the list directory
kwam@kwam-desktop:~$

i tried the ping gb.archive.ubuntu.com command yesterday and after 14 hours the result was the same, also with ping archive.ubuntu.com. only the third command transmitted and recieved all its packets.

pls what do they mean, what has been lost by the 100% and how do i get it back.
sudo apt-get update work yesterday but with some Err messages at gusty/partner packages

pls what do all these mean and how do i solve it.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
kjerryn
Solved:
Last query:
Last reply:
Revision history for this message
kjerryn (kjerryn) said :
#1

kwam@kwam-desktop:~$ /etc/resolv.conf
bash: /etc/resolv.conf: Permission denied
kwam@kwam-desktop:~$

Revision history for this message
Antonio Cono (tblu) said :
#2

Although I have just tried the ping of gb.archive.ubuntu.com and 4 of 4 packages were received, have you tried to select another mirror , E.G. from "source lists" in the menu?

Revision history for this message
kjerryn (kjerryn) said :
#3

pls how do i do that

Revision history for this message
kjerryn (kjerryn) said :
#4

kwam@kwam-desktop:~$ sudo apt-get update
[sudo] password for kwam:
Ign cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016) gutsy/main Translation-en_US
Ign cdrom://Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016) gutsy/restricted Translation-en_US
Get:1 http://packages.medibuntu.org gutsy Release.gpg [189B]
Get:2 http://security.ubuntu.com gutsy-security Release.gpg [191B]
Get:3 http://archive.ubuntu.com gutsy Release.gpg [191B]
Get:4 http://archive.canonical.com gutsy Release.gpg [191B]
Ign http://archive.ubuntu.com gutsy/main Translation-en_US
Ign http://packages.medibuntu.org gutsy/free Translation-en_US
Ign http://archive.canonical.com gutsy/partner Translation-en_US
Ign http://archive.ubuntu.com gutsy/universe Translation-en_US
Ign http://packages.medibuntu.org gutsy/non-free Translation-en_US
Ign http://archive.ubuntu.com gutsy/restricted Translation-en_US
Ign http://archive.canonical.com gusty Release.gpg
Ign http://security.ubuntu.com gutsy-security/universe Translation-en_US
Get:5 http://packages.medibuntu.org gutsy Release [2718B]
Ign http://packages.medibuntu.org gutsy/free Packages
Ign http://archive.ubuntu.com gutsy/multiverse Translation-en_US
Ign http://archive.canonical.com gusty/partner Translation-en_US
Ign http://security.ubuntu.com gutsy-security/main Translation-en_US
Ign http://packages.medibuntu.org gutsy/non-free Packages
Get:6 http://archive.ubuntu.com gutsy-updates Release.gpg [191B]
Hit http://archive.canonical.com gutsy Release
Ign http://security.ubuntu.com gutsy-security/multiverse Translation-en_US
Get:7 http://packages.medibuntu.org gutsy/free Packages [5885B]
Ign http://archive.canonical.com gusty Release
Ign http://security.ubuntu.com gutsy-security/restricted Translation-en_US
Ign http://archive.ubuntu.com gutsy-updates/universe Translation-en_US
Hit http://archive.canonical.com gutsy/partner Packages
Hit http://security.ubuntu.com gutsy-security Release
Get:8 http://packages.medibuntu.org gutsy/non-free Packages [2979B]
Ign http://archive.ubuntu.com gutsy-updates/main Translation-en_US
Hit http://archive.canonical.com gutsy/partner Sources
Hit http://security.ubuntu.com gutsy-security/universe Packages
Ign http://archive.ubuntu.com gutsy-updates/multiverse Translation-en_US
Ign http://archive.canonical.com gusty/partner Packages
Hit http://security.ubuntu.com gutsy-security/main Packages
Ign http://archive.ubuntu.com gutsy-updates/restricted Translation-en_US
Err http://archive.canonical.com gusty/partner Packages
  404 Not Found
Hit http://security.ubuntu.com gutsy-security/multiverse Packages
Get:9 http://archive.ubuntu.com gutsy-proposed Release.gpg [191B]
Hit http://security.ubuntu.com gutsy-security/restricted Packages
Ign http://archive.ubuntu.com gutsy-proposed/universe Translation-en_US
Hit http://security.ubuntu.com gutsy-security/universe Sources
Ign http://archive.ubuntu.com gutsy-proposed/main Translation-en_US
Hit http://security.ubuntu.com gutsy-security/main Sources
Ign http://archive.ubuntu.com gutsy-proposed/multiverse Translation-en_US
Hit http://security.ubuntu.com gutsy-security/multiverse Sources
Ign http://archive.ubuntu.com gutsy-proposed/restricted Translation-en_US
Hit http://security.ubuntu.com gutsy-security/restricted Sources
Get:10 http://archive.ubuntu.com gutsy-backports Release.gpg [191B]
Ign http://archive.ubuntu.com gutsy-backports/universe Translation-en_US
Ign http://archive.ubuntu.com gutsy-backports/main Translation-en_US
Ign http://archive.ubuntu.com gutsy-backports/multiverse Translation-en_US
Ign http://archive.ubuntu.com gutsy-backports/restricted Translation-en_US
Hit http://archive.ubuntu.com gutsy Release
Get:11 http://archive.ubuntu.com gutsy-updates Release [58.5kB]
Get:12 http://archive.ubuntu.com gutsy-proposed Release [58.5kB]
Get:13 http://archive.ubuntu.com gutsy-backports Release [44.0kB]
Get:14 http://archive.ubuntu.com gutsy/main Packages [1075kB]
Get:15 http://archive.ubuntu.com gutsy/universe Packages [4065kB]
Get:16 http://archive.ubuntu.com gutsy/restricted Packages [7664B]
Get:17 http://archive.ubuntu.com gutsy/multiverse Packages [158kB]
Get:18 http://archive.ubuntu.com gutsy/universe Sources [1226kB]
Get:19 http://archive.ubuntu.com gutsy/main Sources [306kB]
Hit http://archive.ubuntu.com gutsy/multiverse Sources
Hit http://archive.ubuntu.com gutsy/restricted Sources
Hit http://archive.ubuntu.com gutsy-updates/universe Packages
Hit http://archive.ubuntu.com gutsy-updates/main Packages
Hit http://archive.ubuntu.com gutsy-updates/multiverse Packages
Hit http://archive.ubuntu.com gutsy-updates/restricted Packages
Hit http://archive.ubuntu.com gutsy-updates/universe Sources
Hit http://archive.ubuntu.com gutsy-updates/main Sources
Get:20 http://archive.ubuntu.com gutsy-updates/multiverse Sources [1702B]
Get:21 http://archive.ubuntu.com gutsy-updates/restricted Sources [937B]
Get:22 http://archive.ubuntu.com gutsy-proposed/universe Packages [27.1kB]
Get:23 http://archive.ubuntu.com gutsy-proposed/main Packages [96.9kB]
Hit http://archive.ubuntu.com gutsy-proposed/multiverse Packages
Hit http://archive.ubuntu.com gutsy-proposed/restricted Packages
Hit http://archive.ubuntu.com gutsy-proposed/universe Sources
Hit http://archive.ubuntu.com gutsy-proposed/main Sources
Hit http://archive.ubuntu.com gutsy-proposed/multiverse Sources
Hit http://archive.ubuntu.com gutsy-proposed/restricted Sources
Hit http://archive.ubuntu.com gutsy-backports/universe Packages
Hit http://archive.ubuntu.com gutsy-backports/main Packages
Hit http://archive.ubuntu.com gutsy-backports/multiverse Packages
Get:24 http://archive.ubuntu.com gutsy-backports/restricted Packages [14B]
Get:25 http://archive.ubuntu.com gutsy-backports/universe Sources [12.7kB]
Get:26 http://archive.ubuntu.com gutsy-backports/main Sources [5991B]
Get:27 http://archive.ubuntu.com gutsy-backports/multiverse Sources [1626B]
Get:28 http://archive.ubuntu.com gutsy-backports/restricted Sources [14B]
Fetched 7157kB in 17m35s (6783B/s)
Failed to fetch http://archive.canonical.com/ubuntu/dists/gusty/partner/binary-i386/Packages.gz 404 Not Found
E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
kwam@kwam-desktop:~$

Revision history for this message
Bhavani Shankar (bhavi) said :
#5

Hello..

If you are sure that no apt/adept/dpkg processes are running:

sudo rm /var/lib/dpkg/lock

Should do the work..

Or if it doesnt work It means you may have some other application open that's accessing the package manager--Synaptic Package Manager, Adept Package Manager, Update Manager, or Add/Remove Programs..

So you can try this command in a terminal:

sudo killall dpkg

Else you may need to issue an...

sudo killall aptitude

Or what ever you were running

Hope it helps

Bhavani Shankar.

Revision history for this message
kjerryn (kjerryn) said :
#6

hello

kwam@kwam-desktop:~$ sudo rm /var/lib/dpkg/lock
rm: cannot remove `/var/lib/dpkg/lock': No such file or directory
kwam@kwam-desktop:~$

Revision history for this message
naufal (musp-student) said :
#7

hello,
take a look at this link:
http://ubuntuforums.org/showthread.php?t=603418
hope this help..

Revision history for this message
kjerryn (kjerryn) said :
#8

hello Naufal,
pls, the link goes to a page that cannot be found.

Revision history for this message
Bhavani Shankar (bhavi) said :
#9

Did you try sudo killall dpkg?

There seems no problem with your sources.list

Go to
http://www.ubuntu-nl.org/source-o-matic/
and set a different mirror option by changing the country you live in option and click on send and rewrite your sources.list with the newly generated file...

and retry with a different mirror..

Bhavani Shankar.

Revision history for this message
kjerryn (kjerryn) said :
#10

kwam@kwam-desktop:~$ sudo killall dpkg
[sudo] password for kwam:
dpkg: no process killed

pls the link above leads to a page not in english.

Revision history for this message
kjerryn (kjerryn) said :
#11

the error was in the name i copied into the system package manager third party software list. JasonLiquorish asked me to change gusty to gutsy