`update`: error: failed to synchronize all databases (unexpected error)

I have the same issue, I’m not from Asia, I’m from Poland. And I’m not connected to any VPN.

:: Synchronizowanie baz danych z pakietami…
garuda is up to date
core.db failed to download
extra.db failed to download
multilib.db failed to download
chaotic-aur                             2,6 MiB   247 KiB/s 00:11 [------------------------------------] 100%
błąd:  nie udało się pobrać pliku 'core.db' z mirror.cyberbits.asia : Failed to connect to mirror.cyberbits.asia port 443 after 5186 ms: Couldn't connect to server
błąd:  nie udało się pobrać pliku 'extra.db' z mirror.cyberbits.asia : Failed to connect to mirror.cyberbits.asia port 443 after 5186 ms: Couldn't connect to server
błąd:  nie udało się pobrać pliku 'multilib.db' z mirror.cyberbits.asia : Failed to connect to mirror.cyberbits.asia port 443 after 5186 ms: Couldn't connect to server
ostrzeżenie: too many errors from mirror.cyberbits.asia, skipping for the remainder of this transaction
błąd:  nie udało się zsynchronizować wszystkich baz danych (niespodziewany błąd)
:: Synchronizowanie baz danych z pakietami…
chaotic-aur                             2,6 MiB   166 KiB/s 00:16 [####################################] 100%

--> Refreshing mirrorlists using rate-mirrors, please be patient..🍵

:: Synchronizowanie baz danych z pakietami…
garuda downloading...
core downloading...
extra downloading...
multilib downloading...
chaotic-aur downloading...
błąd:  nie udało się pobrać pliku 'core.db' z mirror.cyberbits.asia : Failed to connect to mirror.cyberbits.asia port 443 after 5013 ms: Couldn't connect to server
błąd:  nie udało się pobrać pliku 'extra.db' z mirror.cyberbits.asia : Failed to connect to mirror.cyberbits.asia port 443 after 5013 ms: Couldn't connect to server
błąd:  nie udało się pobrać pliku 'multilib.db' z mirror.cyberbits.asia : Failed to connect to mirror.cyberbits.asia port 443 after 5013 ms: Couldn't connect to server
ostrzeżenie: too many errors from mirror.cyberbits.asia, skipping for the remainder of this transaction
błąd:  nie udało się zsynchronizować wszystkich baz danych (niespodziewany błąd)

Failed to update mirrorlist
:: Synchronizowanie baz danych z pakietami…
garuda downloading...
core downloading...
extra downloading...
multilib downloading...
chaotic-aur downloading...
błąd:  nie udało się pobrać pliku 'core.db' z mirror.cyberbits.asia : Failed to connect to mirror.cyberbits.asia port 443 after 5010 ms: Couldn't connect to server
błąd:  nie udało się pobrać pliku 'extra.db' z mirror.cyberbits.asia : Failed to connect to mirror.cyberbits.asia port 443 after 5010 ms: Couldn't connect to server
błąd:  nie udało się pobrać pliku 'multilib.db' z mirror.cyberbits.asia : Failed to connect to mirror.cyberbits.asia port 443 after 5010 ms: Couldn't connect to server
ostrzeżenie: too many errors from mirror.cyberbits.asia, skipping for the remainder of this transaction
błąd:  nie udało się zsynchronizować wszystkich baz danych (niespodziewany błąd)
:: Synchronizowanie baz danych z pakietami…
chaotic-aur downloading...
:: Synchronizing package databases...
garuda is up to date
core.db failed to download
extra.db failed to download
multilib.db failed to download
chaotic-aur is up to date
error: failed retrieving file 'core.db' from mirror.cyberbits.asia : Failed to connect to mirror.cyberbits.asia port 443 after 5059 ms: Couldn't connect to server
error: failed retrieving file 'extra.db' from mirror.cyberbits.asia : Failed to connect to mirror.cyberbits.asia port 443 after 5059 ms: Couldn't connect to server
error: failed retrieving file 'multilib.db' from mirror.cyberbits.asia : Failed to connect to mirror.cyberbits.asia port 443 after 5061 ms: Couldn't connect to server
warning: too many errors from mirror.cyberbits.asia, skipping for the remainder of this transaction
error: failed to synchronize all databases (unexpected error)

If you use garuda-update -a --skip-mirrorlist in place of sudo pacman -Syu in Froggyman’s instructions, you’ll be fine.
Thanks for the steps Froggyman! :smiley:

And yes this is happening to me too, although since I’m in Australia that’s to be expected I guess.

6 Likes

I’ve also started having this issue, with my last update going fine a week ago. Not sure if this is the “proper” way to fix it, but I tried all of the above fixes, as well as doing a “garuda-update remote fix”, which looked like everything worked perfectly up until the actual final step which just reset my mirror-list back to mirror.cyberbits.asia completely breaking it again.

Also not sure why it is trying to use this mirror, as I am USA based, and use no VPN on this machine

By changing the mirror list to say something in the US or Canada. What exactually will happen to garuda?

Nothing, but you are going around the tooling built for updating with pacman. @lum1nuss 's proposal is nice

There sems to be an upstream issue with mirror list generation packages in general right now. Set them manually for now…

Arch Linux - Pacman Mirrorlist Generator

9 Likes

I’m having the same issue… I have been trying to update my Gaurda for a week now and it is not working. I need help please

There is already a workaround in this thread here. Don’t be a sloth and read a bit :wink:

2 Likes

Thank you!

Tried with the manual route via pacman -Syu and manually edited list of mirrors. It ended breaking up my install. I had to restore a snapshot. Can’t update right now. Does anybody know if by re-installing from scratch to the latest Dragonized version the issue is still persisting?

Just wait some hours.

9 Likes

That is exactly my point, it is like pissing in the wind :smiley:

Yeah I had this issue last night before bed, update would update mirrorlist to a single failing mirror in asia. I was afraid I was in a partial upgrade state so I used btrfs snapshot to roll back and did a standard pacman -Syu

Not everything went well though. I answered yes to:
:: Starting full system upgrade...
:: Replace kcolorpicker with extra/kcolorpicker-qt5? [Y/n] y
:: Replace kimageannotator with extra/kimageannotator-qt5? [Y/n] y
:: Replace mhwd-garuda-git with garuda/mhwd-garuda? [Y/n] y

Where things wend a little wrong:

(3/3) removing mhwd-garuda-git
/tmp/alpm_KREypR/.INSTALL: line 27: mhwd-gpu: command not found
error: command failed to execute correctly

here is a link to the complete output of pacman -Syu

So I guess my question is should I wait a few days and reinstall mhwd-garuda to fix the error? Also should this be in it’s own topic because I can create one if need be.

Package (2)             Old Version  New Version    Net Change

mhwd-garuda             1.1.4-1                      -0.27 MiB
garuda/mhwd-garuda-git               r25.3a28734-1    0.27 MiB

Seems there is a loop, just wait or put it on ignore list.

4 Likes

There’s a thread already…

Mwhd-garuda-git not installing - Issues & Assistance - Garuda Linux Forum

5 Likes

not having updates is one thing
not being able to finish a work task because you need some piece of software and the mirror list is broken because it has to be updated on every update is another thing
:smiley:

Exactly. I also see these as two different issues. 1) garuda update failing due to mirror list auto-defaulting to a single non-working mirror in Asia + reflector failing to permanently update pacman mirrorlist in etc and 2) mwhd-garuda package conflict with the git version leading to manually invoked updates going trash

Just read, please.

1 Like

Fixed by @ dr460nf1r3

update
:: Synchronizing package databases...
 garuda is up to date
 core is up to date
 extra                                                        8,3 MiB  4,24 MiB/s 00:02 [---------------------------------------------------] 100%
 multilib is up to date
 chaotic-aur                                                  2,6 MiB  1789 KiB/s 00:01 [---------------------------------------------------] 100%
:: Starting full system upgrade...
 there is nothing to do

--> Updating AUR packages with paru..
:: Looking for devel upgrades...
 there is nothing to do

System updated! 🐧
8 Likes

how do you fixed?