Could not find the db to run the update

good day - dear community,

first of all: well since i do some updates on several notebooks - i run into these issues from time to time. Sorry for the repeated topics and issues. But i am having these issues now again.

need to correct the mirrors here - need to set ne mirrors that are connected

can we do this via a commandline term and command…

[heike@tp14 ~]$ yay -Syu
[sudo] Passwort für heike: 
:: Paketdatenbanken werden synchronisiert …
 endeavouros                                                                                                       12,3 KiB  70,9 KiB/s 00:00 [---------------------------------------------------------------------------------------] 100%
 core                                                                                                             116,2 KiB   222 KiB/s 00:01 [---------------------------------------------------------------------------------------] 100%
 extra                                                                                                              7,7 MiB  1230 KiB/s 00:06 [---------------------------------------------------------------------------------------] 100%
 community.db konnte nicht heruntergeladen werden
 multilib                                                                                                         131,7 KiB   295 KiB/s 00:00 [---------------------------------------------------------------------------------------] 100%
Fehler: Konnte Datei 'community.db' nicht von mirror.lcarilla.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirror.moson.org übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von arch.phinau.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von berlin.mirror.pkgbuild.com übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirror.sunred.org übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirrors.niyawe.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirror.pseudoform.org übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von archlinux.thaller.ws übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirror.kumi.systems übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von at.arch.mirror.kescher.at übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von de.arch.mirror.kescher.at übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von at.arch.niranjan.co übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von de.arch.niranjan.co übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirror.peeres-telecom.fr übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirror.trap.moe übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von arch.jensgutermuth.de übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von at.mirrors.cicku.me übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von fr.mirrors.cicku.me übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirror.cyberbits.eu übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von pkg.fef.moe übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von geo.mirror.pkgbuild.com übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von ftpmirror.infania.net übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirror.rackspace.com übertragen : The requested URL returned error: 404
Fehler: Keine Datenbank konnte synchronisiert werden (Konnte manche Dateien nicht übertragen)
 -> Fehler beim Aktualisieren der Datenbanken - exit status 1
[heike@tp14 ~]$

can we do this via a commandline term and command… Look forward to hear from oyu

This thread should solve the issue.

1 Like

thank you for the reply

should i do like so


I have found this set of commands to work when resetting the gpg keys:

