I'm using alarm on one of my Pi, and I encounter one annoying error quite frequently, and I bet I'm not the only one in that case: error: failed retrieving file 'core.db' from mirror.archlinuxarm.org : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
$this->bbcode_second_pass_code('', '[root@alarmpi ~]$ pacman -Syu
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from mirror.archlinuxarm.org : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed to update core (download library error)
error: failed retrieving file 'extra.db' from mirror.archlinuxarm.org : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed to update extra (download library error)
error: failed retrieving file 'community.db' from mirror.archlinuxarm.org : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed to update community (download library error)
error: failed retrieving file 'alarm.db' from mirror.archlinuxarm.org : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed to update alarm (download library error)
error: failed retrieving file 'aur.db' from mirror.archlinuxarm.org : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed to update aur (download library error)
error: failed to synchronize any databases
error: failed to init transaction (download library error)')
For the record - as advised, ipv6 is disabled in my /boot/cmdline.txt:
$this->bbcode_second_pass_code('', 'ipv6.disable=1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p5 rootfstype=ext4 elevator=noop rootwait')
I know how to fix this, and the fix is very quick and easy:
$this->bbcode_second_pass_code('', '[root@alarmpi ~]$ nano /etc/pacman.d/mirrorlist
=> Add a "#" to comment the line Server = http://mirror.archlinuxarm.org/armv6h/$repo
=> Remove the "#" to uncomment the line corresponding to the mirror you'd like to use, in my case Server = http://nl.mirror.archlinuxarm.org/armv6h/$repo
[root@alarmpi ~]$ pacman -Syy
You're good to go')
However, isn't there a possibility to improve the mechanism that's supposed to select the best server for you ?
I don't think it unfeasible nor very hard, I'm sure newbies who just got their Raspberry Pi (for example
 ) would appreciate it, just as much as experienced users who won't loose some precious seconds to fix this on every fresh install they do or manage.
) would appreciate it, just as much as experienced users who won't loose some precious seconds to fix this on every fresh install they do or manage.Hoping to get some feedback from you
David,



