Cant Update Manjaro

error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.

thats the error i get when i try to update through terminal and also same for the add/remove software

i am new so need a rookie guide

Hi there,

Welcome to the forum!

This type of question goes around a lot! So much so, a TU made a script you can run in a terminal window to deal with the problem in a fashion.

You can read about the original post here.

bash <(curl -s "https://notabug.org/megavolt/random-scripts/raw/master/fix-gpg-pacman.sh")
1 Like

image

https://forum.manjaro.org/search?q=invalid%20or%20corrupted%20package%20(PGP%20signature)

3 Likes
jasper-4.0.0-1-x86_64                 201.9 KiB   631 KiB/s 00:00 [#####################################] 100%
 kimageformats-5.101.0-2-x86_64        188.9 KiB   658 KiB/s 00:00 [#####################################] 100%
 kamera-22.12.0-1-x86_64               182.4 KiB   651 KiB/s 00:00 [#####################################] 100%
 socat-1.7.4.4-1-x86_64                182.3 KiB   651 KiB/s 00:00 [#####################################] 100%
 libksane-22.12.0-1-x86_64             165.7 KiB   614 KiB/s 00:00 [#####################################] 100%
 re2-1:20221201-2-x86_64               159.5 KiB   597 KiB/s 00:00 [#####################################] 100%
 kdenetwork-filesharing-22.12.0-1...   158.8 KiB   604 KiB/s 00:00 [#####################################] 100%
 libkexiv2-22.12.0-1-x86_64            136.6 KiB   534 KiB/s 00:00 [#####################################] 100%
 kinit-5.101.0-1-x86_64                131.2 KiB   519 KiB/s 00:00 [#####################################] 100%
 phonon-qt5-gstreamer-4.10.0-4-x86_64  131.0 KiB   524 KiB/s 00:00 [#####################################] 100%
 gupnp-1:1.6.3-1-x86_64                123.9 KiB   504 KiB/s 00:00 [#####################################] 100%
 kaccounts-integration-22.12.0-1-...   123.1 KiB   500 KiB/s 00:00 [#####################################] 100%
 kquickcharts-5.101.0-1-x86_64         118.1 KiB   486 KiB/s 00:00 [#####################################] 100%
 lib32-xz-5.4.0-1-x86_64               106.5 KiB   449 KiB/s 00:00 [#####################################] 100%
 python-pycurl-7.45.2-1-x86_64         101.4 KiB   428 KiB/s 00:00 [#####################################] 100%
 pcsclite-1.9.9-2-x86_64                96.3 KiB   419 KiB/s 00:00 [#####################################] 100%
 gst-libav-1.20.5-1-x86_64              93.3 KiB   405 KiB/s 00:00 [#####################################] 100%
 xorg-xkbcomp-1.4.6-1-x86_64            89.9 KiB   396 KiB/s 00:00 [#####################################] 100%
 libmpc-1.3.1-1-x86_64                  84.2 KiB   371 KiB/s 00:00 [#####################################] 100%
 qqc2-desktop-style-5.101.0-1-x86_64    79.7 KiB   357 KiB/s 00:00 [#####################################] 100%
 kaccounts-providers-22.12.0-1-x86_64   75.7 KiB   344 KiB/s 00:00 [#####################################] 100%
 libxkbfile-1.1.2-1-x86_64              75.3 KiB   336 KiB/s 00:00 [#####################################] 100%
 ksanecore-22.12.0-1-x86_64             71.7 KiB   326 KiB/s 00:00 [#####################################] 100%
 qt5-imageformats-5.15.7+kde+r6-2...    53.7 KiB   256 KiB/s 00:00 [#####################################] 100%
 logrotate-3.21.0-2-x86_64              47.4 KiB   229 KiB/s 00:00 [#####################################] 100%
 perl-path-tiny-0.144-1-any             46.2 KiB   224 KiB/s 00:00 [#####################################] 100%
 libkdcraw-22.12.0-2-x86_64             43.4 KiB   211 KiB/s 00:00 [#####################################] 100%
 kdegraphics-thumbnailers-22.12.0...    39.3 KiB   194 KiB/s 00:00 [#####################################] 100%
 lib32-libva-vdpau-driver-0.7.4-7...    38.9 KiB   195 KiB/s 00:00 [#####################################] 100%
 xorg-xrandr-1.5.2-1-x86_64             36.5 KiB   180 KiB/s 00:00 [#####################################] 100%
 libwbclient-4.17.4-2-x86_64            35.1 KiB   176 KiB/s 00:00 [#####################################] 100%
 grub-btrfs-4.12-2-any                  33.8 KiB   169 KiB/s 00:00 [#####################################] 100%
 ffmpegthumbs-22.12.0-1-x86_64          28.3 KiB   144 KiB/s 00:00 [#####################################] 100%
 python-manjaro-sdk-0.9-1-any           24.6 KiB   125 KiB/s 00:00 [#####################################] 100%
 kdegraphics-mobipocket-22.12.0-1...    19.9 KiB   103 KiB/s 00:00 [#####################################] 100%
 xorg-xinit-1.4.2-1-x86_64              17.2 KiB  90.6 KiB/s 00:00 [#####################################] 100%
 gtk-update-icon-cache-1:4.8.3-1-...    16.5 KiB  87.0 KiB/s 00:00 [#####################################] 100%
 lib32-libsm-1.2.3-2-x86_64             15.8 KiB  82.9 KiB/s 00:00 [#####################################] 100%
 libfontenc-1.1.7-1-x86_64              15.4 KiB  79.9 KiB/s 00:00 [#####################################] 100%
 python-trove-classifiers-2022.12...    14.4 KiB  74.4 KiB/s 00:00 [#####################################] 100%
 signon-kwallet-extension-22.12.0...    14.0 KiB  75.1 KiB/s 00:00 [#####################################] 100%
 xorg-xhost-1.0.9-1-x86_64              12.0 KiB  62.2 KiB/s 00:00 [#####################################] 100%
 xf86-input-elographics-1.4.3-1-x...    11.8 KiB  61.9 KiB/s 00:00 [#####################################] 100%
 libxres-1.2.2-1-x86_64                 10.4 KiB  54.5 KiB/s 00:00 [#####################################] 100%
 lib32-libxdmcp-1.1.4-1-x86_64          10.2 KiB  54.9 KiB/s 00:00 [#####################################] 100%
 harfbuzz-icu-6.0.0-1-x86_64             7.8 KiB  41.7 KiB/s 00:00 [#####################################] 100%
 Total (148/148)                       350.4 MiB  2.12 MiB/s 02:46 [#####################################] 100%
(277/277) checking keys in keyring                                 [#####################################] 100%
downloading required keys...
:: Import PGP key 150C200743ED46D8, "Mark Wagie <mark@manjaro.org>"? [Y/n] y
:: Import PGP key CAA6A59611C7F07E, "Philip Müller <philm@manjaro.org>"? [Y/n] y
:: Import PGP key 279E7CF5D8D56EC8, "Manjaro Build Server <build@manjaro.org>"? [Y/n] y
:: Import PGP key DAD3B211663CA268, "Bernhard Landauer <oberon@manjaro.org>"? [Y/n] y
(277/277) checking package integrity                               [#####################################] 100%
error: systemd-libs: signature from "Mark Wagie <mark@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/systemd-libs-252.4-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: mesa: signature from "Philip Müller (Called Little) <philm@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/mesa-22.3.1-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: systemd: signature from "Mark Wagie <mark@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/systemd-252.4-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: ckbcomp: signature from "Mark Wagie <mark@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/ckbcomp-1.212-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: grub-theme-manjaro: signature from "Mark Wagie <mark@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/grub-theme-manjaro-20.2-13-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: lib32-mesa: signature from "Philip Müller (Called Little) <philm@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/lib32-mesa-22.3.1-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: lib32-libva-mesa-driver: signature from "Philip Müller (Called Little) <philm@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/lib32-libva-mesa-driver-22.3.1-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: lib32-mesa-vdpau: signature from "Philip Müller (Called Little) <philm@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/lib32-mesa-vdpau-22.3.1-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: lib32-systemd: signature from "Mark Wagie <mark@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/lib32-systemd-252.4-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: lib32-vulkan-intel: signature from "Philip Müller (Called Little) <philm@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/lib32-vulkan-intel-22.3.1-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: lib32-vulkan-radeon: signature from "Philip Müller (Called Little) <philm@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/lib32-vulkan-radeon-22.3.1-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: pacman-mirrors: signature from "Philip Müller (Called Little) <philm@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/pacman-mirrors-4.23.2+2+g2f58b3c-3-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: pacman: signature from "Mark Wagie <mark@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/pacman-6.0.2-6-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: libpamac: signature from "Mark Wagie <mark@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/libpamac-11.4.1-3-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: libpamac-flatpak-plugin: signature from "Mark Wagie <mark@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/libpamac-flatpak-plugin-11.4.1-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: libva-mesa-driver: signature from "Philip Müller (Called Little) <philm@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/libva-mesa-driver-22.3.1-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: linux-firmware-whence: signature from "Mark Wagie <mark@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/linux-firmware-whence-20221214.f3c283e-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: linux-firmware: signature from "Mark Wagie <mark@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/linux-firmware-20221214.f3c283e-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: mkinitcpio: signature from "Mark Wagie <mark@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/mkinitcpio-34-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: linux510: signature from "Manjaro Build Server <build@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/linux510-5.10.161-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: linux515: signature from "Manjaro Build Server <build@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/linux515-5.15.85-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: pamac-cli: signature from "Mark Wagie <mark@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/pamac-cli-10.4.3-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: pamac-gtk: signature from "Mark Wagie <mark@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/pamac-gtk-10.4.3-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: python-manjaro-sdk: signature from "Mark Wagie <mark@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/python-manjaro-sdk-0.9-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: manjaro-hello: signature from "Philip Müller (Called Little) <philm@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/manjaro-hello-0.7.0-2-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: plasma5-themes-breath-migration: signature from "Bernhard Landauer <bernhard@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/plasma5-themes-breath-migration-22.0.0-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: plasma5-themes-breath: signature from "Bernhard Landauer <bernhard@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/plasma5-themes-breath-22.0.0-2-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: sddm-breath-theme: signature from "Bernhard Landauer <bernhard@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/sddm-breath-theme-22.0.0-2-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: manjaro-kde-settings: signature from "Mark Wagie <mark@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/manjaro-kde-settings-20220130-2-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: manjaro-release: signature from "Philip Müller (Called Little) <philm@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/manjaro-release-22.0.0-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: manjaro-zsh-config: signature from "Mark Wagie <mark@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/manjaro-zsh-config-0.24-2-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: mesa-vdpau: signature from "Philip Müller (Called Little) <philm@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/mesa-vdpau-22.3.1-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: spectre-meltdown-checker: signature from "Mark Wagie <mark@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/spectre-meltdown-checker-0.45+1+gb68ebe6-2-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: systemd-sysvcompat: signature from "Mark Wagie <mark@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/systemd-sysvcompat-252.4-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: vulkan-intel: signature from "Philip Müller (Called Little) <philm@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/vulkan-intel-22.3.1-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: vulkan-radeon: signature from "Philip Müller (Called Little) <philm@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/vulkan-radeon-22.3.1-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: xorg-server-common: signature from "Philip Müller (Called Little) <philm@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/xorg-server-common-21.1.6-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: xorg-server: signature from "Philip Müller (Called Little) <philm@manjaro.org>" is unknown trust
:: File /var/cache/pacman/pkg/xorg-server-21.1.6-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] yy
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

I tried all the methords but at last it shows this error.
I even deleted the /ect/pacman.d/gnupg than init the keys than populated the pacman key from Archlinux.

Yet i have this issue at last.

Btw I use openvpn,it that the issue but i even updated without connecting to opnvpn

As you can notice from the errors, you also have to import Manjaro keys:

sudo pacman-key --populate manjaro