Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] LibreOffice complaign about invalid or corrupt package (PGP signature) (Read 973 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] LibreOffice complaign about invalid or corrupt package (PGP signature)

Hi,

Whenever I try to install steam, I get an error that 2 of my PGP signatures are corrupt/invalid. If I try to download libreoffice, it complains that a ton (mostly "Artix Buildbot") of signatures are corrupted.

What am I supposed to do?

Fix:
Just delete all the signatures that pacman is complainging about (answer yes to all of the "Y/n")


Re: LibreOffice and Steam complaign about invalid or corrupt package (PGP signature)

Reply #2
I did just that. My system is set up properly. I downloaded
Code: [Select]
 artix-keyring 
, and did
Code: [Select]
pacman -Syu 
but problem persists. It only complains about signatures from "Artix Buildbot <[email protected]>".


Re: LibreOffice and Steam complaign about invalid or corrupt package (PGP signature)

Reply #4
Here is what happens when I try to download libreoffice:
Code: [Select]
[user@DellPad ~]$ doas pacman -S libreoffice
doas (user@DellPad) password:
:: There are 3 providers available for libreoffice:
:: Repository world
   1) libreoffice-fresh
:: Repository extra
   2) libreoffice-fresh  3) libreoffice-still

Enter a number (default=1):
resolving dependencies...
:: There are 2 providers available for libraptor2.so=0-64:
:: Repository world
   1) raptor
:: Repository extra
   2) raptor

Enter a number (default=1):
looking for conflicting packages...

Packages (42) boost-libs-1.78.0-1  box2d-2.4.1-1  clucene-2.3.3.4-11.1  harfbuzz-icu-4.0.0-1  hyphen-2.8.8-3.1
              libabw-0.1.3-2  libatomic_ops-7.6.12-1  libcdr-0.1.7-3  libe-book-0.1.3-10  libepubgen-0.1.1-2
              libetonyek-0.1.10-1  libexttextcat-3.4.6-1  libfreehand-0.1.2-3  libixion-0.17.0-1
              liblangtag-0.6.3-2  libmspub-0.1.4-11  libmwaw-0.3.21-2  libnsl-2.0.0-2  libnumbertext-1.0.8-1
              libodfgen-0.1.8-1  liborcus-0.17.2-1  libpagemaker-0.0.4-2.1  libqxp-0.0.2-7  librevenge-0.0.4-3.1
              libstaroffice-0.0.7-1  libtommath-1.2.0-3.1  libvisio-0.1.7-6  libwpd-0.10.3-3  libwpg-0.3.3-2
              libwps-0.4.12-1  libxslt-1.1.35-1  libzmf-0.0.2-11  lpsolve-5.5.2.11-1  neon-0.32.2-1
              poppler-22.03.0-1  python-3.10.2-1  raptor-2.0.15-18  rasqal-1:0.9.33-5  redland-1:1.0.17-8
              xmlsec-1.2.33-1  zxing-cpp-1.2.0-1  libreoffice-fresh-7.3.1-1

Total Installed Size:  686.86 MiB

