I get errors while trying to install apps or update the system

It's my first time using Garuda. I have installed and used Arch and Manjaro before.
I have installed Garuda 3 times but I keep getting the same error.

  1. This error when I try to 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

Log:

[sudo] password for kjoif:       
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 1: directive 'Automatic per-country routing of the mirrors below.' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 4: directive 'CDN (delayed syncing)' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 5: directive 'By: Fosshost' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 8: directive 'USA' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 9: directive '* Utah, By: ash <t.me/the_ashh>' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 11: directive '* Los Angeles - CA, By: IRC-Nerds <t.me/@sorcerer420>' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 14: directive 'Spain' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 15: directive '* By: JKANetwork' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 17: directive '* By: ĂŤcar' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 20: directive 'Germany' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 21: directive '* By: Nico' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 23: directive '* By: ParanoidBangL' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 25: directive '* By: itsTyrion' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 27: directive '* By: redgloboli' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 30: directive 'France' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 31: directive '* By: IRC-Nerds <t.me/@sorcerer420>' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 46: directive 'Toronto, Canada' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 47: directive '* By freebird54' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 50: directive 'Mumbai, India' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 51: directive 'By viruz4274' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 53: directive '* By WebWerks' in section 'chaotic-aur' not recognized.
:: 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 archmirror.it : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'extra.db' from archmirror.it : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'community.db' from archmirror.it : SSL certificate problem: unable to get local issuer certificate
warning: too many errors from archmirror.it, skipping for the remainder of this transaction
error: failed retrieving file 'multilib.db' from archmirror.it : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'chaotic-aur.db' from geo-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'core.db' from mirror.cyberbits.asia : Could not resolve host: mirror.cyberbits.asia
warning: too many errors from mirror.cyberbits.asia, skipping for the remainder of this transaction
error: failed retrieving file 'extra.db' from mirror.cyberbits.asia : Could not resolve host: mirror.cyberbits.asia
error: failed retrieving file 'multilib.db' from mirror.cyberbits.asia : Could not resolve host: mirror.cyberbits.asia
error: failed retrieving file 'community.db' from mirror.cyberbits.asia : Could not resolve host: mirror.cyberbits.asia
error: failed retrieving file 'chaotic-aur.db' from cdn-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'extra.db' from archlinux.thaller.ws : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'multilib.db' from archlinux.thaller.ws : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'community.db' from archlinux.thaller.ws : SSL certificate problem: unable to get local issuer certificate
warning: too many errors from archlinux.thaller.ws, skipping for the remainder of this transaction
error: failed retrieving file 'core.db' from archlinux.thaller.ws : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'chaotic-aur.db' from us-ut-mirror.chaotic.cx : Resolving timed out after 10000 milliseconds
error: failed retrieving file 'chaotic-aur.db' from us-ca-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'chaotic-aur.db' from es-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'chaotic-aur.db' from es-2-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'chaotic-aur.db' from de-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'chaotic-aur.db' from de-2-mirror.chaotic.cx : Resolving timed out after 10000 milliseconds
error: failed retrieving file 'chaotic-aur.db' from de-3-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'chaotic-aur.db' from de-4-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'chaotic-aur.db' from fr-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'chaotic-aur.db' from br-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'chaotic-aur.db' from kr-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'chaotic-aur.db' from bg-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'chaotic-aur.db' from ca-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'chaotic-aur.db' from in-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'chaotic-aur.db' from in-2-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
warning: lock file missing /var/lib/pacman/db.lck
error: failed to synchronize all databases (unexpected system error)

