You are not logged in.

#1 2016-09-09 15:15:38

Burning Smile
Member
Registered: 2016-09-05
Posts: 20

[SOLVED] Error when running sudo pacman -Syu

I had opened the software center and noticed there was an update so I installed it. (Yes I checked the news here first)

After doing a reboot and install like the prompt wanted me to upon running to check to package updates I ran  sudo pacman -Syu

Here is the output

:: Synchronizing package databases...
error: failed retrieving file 'core.db' from arch.localmsp.org : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
core is up to date
error: failed retrieving file 'extra.db' from arch.localmsp.org : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
extra is up to date
error: failed retrieving file 'community.db' from arch.localmsp.org : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
community is up to date
error: failed retrieving file 'multilib.db' from arch.localmsp.org : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
multilib is up to date
:: Starting full system upgrade...
there is nothing to do


I checked my internet connection and its still running at its full speed.

Does anyone else have this problem today, or is it something I should go dive into the wiki to find the solution to?

Thanks!

EDIT Solution was to edit the mirror list to a different US mirror.

Last edited by Burning Smile (2016-09-09 16:52:38)

Offline

#2 2016-09-09 15:27:32

amj
Member
Registered: 2008-06-13
Posts: 5

Re: [SOLVED] Error when running sudo pacman -Syu

I've had that issue some times and everytime it was related to my internet connection, either a phone uploading pictures or another device downloading something. If you've checked this already, try another pacman mirror or look for someone stealing your wifi. Good luck.

Offline

#3 2016-09-09 15:42:53

Burning Smile
Member
Registered: 2016-09-05
Posts: 20

Re: [SOLVED] Error when running sudo pacman -Syu

amj wrote:

I've had that issue some times and everytime it was related to my internet connection, either a phone uploading pictures or another device downloading something. If you've checked this already, try another pacman mirror or look for someone stealing your wifi. Good luck.

Thanks, looks like my selected mirror was the problem. From the documentation on the ArchWiki it looks like I can uncomment up to 5 mirrors. Would you recommend I do this for future use? Or would they have problems due to different versions on packages on different mirrors?

Offline

#4 2016-09-09 16:46:29

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: [SOLVED] Error when running sudo pacman -Syu

pacman will use the second mirror as a fallback if and only if it fails to connect to the first mirror (or that mirror is just too slow...)
You can uncomment as many as you want, feel free to uncomment hundreds of them... but it is unlikely that the first five will all error out necessitating more than five. And if it happens anyway I would humbly suggest you have bigger issues. wink

Personally, I recommend using reflector to create an optimized mirrorlist.

Last edited by eschwartz (2016-09-09 16:48:11)


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#5 2016-09-09 16:52:01

Burning Smile
Member
Registered: 2016-09-05
Posts: 20

Re: [SOLVED] Error when running sudo pacman -Syu

Eschwartz wrote:

pacman will use the second mirror as a fallback if and only if it fails to connect to the first mirror (or that mirror is just too slow...)
You can uncomment as many as you want, feel free to uncomment hundreds of them... but it is unlikely that the first five will all error out necessitating more than five. And if it happens anyway I would humbly suggest you have bigger issues. wink

Personally, I recommend using reflector to create an optimized mirrorlist.

Okay, I will look into it. I will mark the thread as solved now, thanks!

Offline

#6 2018-09-12 10:34:45

dreieck
Member
Registered: 2012-10-08
Posts: 74

Re: [SOLVED] Error when running sudo pacman -Syu

For me it looks like the 10s timeout is hardcoded -- did not find a way to configure it.

I need a much higher timeout, since sometimes I have a connection which stalls for a much longer time and then continues to get data through.

My workaround now is to set some `wget`-call in `XferCommand` which works fine for my situation, but has the drawback that `pacman -Sy` also retrieves the package list for repositories where it did not change.

Is there some way to change that 10s timeout in the builtin downloaded?

Offline

#7 2018-09-12 10:47:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,209

Re: [SOLVED] Error when running sudo pacman -Syu

Please create your own thread instead of necrobumping an old one.

https://wiki.archlinux.org/index.php/Co … bumping.22

Closing.

Last edited by V1del (2018-09-12 10:48:14)

Offline

Board footer

Powered by FluxBB