Chaotic-aur.db failed to download

Hello there! I am a first-time linux user, no idea what I’m doing at all, mostly googling. Installed fresh Garuda KDE dragonized on Jan 24. Dual boot. All went well until I tried installing snapd or anything from the terminal, it fails to download chaotic-aur.db. Here’s an example:

sudo pacman -Syyu
:: Synchronizing package databases…
core 138.7 KiB 6.92 KiB/s 00:20 [------------------------------------] 100%
extra 1555.1 KiB 74.5 KiB/s 00:21 [------------------------------------] 100%
community 6.0 MiB 274 KiB/s 00:23 [------------------------------------] 100%
multilib 148.9 KiB 7.42 KiB/s 00:20 [------------------------------------] 100%
chaotic-aur.db failed to download
error: failed retrieving file ‘chaotic-aur.db’ from cdn-mirror.chaotic.cx : Could not resolve host: cdn-mirror
.chaotic.cx
warning: too many errors from cdn-mirror.chaotic.cx, skipping for the remainder of this transaction
error: failed retrieving file ‘chaotic-aur.db’ from de-3-mirror.chaotic.cx : Resolving timed out after 10000 m
illiseconds
error: failed retrieving file ‘chaotic-aur.db’ from de-4-mirror.chaotic.cx : Resolving timed out after 10000 m
illiseconds
error: failed retrieving file ‘chaotic-aur.db’ from fr-mirror.chaotic.cx : Resolving timed out after 10000 mil
liseconds
error: failed retrieving file ‘chaotic-aur.db’ from bg-mirror.chaotic.cx : Resolving timed out after 10000 mil
liseconds
error: failed retrieving file ‘chaotic-aur.db’ from in-2-mirror.chaotic.cx : Resolving timed out after 10000 m
illiseconds
error: failed to synchronize all databases (download library error)

So eventually I stumbled upon this:
https://status.chaotic.cx/
https://status.chaotic.cx/mirrors
CDN mirror is down, but I saw somewhere that commenting out CDN mirror is not advised (??). I tried and commented it out anyway, didn’t work, reversed changes.
I haven’t done anything to my mirrorlist prior to receiving ‘chaotic-aur.db failed to download’ error (but again, fresh Garuda download).
First I commented out all distant servers (non-EU in my case). No effect. Some EU servers are down on the list above, so I commented them out in /etc/pacman.d/chaotic-mirrorlist

Then I tried leaving only one mirror in my list at a time and then typing upd command. Tried all healthy servers on the list. At first, upd got me this:

[:red_circle:] × upd
:: Synchronizing package databases…
core is up to date
extra is up to date
community is up to date
multilib is up to date
chaotic-aur.db failed to download
error: failed retrieving file ‘core.db’ from mirror.netcologne.de : Resolving timed out after 10000 milliseconds
error: failed retrieving file ‘extra.db’ from mirror.netcologne.de : Resolving timed out after 10000 milliseconds
error: failed retrieving file ‘community.db’ from mirror.netcologne.de : Could not resolve host: mirror.netcologne.de
warning: too many errors from mirror.netcologne.de, skipping for the remainder of this transaction
error: failed retrieving file ‘multilib.db’ from mirror.netcologne.de : Could not resolve host: mirror.netcologne.de
error: failed retrieving file ‘chaotic-aur.db’ from cdn-mirror.chaotic.cx : Resolving timed out after 14666 milliseconds
error: failed retrieving file ‘multilib.db’ from ftp.spline.inf.fu-berlin.de : Operation too slow. Less than 1bytes/sec transferred the last 10 seconds
error: failed retrieving file ‘chaotic-aur.db’ from us-ut-mirror.chaotic.cx : Could not resolve host: us-ut-mirror.chaotic.cx
warning: too many errors from us-ut-mirror.chaotic.cx, skipping for the remainder of this transaction
error: failed retrieving file ‘multilib.db’ from ftp.nluug.nl : Resolving timed out after 10000 milliseconds
error: failed retrieving file ‘multilib.db’ from lon.mirror.rackspace.com : Resolving timed out after 10000 milliseconds
error: failed retrieving file ‘multilib.db’ from archmirror.it : Resolving timed out after 10000 milliseconds
error: failed to synchronize all databases (unexpected error)

Refreshing mirrorlists using rate-mirrors, be patient please…

Failed to update mirrorlist

Checking for keyring update before starting full system update…
warning: database file for ‘chaotic-aur’ does not exist (use ‘-Sy’ to download)
error: target not found: garuda-hotfixes
error: target not found: chaotic-keyring

After a while, all I get is a short version:

[:red_circle:] × upd
:: Synchronizing package databases…
error: failed to synchronize all databases (no servers configured for repository)
Refreshing mirrorlists using rate-mirrors, be patient please…
Failed to update mirrorlist

Checking for keyring update before starting full system update…
warning: database file for ‘chaotic-aur’ does not exist (use ‘-Sy’ to download)
error: target not found: garuda-hotfixes
error: target not found: chaotic-keyring

In this thread for the seemingly same problem I found the link to the latest mirrorlist:

I checked my list and this one:
https://aur.chaotic.cx/mirrorlist.txt
they seem to be identical.
After I tinkered with my mirrorlist, I saved a copy of it and replaced all text with the one from the link above. Got a different error.

[:red_circle:] × sudo pacman -Sy chaotic-aur
:: Synchronizing package databases…
error: failed to synchronize all databases (no servers configured for repository)

[:red_circle:] × sudo pacman -Syu
:: Synchronizing package databases…
error: failed to synchronize all databases (no servers configured for repository)

I restored to the earlier snap (if I understood correct what the snap is). It still errors out on chaotic-aur and updates other packages.

I tried disabling firewall, rebooting, waiting one day, reading every thread I could find, sudo pacman - Sy and -Syu and -Syyu, upd, sudo reflector --latest 5 --sort rate --country germany,france,serbia.
Tried to refresh mirrorlist from Garuda Assistant. Got “reflector: fetching information from www.archlinux.org failed”.
Internet works ok (tho it says something about wi-fi’s “limited connectivity”, no idea, speedtest dot net looks good to me), and other package databases were updating.
Let me guess: everyone else is able to update normally and it’s a me problem?
Please, Linux, at least give me a chance here.

Hi there, welcome!
We should begin from the beginning, with your system specs (inxi -Faz, recently updated to garuda-inxi), but I'd directly try to go the hard way:
Please try running update remote fix in the terminal.

5 Likes

What you have here is not an issue with your mirrors or mirrorlist. You have an issue with your DNS.
You should get your DNS checked out, try a different DNS server, etc. and then revert those breaking pacman.conf changes (cause you really messed stuff up) with update remote fix

Garuda assistant should have an option to change your DNS server, so does Networkmanager itself

6 Likes

I did remote fix and changed DNS, run upd. Looks it like it worked. Thanks a lot! Should I delete the thread?

no, just mark @TNE's post as solution.

6 Likes

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