:: Proceed with installation? [Y/n]
(42/42) checking keys in keyring                                     [######################################] 100%
(42/42) checking package integrity                                   [######################################] 100%
error: librevenge: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/librevenge-0.0.4-3.1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: libwpd: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/libwpd-0.10.3-3-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: libwps: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/libwps-0.4.12-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: neon: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/neon-0.32.2-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: libxslt: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/libxslt-1.1.35-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: raptor: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/raptor-2.0.15-18-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: rasqal: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/rasqal-1:0.9.33-5-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: redland: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/redland-1:1.0.17-8-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: hyphen: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/hyphen-2.8.8-3.1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: lpsolve: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/lpsolve-5.5.2.11-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: libwpg: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/libwpg-0.3.3-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: libvisio: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/libvisio-0.1.7-6-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: liblangtag: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/liblangtag-0.6.3-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: libetonyek: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/libetonyek-0.1.10-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: libodfgen: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/libodfgen-0.1.8-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: libcdr: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/libcdr-0.1.7-3-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: libmspub: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/libmspub-0.1.4-11-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: clucene: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/clucene-2.3.3.4-11.1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: libpagemaker: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/libpagemaker-0.0.4-2.1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: libabw: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/libabw-0.1.3-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: libmwaw: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/libmwaw-0.3.21-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: libe-book: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/libe-book-0.1.3-10-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: libexttextcat: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/libexttextcat-3.4.6-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: libixion: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/libixion-0.17.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: liborcus: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/liborcus-0.17.2-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: libtommath: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/libtommath-1.2.0-3.1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: libzmf: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/libzmf-0.0.2-11-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: libatomic_ops: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/libatomic_ops-7.6.12-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: xmlsec: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/xmlsec-1.2.33-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: libnumbertext: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/libnumbertext-1.0.8-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: libfreehand: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/libfreehand-0.1.2-3-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: libstaroffice: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/libstaroffice-0.0.7-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: libepubgen: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/libepubgen-0.1.1-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: libqxp: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/libqxp-0.0.2-7-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: box2d: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/box2d-2.4.1-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: zxing-cpp: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/zxing-cpp-1.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

/etc/pacman.conf:
Code: [Select]
#
# /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
#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 Artix Linux
# packagers with `pacman-key --populate artix`.

#
# 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 gremlins 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.

#[gremlins]
#Include = /etc/pacman.d/mirrorlist

# Artix
[system]
Include = /etc/pacman.d/mirrorlist

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

#[galaxy-gremlins]
#Include = /etc/pacman.d/mirrorlist

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

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

#[lib32-gremlins]
#Include = /etc/pacman.d/mirrorlist

#[lib32]
Include = /etc/pacman.d/mirrorlist

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

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

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

# 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

Re: LibreOffice and Steam complaign about invalid or corrupt package (PGP signature)

Reply #5
Try (as root)
Code: [Select]
pacman -Sy artix-keyring
pacman-key --populate artix
and then try installing the other packages again. The above command should have normally be run by a pacman hook, but if it didn't for whatever reason, you can execute it manually.

If there are any errors, please paste them.

Re: LibreOffice and Steam complaign about invalid or corrupt package (PGP signature)

Reply #6
Same issue, that changed nothing.

Re: LibreOffice and Steam complaign about invalid or corrupt package (PGP signature)

Reply #7
You must have changed something affecting pacman GnuPG configuration. As said, I cannot reproduce the issue on my computer. Are you using any nonstandard package management tools?

What is the output of:
Code: [Select]
pacman -Ss artix-keyring
pacman-key -l buildbot

Re: LibreOffice and Steam complaign about invalid or corrupt package (PGP signature)

Reply #8
No, I only use pacman.

The output you asked about:
Code: [Select]
[user@DellPad ~]$ pacman -Ss artix-keyring
system/artix-keyring 20220309-1 [installed]
    Artix PGP keyring
[user@DellPad ~]$ pacman-key -l buildbot
gpg: Note: trustdb not writable
pub   rsa4096 2017-06-18 [SC]
      0A3EB6BB142C56653300420C1247D995F165BBAC
uid           [  full  ] Artix Buildbot <[email protected]>
sub   rsa4096 2017-06-18 [E]



Re: LibreOffice and Steam complaign about invalid or corrupt package (PGP signature)

Reply #10
Here is what happens when I try to download libreoffice:
Code: [Select]
error: libetonyek: signature from "Artix Buildbot <[email protected]>" is invalid
:: File /var/cache/pacman/pkg/libetonyek-0.1.10-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
...
...
Allow pacman to delete those packages and re-download. Either those or their signatures are corrupt.

Re: LibreOffice and Steam complaign about invalid or corrupt package (PGP signature)

Reply #11
Allow pacman to delete those packages and re-download. Either those or their signatures are corrupt.
Wow, that really did help. Last time that happen, I deleted a few signatures after which panicked and ctrl+c'd out. That caused even pacman -Syu to stop working. Deleting all of them seemed to fix everything...