You are not logged in.

#1 2011-09-03 14:07:05

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Change pacman sync timeout

Guys, sorry if the answer is overly obvious, but I've spent a couple of days searching the forums, the wiki, google, and in the config files for how to change the sync timeout in pacman, but can't find what I'm looking for.  Perhaps I'm using the wrong search terms, or looking in the wrong places, but not sure.

Anyway, when trying to sync the system with the package mirrors using pacman, there is currently a delay of what seems like 4 to 5 minutes for each mirror that is not available.  I'm wanting to change that delay to something more like a minute or so if there's no problem in doing that.

Do any of you know where that timeout period can be changed?

Thank you.


oz

Offline

#2 2011-09-03 19:02:46

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,125

Re: Change pacman sync timeout

don't know if changing the timeout is possible, but delays to skip  a non-responding mirror of more then 10 seconds are bad.

- how many mirrors do you have enabled and did you check them against http://www.archlinux.org/mirrors/status/
normally having 3 or 4 mirrors (1 primary, rest for backup) enabled is more then enough

- what Xfer command are you using ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2011-09-03 19:40:33

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Change pacman sync timeout

This isn't currently possible via the internal downloader. However, pacman4 deals with these sorts of timeouts far better than current pacman does.

Offline

#4 2011-09-03 20:17:35

ozar
Member
From: USA
Registered: 2005-02-18
Posts: 1,686

Re: Change pacman sync timeout

Thanks for the replies.

I only have core and extra repos enabled on one mirror but don't like having to wait so long when a mirror winds up being down, so wanted to shorten the timeout period.  I'm currently using just pacman and whatever transfer component it uses.

Glad to hear that timeouts will be more configurable in an upcoming release.

Thanks again.


oz

Offline

Board footer

Powered by FluxBB