You are not logged in.
Pacman won't sync (-Sy) with the main server ftp.archlinux.org. It just says "Synchronizing package databases" and freezes forever. I tried to peek at the FTP traffic using Wireshark but things don't even get there. All I can see are TCP SYNs with no response. Other FTP software works fine with ftp.archlinux.org. What's up?
[Update] Further investigation:
$ nslookup
> ftp.archlinux.org
Server: 194.204.159.1
Address: 194.204.159.1#53
Non-authoritative answer:
Name: ftp.archlinux.org
Address: 209.85.41.144
Name: ftp.archlinux.org
Address: 209.85.41.145
Inconsistent DNS responses. Other software just happens to use the first answer which is correct, but pacman uses the second one ("undefined behavior"?). Adding a line in /etc/hosts works around the problem.
_
Last edited by Rulatir (2009-04-03 23:51:46)
Offline
It shouldn't be locking up there and I don't know what the problem is. But, that mirror is heavily throttled anyway. I recommend running the rankmirrors script to find the best mirrors near you and moving them up to the top of list /etc/pacman.d/mirrorlist.
Offline
See my update. Looks like my DNS has problems. And no, pacman doesn't freeze forever, it tries another server after a timeout, it's just that I hadn't waited long enough so this might be a false alarm, depending on whether pacman's use of the second DNS answer is a bug or not.
Offline
Sorry about that. I hallucinate randomly.
Offline
still, don't use ftp.archlinux.org, it's throttled. use a local mirror that is closer to you.
Check me out on twitter!!! twitter.com/The_Ringmaster
Offline
Closer in space or in time? The spatially closest server is somewhat... removed from the present
Offline