In Terminal I'm getting this error message. . . How to correct?

Arch & EndeavourOS update check:
:: Searching Arch & EndeavourOS for updates…
geoip-database 20221118-1 → 20221227-1
handbrake 1.5.1-2 → 1.6.0-1
whois 5.5.14-1 → 5.5.15-1
error: could not register ‘endeavouros’ database (database already registered)
Root Password:
error: could not register ‘endeavouros’ database (database already registered)

What’s this all about and how did I get this database already registered stuff? New issue. . . probably from my inattention to details. It’s doesn’t impact the installation of any updates but was just wondering how do I correct myself from this new blunder of mine?

Rich :stuck_out_tongue_winking_eye:

It could be that you have a repeated entry in your /etc/pacman.conf file. The endeavousos database might be specified more than once. Can you post the contents of that file?

I’ve viewed the entire file from top to bottom and can’t find any instance of endeavourOS database being specified more than once. I noticed I had some pacman.conf .bak backup files stored under the pacman.conf file and I deleted them. . . still I get the same outcome when I update the system.

Please post the contents of that file nonetheless.

1 Like

/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

Repository entries are of the format:

[repo-name]

Server = ServerName

Include = IncludePath

The header [repo-name] is crucial - it must be present and

uncommented to enable the repo.

The testing repositories are disabled by default. To enable, uncomment the

repo name header and Include lines. You can add preferred servers immediately

after the header, and they will be used before the default mirrors.

[endeavouros]
SigLevel = PackageRequired
Include = /etc/pacman.d/endeavouros-mirrorlist

#[testing]

#Include = /etc/pacman.d/mirrorlist

[core]

Include = /etc/pacman.d/mirrorlist

[extra]

Include = /etc/pacman.d/mirrorlist

#[community-testing]

#Include = /etc/pacman.d/mirrorlist

[community]

If you want to run 32 bit applications on your x86_64 system,

enable the multilib repositories as required here.

Include = /etc/pacman.d/mirrorlist

#[multilib-testing]

#Include = /etc/pacman.d/mirrorlist

[multilib]

Include = /etc/pacman.d/mirrorlist

[endeavouros]
SigLevel = PackageRequired
Include = /etc/pacman.d/endeavouros-mirrorlist

An example of a custom package repository. See the pacman manpage for

tips on creating your own repositories.

#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

Here’s what it says. . . . .
Rich :wink:

Could you please edit the post and provide a link with this command.

cat /etc/pacman.conf | eos-sendlog

Edit: It is much easier to read.

He could just edit his previous post and get rid of all that. :wink:

Yup.

No need to do anything.

I can already see that there are duplicated entries.

That’s duplicated entries right there. [endeavouros] is included twice.
@ricklinux had to zoom out just to take a screenshot. :sweat_smile: :sweat_smile:

@rich52
The two entries in bold are duplicate copies of each other. Comment out/remove one of the [endeavouros] entries, save the file, and run yay again.

[endeavouros]
SigLevel = PackageRequired
Include = /etc/pacman.d/endeavouros-mirrorlist

#[testing]

#Include = /etc/pacman.d/mirrorlist

[core]

Include = /etc/pacman.d/mirrorlist

[extra]

Include = /etc/pacman.d/mirrorlist

#[community-testing]

#Include = /etc/pacman.d/mirrorlist

[community]
If you want to run 32 bit applications on your x86_64 system,
enable the multilib repositories as required here.

Include = /etc/pacman.d/mirrorlist

#[multilib-testing]

#Include = /etc/pacman.d/mirrorlist

[multilib]

Include = /etc/pacman.d/mirrorlist

[endeavouros]
SigLevel = PackageRequired
Include = /etc/pacman.d/endeavouros-mirrorlist

An example of a custom package repository. See the pacman manpage for
tips on creating your own repositories.

#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

I’m afraid you are going to have to invest in a pair of high quality :eyeglasses:

Alright. . . .got rid of the extra lines in the code. . . .I’m not the most proficient in using this terminal stuff but I got everything working once again. Ran yay and pacman to see if this issue came up again and it didn’t. Problem fixed. . . Thanks. . . .I need more tutoring in using the terminal, kate, kwrite, krusader, vim etc. cutting and pasting, deleting etc. etc. etc.

Yes the heading was there twice at the top and near the very bottom. . . deleted the lines at the bottome and re-saved the file. Now everything is back to normal.

Thanks once again for being sooooo patient.

Rich :slight_smile:

1 Like

That’s cat abuse. :crying_cat_face:

1 Like