Am online can browse but package managers cannot download anything

Asked by Davidnz on 2008-01-23

Hi there, I am new to using "Ubuntu Edgy Eft), and just got my dial up modem working today after a bit of playing (and a good tutorial lol), i can browse pages quit happily and can ping my remote server but when it comes to getting packages using any manager it cant seem to resolve and/or cant find the connection. Im using command line to connect at this point (wvdial) as i havent been able to update my dialer as of yet either
Please help

Hope to hear from you guys soon
Thanks David

Question information

English Edit question
Ubuntu Edit question
No assignee Edit question
Solved by:
Last query:
Last reply:


Can you check you have repositories enabled (ticked) in System --> Administration --> Software Sources.
Then start the dialup connection and try this command in a terminal (Applications --> Accessories --> Terminal)

sudo apt-get update

And paste the results here.

Davidnz (hypolilme) said : #2

Hi Alan,

I couldn't find any check boxes saying "repositories enabled" however all applicable boxes in all tabs were apart from "download but dont install"

i also went to system>prefs>network proxy and told it not to use a proxy as it had been set initially to get my dial up going although could browse pages with it set... (as i had lan disabled)

then i went ahead anyway in terminal and punched in the sudo command and password and this is what i got:

admin@david-desktop:~$ sudo apt-get update
Get:1 edgy Release.gpg [191B]
Get:2 edgy-updates Release.gpg [191B]
Get:3 edgy-security Release.gpg [191B]
Get:4 edgy-proposed Release.gpg [191B]
Get:5 edgy-backports Release.gpg [191B]
Get:6 edgy Release [34.7kB]
Get:7 edgy-security Release [50.9kB]
Get:8 edgy-security/main Packages [130kB]
Get:9 edgy-updates Release [50.9kB]
Get:10 edgy-proposed Release [38.4kB]
Ign edgy-proposed Release
Get:11 edgy-backports Release [44.6kB]
Get:12 edgy-security/universe Packages [76.1kB]
Get:13 edgy/main Packages [940kB]
Get:14 edgy-security/multiverse Packages [5591B]
Get:15 edgy-security/restricted Packages [6149B]
Get:16 edgy-security/main Sources [25.0kB]
Get:17 edgy-security/universe Sources [9785B]
Get:18 edgy-security/multiverse Sources [1000B]
Get:19 edgy-security/restricted Sources [928B]
Get:20 edgy/universe Packages [3559kB]
Get:21 edgy/multiverse Packages [126kB]
Get:22 edgy/restricted Packages [5974B]
Get:23 edgy/main Sources [274kB]
Get:24 edgy/universe Sources [1068kB]
Get:25 edgy/multiverse Sources [45.0kB]
Get:26 edgy/restricted Sources [1436B]
Get:27 edgy-updates/main Packages [190kB]
Get:28 edgy-updates/universe Packages [93.5kB]
Get:29 edgy-updates/multiverse Packages [10.8kB]
Get:30 edgy-updates/restricted Packages [5138B]
Get:31 edgy-updates/main Sources [46.0kB]
Get:32 edgy-updates/universe Sources [14.6kB]
Get:33 edgy-updates/multiverse Sources [1720B]
Get:34 edgy-updates/restricted Sources [928B]
Get:35 edgy-proposed/main Packages [92.3kB]
Get:36 edgy-proposed/universe Packages [30.3kB]
Get:37 edgy-proposed/multiverse Packages [6424B]
Get:38 edgy-proposed/restricted Packages [14B]
Get:39 edgy-proposed/main Sources [28.3kB]
Get:40 edgy-proposed/universe Sources [6374B]
Get:41 edgy-proposed/multiverse Sources [1119B]
Get:42 edgy-proposed/restricted Sources [14B]
Get:43 edgy-backports/universe Packages [55.7kB]
Get:44 edgy-backports/main Packages [18.3kB]
Get:45 edgy-backports/multiverse Packages [8729B]
Get:46 edgy-backports/restricted Packages [14B]
Get:47 edgy-backports/universe Sources [15.5kB]
Get:48 edgy-backports/main Sources [5620B]
Get:49 edgy-backports/multiverse Sources [2402B]
Get:50 edgy-backports/restricted Sources [14B]
Fetched 7089kB in 35m52s (3293B/s)
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?

i got this error i think because i was running the S.P.M and the apt-get at the same time

anyway, now my synaptic package manager is managing to download most of the updates... :S
could it have really been just that proxy setting or was it the apt-get that made the system aware of the connection?

So confused =$

Davidnz (hypolilme) said : #3

2nd time round without S.P.M running i got this:

admin@david-desktop:~$ sudo apt-get update
Get:1 edgy-security Release.gpg [191B]
Get:2 edgy Release.gpg [191B]
Get:3 edgy-updates Release.gpg [191B]
Get:4 edgy-proposed Release.gpg [191B]
Hit edgy-security Release
Get:5 edgy-backports Release.gpg [191B]
Hit edgy Release
Hit edgy-security/main Packages
Hit edgy-updates Release
Hit edgy-proposed Release
Hit edgy-security/universe Packages
Hit edgy-security/multiverse Packages
Hit edgy-security/restricted Packages
Hit edgy-backports Release
Hit edgy/main Packages
Hit edgy/universe Packages
Hit edgy-security/main Sources
Hit edgy-security/universe Sources
Hit edgy-security/multiverse Sources
Hit edgy-security/restricted Sources
Hit edgy/multiverse Packages
Hit edgy/restricted Packages
Hit edgy/main Sources
Hit edgy/universe Sources
Hit edgy/multiverse Sources
Hit edgy/restricted Sources
Hit edgy-updates/main Packages
Hit edgy-updates/universe Packages
Hit edgy-updates/multiverse Packages
Hit edgy-updates/restricted Packages
Hit edgy-updates/main Sources
Hit edgy-updates/universe Sources
Hit edgy-updates/multiverse Sources
Hit edgy-updates/restricted Sources
Hit edgy-proposed/main Packages
Hit edgy-proposed/universe Packages
Hit edgy-proposed/multiverse Packages
Hit edgy-proposed/restricted Packages
Hit edgy-proposed/main Sources
Hit edgy-proposed/universe Sources
Hit edgy-proposed/multiverse Sources
Hit edgy-proposed/restricted Sources
Hit edgy-backports/universe Packages
Hit edgy-backports/main Packages
Hit edgy-backports/multiverse Packages
Hit edgy-backports/restricted Packages
Hit edgy-backports/universe Sources
Hit edgy-backports/main Sources
Hit edgy-backports/multiverse Sources
Hit edgy-backports/restricted Sources
Fetched 5B in 6s (1B/s)
Reading package lists... Done

That all looks good. Seems to be working fine now.

Davidnz (hypolilme) said : #5

indeed thanks for your help Alan, ill prob be back here in a week or so's time with another problem lol until then
take care and thanks again