與 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 請求時我不會看到這種煩惱。我怎樣才能解決這個問題?

相關內容