When i run:
pacman -Syyu
then i get
[sudo] password for lasloh:
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
:: Synchronizing package databases...
core 166.9 KiB 625 KiB/s 00:00 [######################] 100%
extra 1895.7 KiB 7.04 MiB/s 00:00 [######################] 100%
community 7.0 MiB 6.96 MiB/s 00:01 [######################] 100%
multilib 177.5 KiB 2.25 MiB/s 00:00 [######################] 100%
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
error: failed to synchronize all databases (invalid or corrupted database (PGP signature))
I know that there are a lot of similar posts on here but none of the solutions seemed to work for me. Here is the output of a bunch of them:
ο ξ° ο ~ ξ° pamac update ξ² 1 β ξ² 4s ο
Preparing...
Synchronizing package databases...
Refreshing core.db...
Refreshing extra.db...
Refreshing community.db...
Refreshing multilib.db...
Error: multilib.db: GPGME error: No data
Error: multilib.db: GPGME error: No data
Error: multilib.db: GPGME error: No data
Error: multilib.db: GPGME error: No data
invalid or corrupted database (PGP signature)
Failed to synchronize databases
ο ξ° ο ~ ξ° file /var/lib/pacman/sync/core.db
/var/lib/pacman/sync/core.db: gzip compressed data, last modified: Fri May 20 17:07:35 2022, from Unix, original size modulo 2^32 1177600
Same output as above showed the same for community.db, extra.db and multilib.db.
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 manjaro-system
# If upgrades are available for these packages they will be asked for first
SyncFirst = manjaro-system archlinux-keyring manjaro-keyring
#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
#IgnorePkg =
#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 Manjaro Linux
# packagers with `pacman-key --populate archlinux manjaro`.
#
# 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]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[extra]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[community]
SigLevel = PackageRequired
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]
SigLevel = PackageRequired
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
another thing:
ο ξ° ο ~ ξ° sudo rm -r /etc/pacman.d/gnupg ξ² β
[sudo] password for lasloh:
ο ξ° ο ~ ξ° sudo pacman-key --init ξ² β
gpg: /etc/pacman.d/gnupg/trustdb.gpg: trustdb created
gpg: no ultimately trusted keys found
gpg: starting migration from earlier GnuPG versions
gpg: porting secret keys from '/etc/pacman.d/gnupg/secring.gpg' to gpg-agent
gpg: migration succeeded
==> Generating pacman master key. This may take some time.
gpg: Generating pacman keyring master key...
gpg: directory '/etc/pacman.d/gnupg/openpgp-revocs.d' created
gpg: revocation certificate stored as '/etc/pacman.d/gnupg/openpgp-revocs.d/ADE2121C59457B515CF58C4D161E557442AF19A3.rev'
gpg: Done
==> Updating trust database...
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
ο ξ° ο ~ ξ° sudo pacman-key --populate manjaro ξ² β
==> Appending keys from manjaro.gpg...
==> Locally signing trusted keys in keyring...
-> Locally signed 17 keys.
==> Importing owner trust values...
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: inserting ownertrust of 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: inserting ownertrust of 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
==> Disabling revoked keys in keyring...
-> Disabled 8 keys.
==> Updating trust database...
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 16 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1 valid: 16 signed: 0 trust: 0-, 0q, 0n, 16m, 0f, 0u
gpg: next trustdb check due at 2022-09-22
ο ξ° ο ~ ξ° sudo pacman-key --populate archlinux ξ² β
==> Appending keys from archlinux.gpg...
==> Locally signing trusted keys in keyring...
-> Locally signed 6 keys.
==> Importing owner trust values...
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
gpg: inserting ownertrust of 4
gpg: setting ownertrust to 4
gpg: setting ownertrust to 4
==> Disabling revoked keys in keyring...
-> Disabled 49 keys.
==> Updating trust database...
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 22 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1 valid: 22 signed: 94 trust: 0-, 0q, 0n, 22m, 0f, 0u
gpg: depth: 2 valid: 89 signed: 33 trust: 89-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2022-07-10
ο ξ° ο ~ ξ° sudo pacman -Syvv manjaro-keyring ξ² β ξ² 17s ο
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
Root : /
Conf File : /etc/pacman.conf
DB Path : /var/lib/pacman/
Cache Dirs: /var/cache/pacman/pkg/
Hook Dirs : /usr/share/libalpm/hooks/ /etc/pacman.d/hooks/
Lock File : /var/lib/pacman/db.lck
Log File : /var/log/pacman.log
GPG Dir : /etc/pacman.d/gnupg/
Targets : manjaro-keyring
:: Synchronizing package databases...
core 166.9 KiB 435 KiB/s 00:00 [######################] 100%
extra 1895.7 KiB 2.85 MiB/s 00:01 [######################] 100%
community 7.0 MiB 4.24 MiB/s 00:02 [######################] 100%
multilib 177.5 KiB 2.48 MiB/s 00:00 [######################] 100%
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
error: failed to synchronize all databases (invalid or corrupted database (PGP signature))
ο ξ° ο ~ ξ° sudo rm -v /var/cache/pacman/pkg/*.sig ξ² 1 β ξ² 3s ο
removed '/var/cache/pacman/pkg/archlinux-keyring-20220424-1-any.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/chromium-101.0.4951.41-0.1-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/dkms-3.0.3-1-any.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/game-devices-udev-0.16-1-any.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/gdm-41.3-2-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/gnome-session-41.3-1-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/gnome-shell-1:41.5-1-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/lib32-alsa-lib-1.2.6.1-1-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/lib32-alsa-plugins-1.2.6-1-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/lib32-libgpg-error-1.44-1-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/lib32-libtasn1-4.18.0-1-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/lib32-libva-2.13.0-1-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/lib32-libva-vdpau-driver-0.7.4-6-x86_64.pkg.tar.xz.sig'
removed '/var/cache/pacman/pkg/lib32-libvdpau-1.4-2-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/lib32-libxss-1.2.3-1-x86_64.pkg.tar.xz.sig'
removed '/var/cache/pacman/pkg/lib32-mesa-21.3.8-2-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/lib32-mesa-vdpau-21.3.8-2-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/lib32-nspr-4.33-1-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/lib32-nss-3.77-1-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/lib32-p11-kit-0.24.1-1-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/lib32-sqlite-3.38.1-1-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/lib32-vulkan-intel-21.3.8-2-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/lib32-vulkan-radeon-21.3.8-2-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/libdvbpsi-1:1.3.3-2-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/libebml-1.4.2-1-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/libgdm-41.3-2-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/libmad-0.15.1b-9-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/libmatroska-1.6.3-1-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/libtar-1.2.20-6-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/libupnp-1.14.12-3-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/libva-mesa-driver-21.3.8-1-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/libva-vdpau-driver-0.7.4-6-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/libxvmc-1.0.13-1-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/linux510-5.10.105-1-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/linux510-headers-5.10.105-1-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/linux517-5.17.1-3-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/linux517-headers-5.17.1-3-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/lsof-4.94.0-1-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/lua52-5.2.4-5-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/mesa-vdpau-21.3.8-1-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/pahole-1.23-1-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/snapd-2.54.3-1-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/steam-manjaro-1.0.0.74-1-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/tk-8.6.12-1-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/v4l2loopback-dkms-0.12.5-2-any.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/vlc-3.0.16-8-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/vulkan-intel-21.3.8-1-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/vulkan-radeon-21.3.8-1-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/wayland-protocols-1.25-1-any.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/xf86-video-amdgpu-22.0.0-1-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/xf86-video-ati-1:19.1.0.r9.g5eba006e-2-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/xf86-video-intel-1:2.99.917+916+g31486f40-2-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/xf86-video-nouveau-1.0.17-2-x86_64.pkg.tar.zst.sig'
removed '/var/cache/pacman/pkg/xf86-video-vesa-2.5.0-2-x86_64.pkg.tar.zst.sig'
ο ξ° ο ~ ξ° sudo pacman -Syvv ξ² β
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
Root : /
Conf File : /etc/pacman.conf
DB Path : /var/lib/pacman/
Cache Dirs: /var/cache/pacman/pkg/
Hook Dirs : /usr/share/libalpm/hooks/ /etc/pacman.d/hooks/
Lock File : /var/lib/pacman/db.lck
Log File : /var/log/pacman.log
GPG Dir : /etc/pacman.d/gnupg/
Targets : None
:: Synchronizing package databases...
core 166.9 KiB 330 KiB/s 00:01 [######################] 100%
extra 1895.7 KiB 2.59 MiB/s 00:01 [######################] 100%
community 7.0 MiB 6.98 MiB/s 00:01 [######################] 100%
multilib 177.5 KiB 3.10 MiB/s 00:00 [######################] 100%
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
error: failed to synchronize all databases (invalid or corrupted database (PGP signature))
ο ξ° ο ~ ξ°
Thanks in advance.