You are not logged in.
For some reason, the first time I use pacman (after not having used it in a while), the connection times out, but when I Ctrl+C and then do the exact same thing, it starts working.
Any ideas why?
$ sudo pacman -S tmux
resolving dependencies...
looking for inter-conflicts...
Targets (2): libevent-2.0.19-1 tmux-1.6-2
Total Download Size: 0.44 MiB
Total Installed Size: 2.19 MiB
Proceed with installation? [Y/n]
:: Retrieving packages from core...
error: failed retrieving file 'libevent-2.0.19-1-i686.pkg.tar.xz' from ftp.lysator.liu.se : Connection time-out
^Cerror: failed retrieving file 'libevent-2.0.19-1-i686.pkg.tar.xz' from mirrors.ustc.edu.cn : Connection time-out
Interrupt signal received
$ sudo pacman -S tmux
resolving dependencies...
looking for inter-conflicts...
Targets (2): libevent-2.0.19-1 tmux-1.6-2
Total Download Size: 0.44 MiB
Total Installed Size: 2.19 MiB
Proceed with installation? [Y/n]
:: Retrieving packages from core...
libevent-2.0.19-1-i686 296.9 KiB 724K/s 00:00 [#####################] 100%
:: Retrieving packages from community...
tmux-1.6-2-i686 152.2 KiB 1801K/s 00:00 [#####################] 100%
(2/2) checking package integrity [#####################] 100%
(2/2) loading package files [#####################] 100%
(2/2) checking for file conflicts [#####################] 100%
(2/2) checking available disk space [#####################] 100%
(1/2) installing libevent [#####################] 100%
Optional dependencies for libevent
python2: to use event_rpcgen.py
(2/2) installing tmux [#####################] 100%Last edited by damd (2012-08-13 11:20:38)
Offline
I'm not sure if or why it would cause this particular pattern, but two suggestions that may help:
1) don't use ftp mirrors.
2) use reflector, or one of the similar available tools, to select a few good mirrors for your location/connection.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I'm not sure if or why it would cause this particular pattern, but two suggestions that may help:
1) don't use ftp mirrors.
2) use reflector, or one of the similar available tools, to select a few good mirrors for your location/connection.
This happens regardless of what mirror I use.
Offline
Is this issue pacman-specific? Do you know that you definitely have a known-good connection when you're invoking pacman?
Incidentally, reflector returns ftp mirrors in my results - I thought that ftp mirrors had been done away with?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Is this issue pacman-specific? Do you know that you definitely have a known-good connection when you're invoking pacman?
I'm using SSH to connect to the server where this problem is happening, indicating that the LAN connection works. Before invoking pacman I've tried pinging google.com, which works flawlessly.
The problem is still there, I just tried it.
EDIT: This actually happens with wget too:
$ wget https://aur.archlinux.org/packages/pa/p … ery.tar.gz
--2012-08-12 21:11:32-- https://aur.archlinux.org/packages/pa/p … ery.tar.gz
Resolving aur.archlinux.org... ^C (took a very long time)
$ wget https://aur.archlinux.org/packages/pa/p … ery.tar.gz
--2012-08-12 21:11:43-- https://aur.archlinux.org/packages/pa/p … ery.tar.gz
Resolving aur.archlinux.org... 208.92.232.29 (works here)
Last edited by damd (2012-08-12 19:12:35)
Offline
This still happens to me. Any ideas?
Offline
pacman --debug
pacman -vCLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline