You are not logged in.

#1 2022-08-14 08:42:23

ordinary.schreiber
Member
Registered: 2021-10-15
Posts: 146

[SOLVED]Pacman -Sy failed to retrieve file 'core.db' from mirror

Hello everybody, after successfully upgrading my system with pacman -Syu, I synchronised the packages again (don't know why I did that) and  got the following output:

$ sudo pacman -Sy
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
error: failed retrieving file 'core.db' from mirror.luzea.de : Failed to connect to mirror.luzea.de port 443 after 126 ms: Connection refused
error: failed retrieving file 'extra.db' from mirror.luzea.de : Failed to connect to mirror.luzea.de port 443 after 96 ms: Connection refused
error: failed retrieving file 'community.db' from mirror.luzea.de : Failed to connect to mirror.luzea.de port 443 after 102 ms: Connection refused
warning: too many errors from mirror.luzea.de, skipping for the remainder of this transaction

I noticed that the one that's failing is a mirror in Germany (I think). Now I find myself in Italy but I just came back from a vacation in Austria, I'm not sure if that's related.

Thanks in advance.

Last edited by ordinary.schreiber (2022-08-14 09:56:17)

Offline

#2 2022-08-14 09:13:34

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,227

Re: [SOLVED]Pacman -Sy failed to retrieve file 'core.db' from mirror

https://archlinux.org/mirrors/luzea.de/1653/ - mirror isn't usable since yesterday (and seems currently syncing)
https://archlinux.org/packages/community/any/reflector/ - enable the timer or use it in a cron job.

Offline

#3 2022-08-14 09:13:40

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,680

Re: [SOLVED]Pacman -Sy failed to retrieve file 'core.db' from mirror

Edit your mirrorlist and choose a different mirror

Edit: ninjaed

Last edited by skunktrader (2022-08-14 09:14:04)

Offline

#4 2022-08-14 09:25:16

ordinary.schreiber
Member
Registered: 2021-10-15
Posts: 146

Re: [SOLVED]Pacman -Sy failed to retrieve file 'core.db' from mirror

I was thinking about simply commenting that mirror from my mirrorlist... would it be sufficient or would I encounter other issues missing a mirror?

Offline

#5 2022-08-14 09:32:39

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,227

Re: [SOLVED]Pacman -Sy failed to retrieve file 'core.db' from mirror

You should keep your mirrorlist updated, either by using sth. like reflector or by frequently generating it using eg. https://archlinux.org/mirrorlist/ which you want to incorporate the mirror status.

Offline

#6 2022-08-14 09:37:43

ordinary.schreiber
Member
Registered: 2021-10-15
Posts: 146

Re: [SOLVED]Pacman -Sy failed to retrieve file 'core.db' from mirror

Thank you for the advice. I will probably update it right away.

ordinary.schreiber wrote:

...would I encounter other issues missing a mirror?

What about this point though?

Offline

#7 2022-08-14 09:54:50

ordinary.schreiber
Member
Registered: 2021-10-15
Posts: 146

Re: [SOLVED]Pacman -Sy failed to retrieve file 'core.db' from mirror

Anyways, enabling and starting reflector.service obviously solved it.

Offline

#8 2022-08-14 12:15:02

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,227

Re: [SOLVED]Pacman -Sy failed to retrieve file 'core.db' from mirror

You just need at least one good mirror in that list to perform updates - any specific mirror isn't relevant.

Offline

#9 2022-08-15 16:23:53

ordinary.schreiber
Member
Registered: 2021-10-15
Posts: 146

Re: [SOLVED]Pacman -Sy failed to retrieve file 'core.db' from mirror

Clear, thank you for the tip and for making me look into my mirrorlist. I had reflector already for a while but I didn't realize reflector.service wasn't starting

Last edited by ordinary.schreiber (2022-08-15 16:25:58)

Offline

Board footer

Powered by FluxBB