与 pacman 频繁超时

与 pacman 频繁超时

我注意到使用 pacman 时会超时。经常。

mike@longshot:~☺  sudo pacman -Syu
[sudo] password for root: 
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from mirror.cedia.org.ec : Resolving timed out after 10520 milliseconds
error: failed retrieving file 'core.db' from download.nus.edu.sg : Resolving timed out after 10519 milliseconds
^C
Interrupt signal received

mike@longshot:~☺  sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
 there is nothing to do

我已经尝试过了rankmirrors,并且反射器,以及镜像列表生成器

我可以获得更快的下载速度,但仍然经常超时。

mike@longshot:~☺  sudo pacman -S bluez bluez-utils
warning: bluez-5.40-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (2) bluez-5.40-1  bluez-utils-5.40-1

Total Download Size:   0.93 MiB
Total Installed Size:  8.00 MiB
Net Upgrade Size:      6.30 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
error: failed retrieving file 'bluez-utils-5.40-1-x86_64.pkg.tar.xz' from arch.localmsp.org : Resolving timed out after 10518 milliseconds
error: failed retrieving file 'bluez-utils-5.40-1-x86_64.pkg.tar.xz' from lug.mtu.edu : Resolving timed out after 10520 milliseconds
error: failed retrieving file 'bluez-utils-5.40-1-x86_64.pkg.tar.xz' from muug.ca : Resolving timed out after 10520 milliseconds

这是一种低级的烦恼,我希望消除这种烦恼,并且在发出其他 http 请求时我不会看到这种烦恼。我怎样才能解决这个问题?

相关内容