You are not logged in.
I have recently installed Arch on my laptop and ever since it's first boot from installation, pacman has been acting strange. When I tell it to install a package, there is a long pause before each package starts downloading. It's not my internet connection, because when the downloads finally start, they go at normal speeds for my network.
Any ideas?
Thanks! ![]()
Last edited by MetaMan (2011-09-03 14:17:08)
http://localhost/signature.txt
Error 403: Forbidden
Offline
Try this: tell pacman to install something, abort when it asks you y/n and try installing again - is it still slow? Maybe it's just figuring out dependencies etc.
Offline
Tried it. That's not it.
The slowness seems to start after I hit "y". I love Arch but this problem is making it almost unusable.
And if this helps: The "slowness" is not present when I install a local file.
Last edited by MetaMan (2011-09-03 01:41:34)
http://localhost/signature.txt
Error 403: Forbidden
Offline
Are you using any XferCommand in pacman.conf?
Post the output of 'pacman -S --debug <whatever>'.
By <whatever> I mean a non-local package, not something you have already installed and you reinstall it. You need to download something, OK?
Last edited by karol (2011-09-03 01:45:03)
Offline
Are you using any XferCommand in pacman.conf?
Post the output of 'pacman -S --debug <whatever>'.By <whatever> I mean a non-local package, not something you have already installed and you reinstall it. You need to download something, OK?
The output was so long that some of the first stuff was pushed out of the buffer. Here's what I got: http://pastebin.com/download.php?i=pcvVgZx8
http://localhost/signature.txt
Error 403: Forbidden
Offline
You can redirect output e.g.
pacman --debug -S qt > foo.logOffline
I agree with falconindy. Looks pretty clear it's some problem during the download stage.
You can isolate the problem and use cURL to debug the download stage:
url=$(pacman -Sp linux | tee /dev/stderr)
curl --verbose "${url}" -o /dev/nullLast edited by lolilolicon (2011-09-03 03:30:45)
This silver ladybug at line 28...
Offline
I agree with falconindy. Looks pretty clear it's some problem during the download stage.
You can isolate the problem and use cURL to debug the download stage:url=$(pacman -Sp linux | tee /dev/stderr) curl --verbose "${url}" -o /dev/null
[jesse@ArchBook pacman.d]$ url=$(pacman -Sp linux | tee /dev/stderr)
http://mirrors1.kernel.org/archlinux/core/os/i686/linux-3.0.4-1-i686.pkg.tar.xz
[jesse@ArchBook pacman.d]$ curl --verbose "${url}" -o /dev/null
* About to connect() to mirrors1.kernel.org port 80 (#0)
* Trying 149.20.4.71... % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:02:30 --:--:-- 0Timeout
* Trying 2001:4f8:1:10:1997:313:1:0... Failed to connect to 2001:4f8:1:10:1997:313:1:0: Network is unreachable
* Success
* couldn't connect to host
* Closing connection #0
curl: (7) Failed to connect to 2001:4f8:1:10:1997:313:1:0: Network is unreachableIt keeps timing out... couldn't download the file from a web browser either. Got the above response the 6 times I tried it.
Could it have anything to do with breach at kernel.org?
I'll try some different mirrors. Do you know any good US ones that are usually well-kept?
http://localhost/signature.txt
Error 403: Forbidden
Offline
----8<----
It keeps timing out... couldn't download the file from a web browser either. Got the above response the 6 times I tried it.Could it have anything to do with breach at kernel.org?
I'll try some different mirrors. Do you know any good US ones that are usually well-kept?
mirrors.kernel.org and mirrors1.kernel.org are not working right now, presumably under maintenance after the breach.
Pick a mirror here: https://www.archlinux.org/mirrors/status/
This silver ladybug at line 28...
Offline
Thanks! Everything's working now. ![]()
http://localhost/signature.txt
Error 403: Forbidden
Offline
Is there a specific process to change mirrors? I commented out all mirrors except http://cake.lib.fit.edu/archlinux/, but my output of
url=$(pacman -Sp linux | tee /dev/stderr)
curl --verbose "${url}" -o /dev/nullstill is
03:16 PM >> url=$(pacman -Sp linux | tee /dev/stderr)
[url]ftp://mirrors.kernel.org/archlinux/core/os/x86_64/linux-3.0.1-1-x86_64.pkg.tar.xz[/url]
>> curl --verbose "${url}" -o /dev/null
* About to connect() to mirrors.kernel.org port 21 (#0)
* Trying 149.20.4.71... % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:02:30 --:--:-- 0TimeoutWhy is it still trying to connect to kernel.org?
Last edited by TheHebes (2011-09-03 19:41:40)
Laptops:
MSI GS60 Ghost
Asus Zenbook Pro UX501VW
Lenovo Thinkpad X120e
Offline
Is there a specific process to change mirrors? I commented out all mirrors except http://cake.lib.fit.edu/archlinux/, but my output of
url=$(pacman -Sp linux | tee /dev/stderr) curl --verbose "${url}" -o /dev/nullstill is
03:16 PM >> url=$(pacman -Sp linux | tee /dev/stderr) [url]ftp://mirrors.kernel.org/archlinux/core/os/x86_64/linux-3.0.1-1-x86_64.pkg.tar.xz[/url] >> curl --verbose "${url}" -o /dev/null * About to connect() to mirrors.kernel.org port 21 (#0) * Trying 149.20.4.71... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:02:30 --:--:-- 0TimeoutWhy is it still trying to connect to kernel.org?
Did you do a 'pacman -Syyu' ?
http://localhost/signature.txt
Error 403: Forbidden
Offline
If the above doesn't work, post your pacman.conf and your mirrorlist.
Offline