Refreshing mirrorlists using reflector, be patient please..
[2022-01-31 15:54:06] WARNING: failed to rate http(s) download (https://phinau.de/arch/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-01-31 15:54:17] WARNING: failed to rate http(s) download (https://mirror.luzea.de/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
[2022-01-31 15:54:18] WARNING: failed to rate http(s) download (https://archlinux.thaller.ws/community/os/x86_64/community.db): <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>
[2022-01-31 15:54:20] WARNING: failed to rate http(s) download (https://mirror.hackingand.coffee/arch/community/os/x86_64/community.db): <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)>
[2022-01-31 15:54:26] WARNING: failed to rate http(s) download (https://mirror.cspacehostings.com/archlinux/community/os/x86_64/community.db): Download timed out after 5 second(s).
################################################################################
################# Arch Linux mirrorlist generated by Reflector #################
################################################################################

# With:       reflector --latest 5 --age 2 --fastest 5 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
# When:       2022-01-31 10:09:26 UTC
# From:       https://archlinux.org/mirrors/status/json/
# Retrieved:  2022-01-31 10:08:59 UTC
# Last Check: 2022-01-31 10:06:50 UTC

Server = https://phinau.de/arch/$repo/os/$arch
Server = https://mirror.luzea.de/archlinux/$repo/os/$arch
Server = https://archlinux.thaller.ws/$repo/os/$arch
Server = https://mirror.hackingand.coffee/arch/$repo/os/$arch
Server = https://mirror.cspacehostings.com/archlinux/$repo/os/$arch

warning: config file /etc/pacman.d/chaotic-mirrorlist, line 1: directive 'Automatic per-country routing of the mirrors below.' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 4: directive 'CDN (delayed syncing)' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 5: directive 'By: Fosshost' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 8: directive 'USA' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 9: directive '* Utah, By: ash <t.me/the_ashh>' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 11: directive '* Los Angeles - CA, By: IRC-Nerds <t.me/@sorcerer420>' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 14: directive 'Spain' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 15: directive '* By: JKANetwork' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 17: directive '* By: ĂŤcar' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 20: directive 'Germany' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 21: directive '* By: Nico' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 23: directive '* By: ParanoidBangL' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 25: directive '* By: itsTyrion' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 27: directive '* By: redgloboli' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 30: directive 'France' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 31: directive '* By: IRC-Nerds <t.me/@sorcerer420>' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 46: directive 'Toronto, Canada' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 47: directive '* By freebird54' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 50: directive 'Mumbai, India' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 51: directive 'By viruz4274' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 53: directive '* By WebWerks' in section 'chaotic-aur' not recognized.
:: Synchronizing package databases...
 core                                                                                                             138.5 KiB  30.2 KiB/s 00:05 [---------------------------------------------------------------------------------------] 100%
 extra                                                                                                           1554.0 KiB   113 KiB/s 00:14 [---------------------------------------------------------------------------------------] 100%
 community                                                                                                          6.1 MiB   155 KiB/s 00:40 [---------------------------------------------------------------------------------------] 100%
 multilib                                                                                                         149.0 KiB  44.7 KiB/s 00:03 [---------------------------------------------------------------------------------------] 100%
 chaotic-aur.db failed to download
error: failed retrieving file 'chaotic-aur.db' from geo-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'chaotic-aur.db' from cdn-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'chaotic-aur.db' from us-ut-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'chaotic-aur.db' from us-ca-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'chaotic-aur.db' from es-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'chaotic-aur.db' from es-2-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'chaotic-aur.db' from de-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'chaotic-aur.db' from de-2-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'chaotic-aur.db' from de-3-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'chaotic-aur.db' from de-4-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'chaotic-aur.db' from fr-mirror.chaotic.cx : Resolving timed out after 10000 milliseconds
error: failed retrieving file 'chaotic-aur.db' from br-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'chaotic-aur.db' from kr-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'chaotic-aur.db' from bg-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'chaotic-aur.db' from ca-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'chaotic-aur.db' from in-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed retrieving file 'chaotic-aur.db' from in-2-mirror.chaotic.cx : SSL certificate problem: unable to get local issuer certificate
error: failed to synchronize all databases (download library error)

Failed to update mirrorlist


Checking for keyring update before starting full system update..
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 1: directive 'Automatic per-country routing of the mirrors below.' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 4: directive 'CDN (delayed syncing)' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 5: directive 'By: Fosshost' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 8: directive 'USA' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 9: directive '* Utah, By: ash <t.me/the_ashh>' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 11: directive '* Los Angeles - CA, By: IRC-Nerds <t.me/@sorcerer420>' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 14: directive 'Spain' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 15: directive '* By: JKANetwork' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 17: directive '* By: ĂŤcar' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 20: directive 'Germany' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 21: directive '* By: Nico' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 23: directive '* By: ParanoidBangL' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 25: directive '* By: itsTyrion' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 27: directive '* By: redgloboli' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 30: directive 'France' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 31: directive '* By: IRC-Nerds <t.me/@sorcerer420>' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 46: directive 'Toronto, Canada' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 47: directive '* By freebird54' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 50: directive 'Mumbai, India' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 51: directive 'By viruz4274' in section 'chaotic-aur' not recognized.
warning: config file /etc/pacman.d/chaotic-mirrorlist, line 53: directive '* By WebWerks' in section 'chaotic-aur' not recognized.
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```

Apparently the mirrorlist file is horribly corrupted; it looks like you’ve got a copy of the site index page rather than a list of mirror servers.

Which image did you install, and what are you doing after booting into the installed OS to trigger this issue?

3 Likes

I did absolutely nothing after installation. I just ran the Garuda assistant to update the system and this happens. First two times I used with KDE Dr460nized. Then the third time I used KDE bare one. All three times I did absolutely nothing just installed the system and ran the update command to get this error.

Apparently the mirrorlist file is horribly corrupted; it looks like you’ve got a copy of the site index page rather than a list of mirror servers.

So now how do I fix it?

Go here:

and follow the instructions to re-add the repository to your system.

Then you can work out why it became corrupted in the first place so, if there is a problem, it can be fixed.

4 Likes