You are not logged in.
I know long is relative, but I recently reinstalled Arch and it seems to take a lot longer than it used to. This is while syncing when everything is up to date. Obviously, not something I do often, but I have similar delays when searching or installing packages.
sudo time pacman -Sy
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
archlinuxfr is up to date
real 0m10.497s
user 0m10.037s
sys 0m0.013sLast edited by multiphrenic (2013-05-24 14:29:31)
Offline
/etc/pacman.d/mirrorlist is probably a good file to look into.
Offline
reflector is great to find the best mirrors for your system. But if it seems like just a lag, then timeout, and then quick sync, it *might* be an IPv6 issue.
You can test by doing (as root or with sudo) `sysctl net.ipv6.conf.all.disable_ipv6=1` then rerun pacman and see if it is better.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
reflector is great to find the best mirrors for your system. But if it seems like just a lag, then timeout, and then quick sync, it *might* be an IPv6 issue.
You can test by doing (as root or with sudo) `sysctl net.ipv6.conf.all.disable_ipv6=1` then rerun pacman and see if it is better.
I should have mentioned I tried 4 mirrors, all with similar results.
Looks like it's only with resolving the domain names that I am having problems.
Just tried
wget https://www.archlinux.org/packages/extra/x86_64/ucommon/download/took about 8 seconds to resolve, and 0.7s to download (811kb/s)
Tried disabling ipv6, no difference..
EDIT:
looks like i had a dead dns server in /etc/resolv.conf. Changed my DNS servers on my router to Google's (8.8.8.8) (8.8.4.4) and things are better now (<1s)
Last edited by multiphrenic (2013-05-24 01:53:54)
Offline
Wow, okay that was pretty unexpected... please mark the thread as [Solved] then.
Offline