You are not logged in.
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
Pretty vague question here... but try changing the order in your mirrorlist?
Offline
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
@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
@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