Beschädigte Datenbank (PGP-Signatur)

Der gute Satz “ich habe nichts gemacht” stimmt gerade wirklich.
Ich habe hier gerade das zweite Manjaro KDE system, wo ich diese Meldung erhalte:

pacman -Syu
Fehler: GPGME-Fehler: Keine Daten
Fehler: GPGME-Fehler: Keine Daten
Fehler: GPGME-Fehler: Keine Daten
:: Paketdatenbanken werden synchronisiert …
core 142,4 KiB 1217 KiB/s 00:00 [#######################################################################] 100%
extra 8,3 MiB 30,9 MiB/s 00:00 [#######################################################################] 100%
multilib 147,1 KiB 1074 KiB/s 00:00 [#######################################################################] 100%
Fehler: GPGME-Fehler: Keine Daten
Fehler: GPGME-Fehler: Keine Daten
Fehler: GPGME-Fehler: Keine Daten
Fehler: Keine Datenbank konnte synchronisiert werden (Ungültige oder beschädigte Datenbank (PGP-Signatur))

Daraufhin habe ich, es ist aktuell der Rechner meines Sohnes, hier schon die diversen Tipps auf dieser Seite und von archlinux.org durchgeführt, aber nichts brachte bisher den erfolg:
Invalid or corrupted database (PGP signature) - #4 by Shirshendu
Pacman troubleshooting - Manjaro
oder diesen hier
Pacman troubleshooting - Manjaro
Diese versuche klappen nicht.
Hat jemand eine brauchbare Idee, wie ich die Datenbank wieder flott kriege?
Für entsprechende Hinweise bin ich dankbar.

Und das?

Ja auch schon. Leider.

Dann poste mal deine pacman.conf :wink: Dieser Fehler hat mit den Signaturen von Datenbanken zu tun. Hat dein Sohn Fremdquellen hinzugefügt, die Signaturen mitliefern?

Ne, mein Sohn ist 10 und macht da aktuell noch gar nichts dran.
Neben den ganzen Tipps habe ich nochmals pacman-key --init und pacman-keys --refresh-keys gemacht. Danach ein pacman -Syu und nun möchte er noch mal 1,5Gb downloadne und installieren. So 211 Pakete. Ich lasse das mal laufen und schaue was passiert.
Danke bisher.

Leider doch nicht.

: Datei /var/cache/pacman/pkg/thunderbird-i18n-en-us-137.0.2-1-x86_64.pkg.tar.zst ist beschädigt (Ungültiges oder beschädigtes Paket (PGP-Signatur)).
Soll die Datei entfernt werden? [J/n] 
Fehler: update-grub: signature from "Mark Wagie <mark@manjaro.org>" is unknown trust
:: Datei /var/cache/pacman/pkg/update-grub-2:2.12.r260.gaae2ea619-3-x86_64.pkg.tar.zst ist beschädigt (Ungültiges oder beschädigtes Paket (PGP-Signatur)).
Soll die Datei entfernt werden? [J/n] 
Fehler: vivaldi: signature from "Mark Wagie <mark@manjaro.org>" is unknown trust
:: Datei /var/cache/pacman/pkg/vivaldi-7.3.3635.11-1-x86_64.pkg.tar.zst ist beschädigt (Ungültiges oder beschädigtes Paket (PGP-Signatur)).
Soll die Datei entfernt werden? [J/n] 

Fehler: Der Vorgang konnte nicht durchgeführt werden (Ungültiges oder beschädigtes Paket (PGP-Signatur))
Fehler sind aufgetreten, keine Pakete wurden aktualisiert.

Davor noch etlich andere Signaturen
Also das ist wirklich komisch.
Auf der Arbeit hatte ich das an einem Laptop auch, was ich gerade frisch instaliert hatte, nmap rauf ein paar andere kleine Programme und dann kam die selbe Meldung.
Die “Übergangslösung” war erstmal Ubuntu zu installieren, aber das kann ja nicht die Lösung sein.

cat 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
#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 = 4

# 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 DatabaseNever
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

# 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

Wie alt ist die ISO? Welche Version?

Ich bin mir nicht ganz sicher ob es die letzte 2024er Version war, oder die 2025er schon. die “offiziellen” von der Downloadseite.

Jedenfalls sind deine Signatur-Probleme Anzeichen einer veralteten ISO.

Hier gibt es ein Script dafür:

Du solltest das machen:

export FILE=$(curl -s "https://forum.manjaro.org/raw/125822" | sed -n -r '/^###START###$/,/^###END###$/p');
bash <(<<<"$FILE") --aggressive

Da liegt der Fehler

Hatte einen Fehler beim Umstieg von stable auf unstable
gelöst habe ich es mit auskommentieren. Dann lief es durch. Dann wieder rückgängig gemacht.
Ob das jetzt richtig war hmm
Jetzt sieht der Abschnitt so aus

# 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


[core]
#SigLevel = PackageRequired
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]
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

Da ist SigLevel weiter oben eingetragen.
Vorsicht bei irgendwas kopieren, die ist von unstable

1 Like

Das habe ich erst später geändert. Vorher stand da “optional”

Gerade läuft das Script von @megavolt durch. mal schauen worin das endet :slight_smile:

Also das scheint geklappt zu haben.
Ich teste das die Tage mal weiter.
Aktuell hatte er alles erfolgreich gemacht.
Danke

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.