You are not logged in.

#1 2009-04-03 23:32:49

Rulatir
Banned
Registered: 2007-02-05
Posts: 94

Pacman won't sync with ftp.archlinux.org

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

#2 2009-04-03 23:38:22

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Pacman won't sync with ftp.archlinux.org

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

#3 2009-04-03 23:57:04

Rulatir
Banned
Registered: 2007-02-05
Posts: 94

Re: Pacman won't sync with ftp.archlinux.org

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 smile so this might be a false alarm, depending on whether pacman's use of the second DNS answer is a bug or not.

Offline

#4 2009-04-04 00:42:58

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Pacman won't sync with ftp.archlinux.org

Sorry about that. I hallucinate randomly.

Offline

#5 2009-04-04 04:12:44

theringmaster
Member
From: Air Force
Registered: 2007-07-16
Posts: 581
Website

Re: Pacman won't sync with ftp.archlinux.org

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

#6 2009-04-04 19:20:34

Rulatir
Banned
Registered: 2007-02-05
Posts: 94

Re: Pacman won't sync with ftp.archlinux.org

Closer in space or in time? The spatially closest server is somewhat... removed from the present hmm

Offline

Board footer

Powered by FluxBB