You are not logged in.

#1 2004-06-08 23:18:27

ganlu
Member
From: ChongQing, China
Registered: 2004-01-04
Posts: 360

getservbyname: No such file or directory

For two days, I can't use pacman to sync my system, could anyone tell me what's wrong? I can use gftp alike to connect ftp.archlinux.org without any problem:

[root@A /]# pacman -Syu
:: Synchronizing package databases...
getservbyname: No such file or directory
error: cannot connect to ftp.archlinux.org
getservbyname: Illegal seek
error: cannot connect to ftp.oit.unc.edu

and if I ping ftp.archlinux.org, it seems OK:
PING ftp.archlinux.org (207.44.144.16) 56(84) bytes of data.
64 bytes from archlinux.org (207.44.144.16): icmp_seq=1 ttl=50 time=298 ms

Thanks in advance.

Offline

#2 2004-06-09 00:58:20

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: getservbyname: No such file or directory

Have you upgraded your glibc package lately?  Pacman is statically compiled, and if the glibc library changes, pacman usually needs to change (ie, be rebuilt) too.

Try rebuilding pacman from ABS and see if that fixes it.

Offline

#3 2004-06-09 01:32:52

ganlu
Member
From: ChongQing, China
Registered: 2004-01-04
Posts: 360

Re: getservbyname: No such file or directory

Oh, I installed glibc-2.3.3- t1 from test repository, maybe the cause. Thank you very much, I will try to compile pacman again when I get home.

Offline

#4 2004-06-09 08:14:55

ganlu
Member
From: ChongQing, China
Registered: 2004-01-04
Posts: 360

Re: getservbyname: No such file or directory

Problem is solved by recompilation, thanks so much.

Offline

Board footer

Powered by FluxBB