You are not logged in.
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
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
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
Problem is solved by recompilation, thanks so much.
Offline