Update via 'yay' fails with connection time outs

Hey, I tried to update my system today but run into the following issue. Is that a general issue currently or am I the only that has that problem?

yay
:: Synchronizing package databases…
endeavouros is up to date
core is up to date
extra is up to date
community.db failed to download
multilib is up to date
error: failed retrieving file ‘core.db’ from mirror.f4st.host : Connection timed out after 10001 milliseconds
error: failed retrieving file ‘extra.db’ from mirror.f4st.host : Connection timed out after 10001 milliseconds
error: failed retrieving file ‘community.db’ from mirror.f4st.host : Connection timed out after 10001 milliseconds
warning: too many errors from mirror.f4st.host, skipping for the remainder of this transaction
error: failed retrieving file ‘multilib.db’ from mirror.f4st.host : Connection timed out after 10001 milliseconds
error: failed retrieving file ‘community.db’ from ftp.halifax.rwth-aachen.de : The requested URL returned error: 404
error: failed retrieving file ‘community.db’ from mirror.ubrco.de : The requested URL returned error: 404
error: failed retrieving file ‘community.db’ from mirror.sunred.org : The requested URL returned error: 404
error: failed retrieving file ‘community.db’ from mirror.pseudoform.org : The requested URL returned error: 404
error: failed retrieving file ‘community.db’ from mirror.mikrogravitation.org : Connection timed out after 10002 milliseconds
error: failed retrieving file ‘community.db’ from mirror.dogado.de : The requested URL returned error: 404
error: failed retrieving file ‘community.db’ from arch.phinau.de : The requested URL returned error: 404
error: failed retrieving file ‘community.db’ from archlinux.thaller.ws : The requested URL returned error: 404
error: failed retrieving file ‘community.db’ from mirror.spaceint.fr : Failed to connect to mirror.spaceint.fr port 443 after 53 ms: Could not connect to server
error: failed to synchronize all databases (download library error)
→ error refreshing databases - exit status 1

You can get info on this here: Arch repo migration

Essentially, you need to disable the Community repo.

sudo nano /etc/pacman.conf

Add a # like below to the following lines:

#[community]
#Include = /etc/pacman.d/mirrorlist

It’s really better to remove them entirely, though.

3 Likes

Okay, thanks.

Will that result in any problems? Or should all packages that I have installed already come from the other repos?

Good question, and the answer is no. But I did forget to add another command. Next time you try an update, do it like below, but just this once.

sudo pacman -Syyu

Two Ys. Even without this, it should not be a problem. Test it. :wink:

Oh, and yes, the community repo was merged with extra. So no problems.

1 Like

Note that mirror f4st is no more in use, so better remove it from /etc/pacman.d/mirrorlist.

1 Like

Thanks, I removed it!

Should that have been automatically updated somehow?

No, upstream doesn’t provide updating the mirrorlist automatically.
But you can manage the list manually, or use tools like rate-mirrors or reflector.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.