summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-05-09 18:53:40 -0700
committerXiao Pan <xyz@flylightning.xyz>2025-05-09 19:02:12 -0700
commiteca31a6986d33e1fa53705f54f4fb2bffb7132f6 (patch)
treed4c99769045d701d5adf859dc0af8b80b02f4c1a
parentbe8d7a0179728b51e8bec7aaaa36e1c84630d455 (diff)
default mirror often slow, use others
Default mirror often outputs errors like this: "error: failed retrieving file 'core.db' from mirror.archlinuxarm.org : Connection timed out after 10002 milliseconds". So I tried to specify mirrors manually and it seems much better now. Another way maybe is DisableDownloadTimeout in pacman.conf, not tested.
-rw-r--r--etc/pacman.d/mirrorlist8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/pacman.d/mirrorlist b/etc/pacman.d/mirrorlist
index e9d9dad3..2c5d8711 100644
--- a/etc/pacman.d/mirrorlist
+++ b/etc/pacman.d/mirrorlist
@@ -4,7 +4,7 @@
#
## Geo-IP based mirror selection and load balancing
-Server = http://mirror.archlinuxarm.org/$arch/$repo
+#Server = http://mirror.archlinuxarm.org/$arch/$repo
### Mirrors by country
@@ -50,8 +50,8 @@ Server = http://mirror.archlinuxarm.org/$arch/$repo
### United States
## California
-# Server = http://ca.us.mirror.archlinuxarm.org/$arch/$repo
+Server = http://ca.us.mirror.archlinuxarm.org/$arch/$repo
## Florida
-# Server = http://fl.us.mirror.archlinuxarm.org/$arch/$repo
+Server = http://fl.us.mirror.archlinuxarm.org/$arch/$repo
## New Jersey
-# Server = http://nj.us.mirror.archlinuxarm.org/$arch/$repo
+Server = http://nj.us.mirror.archlinuxarm.org/$arch/$repo