You are not logged in.

#1 2007-03-06 16:27:33

brainwasher
Member
From: Lucca (Italy)
Registered: 2007-01-04
Posts: 81
Website

pacman and internet connection [not working]

Firefox works fine, ping any host works fine, but pacman -Syu, or pacman -S any_package output is:

[manuel@unix ~]$ sudo pacman -Syu
:: Synchronizing package databases...

Tue Mar  6 18:30:35 2007 - NOTICE - Adding URL: ftp://ftp.archlinux.org/testing/os/i686 … .db.tar.gz
0/0 Bytes 0% - 0.00 KB/s 1 connections   

and still there for few minutes, than say that :

Tue Mar  6 18:38:29 2007 - NOTICE - Adding URL: http://ftp.parrswood.manchester.sch.uk/Mirrors/ftp.archlinux.org/extra/os/i686/extra.db.tar.gz
0/0 Bytes 0% - 0.00 KB/s 1 connectionsFailed to open the file ./extra.db.tar.gz.part, cause: file not found

Tue Mar  6 18:38:31 2007 - NOTICE - Adding URL: ftp://ftp.ntua.gr/pub/linux/archlinux/extra/os/i686/extra.db.tar.gz
0/0 Bytes 0% - 0.00 KB/s 1 connectionsFailed to open the file ./extra.db.tar.gz.part, cause: file not found

Tue Mar  6 18:38:34 2007 - NOTICE - Adding URL: ftp://ftp.heanet.ie/mirrors/ftp.archlinux.org/extra/os/i686/extra.db.tar.gz
0/0 Bytes 0% - 0.00 KB/s 1 connectionsFailed to open the file ./extra.db.tar.gz.part, cause: file not found

Tue Mar  6 18:38:37 2007 - NOTICE - Adding URL: ftp://mi.mirror.garr.it/mirrors/archlinux/extra/os/i686/extra.db.tar.gz
0/0 Bytes 0% - 0.00 KB/s 1 connectionsFailed to open the file ./extra.db.tar.gz.part, cause: file not found

Tue Mar  6 18:38:40 2007 - NOTICE - Adding URL: ftp://ftp.nluug.nl/pub/metalab/distributions/archlinux/extra/os/i686/extra.db.tar.gz
0/0 Bytes 0% - 0.00 KB/s 1 connectionsFailed to open the file ./extra.db.tar.gz.part, cause: file not found

Tue Mar  6 18:38:43 2007 - NOTICE - Adding URL: ftp://ftp.surfnet.nl/pub/os/Linux/distr/archlinux/extra/os/i686/extra.db.tar.gz
0/0 Bytes 0% - 0.00 KB/s 1 connectionsFailed to open the file ./extra.db.tar.gz.part, cause: file not found

But Internet WORK big_smile

Last edited by brainwasher (2007-03-06 16:36:43)

Offline

#2 2007-03-06 16:52:26

fk
Member
From: Germany
Registered: 2006-04-29
Posts: 524

Re: pacman and internet connection [not working]

Try another Mirror


Have you tried to turn it off and on again?

Offline

#3 2007-03-06 16:54:01

brainwasher
Member
From: Lucca (Italy)
Registered: 2007-01-04
Posts: 81
Website

Re: pacman and internet connection [not working]

fk wrote:

Try another Mirror

how ?

EDIT : I use the sortmirrors script, thanks for the advice smile

Last edited by brainwasher (2007-03-06 16:58:51)

Offline

#4 2007-03-06 16:58:12

fk
Member
From: Germany
Registered: 2006-04-29
Posts: 524

Re: pacman and internet connection [not working]

look into /etc/pacman.d/current|extra|testing|community

Comment and uncomment the server by setting/unsetting # in front of the line..


Have you tried to turn it off and on again?

Offline

#5 2007-03-06 18:12:00

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: pacman and internet connection [not working]

It looks like you are using an XferCommand setting, as pacman doesn't output those messages.  Can you post your XferCommand here?

Offline

#6 2007-03-09 13:30:36

brainwasher
Member
From: Lucca (Italy)
Registered: 2007-01-04
Posts: 81
Website

Re: pacman and internet connection [not working]

see this...i changed the XferCommand to "echo %u" and this is the result

ftp://ftp.archlinux.org/testing/os/i686/testing.db.tar.gz/testing.db.tar.gz
ftp://ftp.archlinux.org/current/os/i686/current.db.tar.gz/current.db.tar.gz

etc.. etc...
on tp://ftp.archlinux.org/testing/os/i686/ there is the testing.db.tar.gx packet, but not the directory....
pacman works fine, but the url that pass to the XferCommand isn't correct....

Last edited by brainwasher (2007-03-09 13:31:24)

Offline

#7 2007-03-09 13:53:15

brainwasher
Member
From: Lucca (Italy)
Registered: 2007-01-04
Posts: 81
Website

Re: pacman and internet connection [not working]

i've resolved with this script

XferCommand = echo %u | awk '{ print(substr($1,0,index($1,"gz/")+1)) }' | xargs /usr/bin/wget -O %o

Offline

Board footer

Powered by FluxBB