sudo rm /var/lib/pacman/sync/*
sudo rm -rf /etc/pacman.d/gnupg/*
sudo pacman-key --init
sudo pacman-key --populate archlinux endeavouros
sudo pacman -Sy --noconfirm archlinux-keyring endeavouros-keyring

To regenerate mirrorlist:

sudo reflector --latest 10 --sort rate --protocol https --save /etc/pacman.d/mirrorlist

And, finally:

sudo pacman -Syyu

well see what goes here - what comes out

And, finally:

sudo pacman -Syyu
[2025-03-09 20:17:54] WARNING: failed to rate http(s) download (https://losangeles.mirror.pkgbuild.com/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2025-03-09 20:18:01] WARNING: failed to rate http(s) download (https://taipei.mirror.pkgbuild.com/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2025-03-09 20:18:06] WARNING: failed to rate http(s) download (https://archlinux.thaller.ws/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2025-03-09 20:18:11] WARNING: failed to rate http(s) download (https://berlin.mirror.pkgbuild.com/extra/os/x86_64/extra.db): Download timed out after 5 second(s).

[2025-03-09 20:18:17] WARNING: failed to rate http(s) download (https://johannesburg.mirror.pkgbuild.com/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2025-03-09 20:18:23] WARNING: failed to rate http(s) download (https://singapore.mirror.pkgbuild.com/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2025-03-09 20:18:29] WARNING: failed to rate http(s) download (https://sydney.mirror.pkgbuild.com/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2025-03-09 20:18:35] WARNING: failed to rate http(s) download (https://repo.jing.rocks/archlinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2025-03-09 20:18:41] WARNING: failed to rate http(s) download (https://mirror.moson.org/arch/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
[2025-03-09 20:18:46] WARNING: failed to rate http(s) download (https://mirror.sunred.org/archlinux/extra/os/x86_64/extra.db): Download timed out after 5 second(s).
bash: And,: Kommando nicht gefunden.
:: Paketdatenbanken werden synchronisiert …
 endeavouros                                                                                                       12,3 KiB  21,2 KiB/s 00:01 [---------------------------------------------------------------------------------------] 100%
 core                                                                                                             116,2 KiB   101 KiB/s 00:01 [---------------------------------------------------------------------------------------] 100%
 extra                                                                                                              7,7 MiB   537 KiB/s 00:15 [---------------------------------------------------------------------------------------] 100%
 community.db konnte nicht heruntergeladen werden
 multilib                                                                                                         131,7 KiB   110 KiB/s 00:01 [---------------------------------------------------------------------------------------] 100%
Fehler: Konnte Datei 'community.db' nicht von losangeles.mirror.pkgbuild.com übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von taipei.mirror.pkgbuild.com übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von archlinux.thaller.ws übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von berlin.mirror.pkgbuild.com übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von johannesburg.mirror.pkgbuild.com übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von singapore.mirror.pkgbuild.com übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von sydney.mirror.pkgbuild.com übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von repo.jing.rocks übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirror.moson.org übertragen : The requested URL returned error: 404
Fehler: Konnte Datei 'community.db' nicht von mirror.sunred.org übertragen : The requested URL returned error: 404
Fehler: Keine Datenbank konnte synchronisiert werden (Unerwarteter Fehler)
[heike@tp14 ~]$

hmm i have no idea - what t o do now!?

Have you done this first ?

Edit /etc/pacman.conf and comment out the lines relating to community by adding # to the front of them and then re-run your update

good day dear MyNamelsRichard

hmm . okay - can you give me some hints - to do so - is this the keescase - mentoned archlinux news "cleaning up old Repos!?

i would love to do this with a command on the terminal!!

how to go ahead with the ideas that are mentioned here



2025-02-17 - Sven-Hendrik Haase

Around two years ago, we've merged the `[community]` repository into `[extra]` as part of the [git migration](https://archlinux.org/news/git-migration-completed/). In order to not break user setups, we kept these repositories around in an unused and empty state. We're going to clean up these old repositories on **2025-03-01**.

On systems where `/etc/pacman.conf` still references the old `[community]` repository, `pacman -Sy` will return an error on trying to sync repository metadata.

The following deprecated repositories will be removed: `[community]`, `[community-testing]`, `[testing]`, `[testing-debug]`, `[staging]`, `[staging-debug]`.

Please make sure to remove all use of the aforementioned repositories from your `/etc/pacman.conf` (for which a `.pacnew` was shipped with `pacman>=6.0.2-7`)!

hmm - well if i can transform the ideas & thoughts into a subsequent command - that would be awesome

Don’t get it that is exactly the same.

1 Like

Don’t get it that is exactly the same.

okay - so i need to do a similar one

cd /etc
sudo nano pacman.conf
Add the # to the beginning of the appropriate lines
Press Ctrl + x to exit. Save the file.
1 Like

hello - many thanks

  GNU nano 8.3                                                                                                    pacman.conf                                                                                                               
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
Color
ILoveCandy
#NoProgressBar
#CheckSpace
VerbosePkgLists
DisableDownloadTimeout
ParallelDownloads = 5

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture

hmmm - i try to figure out how it goes here?

should i really add this !!! exactly

No, just #

1 Like

a h just i need just to comment out

This is how it should look like but don’t forget to comment out community.https://gist.github.com/setkeh/4221991

1 Like

hm i hope that this is correct!?

Comment out the line above as well

1 Like

should i commenct out some of these lines here

which ones

[community] and the one after it

1 Like

hi thanks - now it looks like so

is this good !?

well if i get it right then

community and
community - testing

those two lines..!? :smiley:

update - if you give a okay then i do the followint to exit and save

cd /etc
sudo nano pacman.conf
Add the # to the beginning of the appropriate lines
Press Ctrl + x to exit. Save the file.