You are not logged in.

#1 2012-11-05 20:10:30

nathanb
Member
From: New Zealand
Registered: 2011-11-28
Posts: 63
Website

[SOLVED] Is there a way to disable the 10s timeout in pacman?

I keep hitting this timeout because of some silly corporate network shenanigans. However, if I manually download the file from the mirror then it (eventually) completes. I don't mind typing 'pacman -Syu' and then waiting a few extra minutes for the update to go through. I just hate having to manually download each file.

Could this maybe be an option in pacman.conf?

Last edited by nathanb (2012-11-06 23:23:25)

Offline

#2 2012-11-05 20:32:23

tobsen
Member
Registered: 2011-10-13
Posts: 36

Re: [SOLVED] Is there a way to disable the 10s timeout in pacman?

You could use wget or something like this with pacman. Just look into the manpages or .conf file. I do this when I'm in my coorporate network because of proxy servers.

Offline

#3 2012-11-06 00:53:01

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 6,796

Re: [SOLVED] Is there a way to disable the 10s timeout in pacman?

man pacman.conf

Look for XferCommand


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#4 2012-11-06 03:21:26

nathanb
Member
From: New Zealand
Registered: 2011-11-28
Posts: 63
Website

Re: [SOLVED] Is there a way to disable the 10s timeout in pacman?

I tried that (and I did read the manpage before posting), but even using wget or curl it still seems to time out. Am I maybe doing something wrong?

Offline

#5 2012-11-06 03:29:17

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 6,796

Re: [SOLVED] Is there a way to disable the 10s timeout in pacman?

The command line options for wget/curl (try aria2c as well) should enable you to specify a timeout.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#6 2012-11-06 23:23:03

nathanb
Member
From: New Zealand
Registered: 2011-11-28
Posts: 63
Website

Re: [SOLVED] Is there a way to disable the 10s timeout in pacman?

That worked. I used wget -O %o %u and it now succeeds.

Offline

Board footer

Powered by FluxBB