You are not logged in.

#1 2024-01-19 04:14:49

Harshbamane17
Member
Registered: 2024-01-19
Posts: 4

failed to synchronize all databases (invalid or corrupted database )

sudo pacman -Syyu
error: g14: signature from "dragonn <dragonn@op.pl>" is unknown trust
error: could not register 'g14' database (database already registered)
error: could not register 'g14' database (database already registered)
error: could not register 'g14' database (database already registered)
:: Synchronizing package databases...
core                                                                                                             128.9 KiB   124 KiB/s 00:01 [#######################################################################################] 100%
extra                                                                                                              8.3 MiB  2.72 MiB/s 00:03 [#######################################################################################] 100%
g14                                                                                                                3.9 KiB  12.0 KiB/s 00:00 [#######################################################################################] 100%
error: g14: signature from "dragonn <dragonn@op.pl>" is unknown trustfailed to synchronize all databases (invalid or corrupted database (PGP signature))
error: failed to synchronize all databases (invalid or corrupted database (PGP signature))

Offline

#2 2024-01-19 04:17:22

Harshbamane17
Member
Registered: 2024-01-19
Posts: 4

Re: failed to synchronize all databases (invalid or corrupted database )

heres my 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
Architecture = auto

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

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
Color
#NoProgressBar
CheckSpace
VerbosePkgLists
ILoveCandy
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.
#

[garuda]
Include = /etc/pacman.d/chaotic-mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist

[chaotic-aur]
Include = /etc/pacman.d/chaotic-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


```

Offline

#3 2024-01-19 05:03:03

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,726

Re: failed to synchronize all databases (invalid or corrupted database )

1: That output does not match that config.
2: Garuda is a separate distro that is not supported here.

Offline

#4 2024-01-19 05:10:16

Harshbamane17
Member
Registered: 2024-01-19
Posts: 4

Re: failed to synchronize all databases (invalid or corrupted database )

i am using arch only

Offline

#5 2024-01-19 05:13:43

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,726

Re: failed to synchronize all databases (invalid or corrupted database )

That config says otherwise

Offline

#6 2024-01-19 05:18:24

Harshbamane17
Member
Registered: 2024-01-19
Posts: 4

Re: failed to synchronize all databases (invalid or corrupted database )

oh my bad , actually there are multiple pacman.config i saw only one .
I removed that g14 datbase line and it got fixed !  thanks for your help!


#
# /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
Architecture = auto

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

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#NoProgressBar
# We cannot check disk space from within a chroot environment
#CheckSpace
#VerbosePkgLists
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.

#[core-testing]
#Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

#[extra-testing]
#Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

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

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

#[multilib]
#Include = /etc/pacman.d/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

Offline

#7 2025-01-08 03:27:12

AaronArchpy
Member
Registered: 2024-09-01
Posts: 1

Re: failed to synchronize all databases (invalid or corrupted database )

Same error in 2025

sudo pacman -Syyu
error: g14: signature from "dragonn <dragonn@op.pl>" is unknown trust
:: Synchronizing package databases...
core                               116.5 KiB  53.2 KiB/s 00:02 [-----------------------------------] 100%
extra                                7.5 MiB  2.03 MiB/s 00:04 [-----------------------------------] 100%
multilib                           132.4 KiB  60.5 KiB/s 00:02 [-----------------------------------] 100%
g14                               1635.0   B   747   B/s 00:02 [-----------------------------------] 100%
bioarchlinux                      1245.3 KiB   454 KiB/s 00:03 [-----------------------------------] 100%
error: g14: signature from "dragonn <dragonn@op.pl>" is unknown trust
error: failed to synchronize all databases (unexpected error)

Offline

#8 2025-01-08 09:25:32

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,510
Website

Re: failed to synchronize all databases (invalid or corrupted database )

Then don't use that repo. Also, please don't necrobump.

https://wiki.archlinux.org/title/Genera … bumping%22

Closing this old topic.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB