You are not logged in.

#1 2013-01-12 18:16:26

geekoo
Member
Registered: 2013-01-12
Posts: 3

Connection time-out issues each first try of pacman

Hi,

  I am new to arch. I keep getting a connection time-out each time I use pacman for the first time. I have to do a ctrl+z to stop the command and then delete the db.lck file and then when I run pacman again, any operation on pacman that I had tried works flawlessly.

  Do I need to do something to fix this? I check there was a similar thread in 2012, but it ended without any results.

Cheers,
Prashanth

Offline

#2 2013-01-13 00:05:27

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Connection time-out issues each first try of pacman

Pretty vague question here... but try changing the order in your mirrorlist?

Offline

#3 2013-01-13 00:10:45

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,462
Website

Re: Connection time-out issues each first try of pacman

I have the same problem, but only one one network that I am occasionally on.  I also have to disable ipv6 to get tolerable load times for any web page.  I don't know if the two are connected, because (I think) I get the same pacman timeouts even after disabling ipv6.  But it only times out the first time, then works perfectly after that ... and it is only on that one network (managed by poorly trained monkeys).

Do you have other networks you could try this on to see if it is just on the one?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2013-01-13 09:29:37

geekoo
Member
Registered: 2013-01-12
Posts: 3

Re: Connection time-out issues each first try of pacman

@WonderWoofy: The second time on it works with the same mirrors. I am using the Indian http mirror at the top of the list. US mirror follows. When it fails, it takes a sweet 30 odd minutes to run through all of the mirrors and fails.

@Triiby: No other networks unfortunately. However I feel that running the command off X (using a terminal emulator) works even the first time around. Whereas running it from the terminal (logged in a either root or user) runs me into this problem.

Offline

#5 2013-01-13 12:28:53

HungGarTiger
Member
From: nz/auckland/
Registered: 2012-06-27
Posts: 187

Re: Connection time-out issues each first try of pacman

geekoo wrote:

@WonderWoofy: The second time on it works with the same mirrors. I am using the Indian http mirror at the top of the list. US mirror follows. When it fails, it takes a sweet 30 odd minutes to run through all of the mirrors and fails.

I'm pretty sure you can disable all the mirrors you don't want to use, try lowering the list to only those in Asia to minize your waiting time atleast. I get a time-out occasionally on the first run, but running anything inside China's GFW is a roll of the dice.


"No sympathy for the devil. If you buy the ticket, take the ride."
- Hunter S. Thompson

Offline

Board footer

Powered by FluxBB