Failed to commit transaction (invalid or corrupted package (PGP signature))

Still having issues after running refresh keys

# pacman -Sy wireshark-qt
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
resolving dependencies...
looking for conflicting packages...

Packages (4) bcg729-1.1.1-1  c-ares-1.18.1-1  wireshark-cli-3.6.3-1  wireshark-qt-3.6.3-1

Total Download Size:    25.90 MiB
Total Installed Size:  125.08 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 wireshark-cli-3.6.3-1-x86_64                                                                                                            21.7 MiB  1557 KiB/s 00:14 [#####################################################################################################] 100%
 wireshark-qt-3.6.3-1-x86_64                                                                                                              3.9 MiB  2.11 MiB/s 00:02 [#####################################################################################################] 100%
 c-ares-1.18.1-1-x86_64                                                                                                                 201.8 KiB  2.10 MiB/s 00:00 [#####################################################################################################] 100%
 bcg729-1.1.1-1-x86_64                                                                                                                   37.6 KiB  1878 KiB/s 00:00 [#####################################################################################################] 100%
 Total (4/4)                                                                                                                             25.9 MiB  1623 KiB/s 00:16 [#####################################################################################################] 100%
(4/4) checking keys in keyring                                                                                                                                      [#####################################################################################################] 100%
(4/4) checking package integrity                                                                                                                                    [#####################################################################################################] 100%
error: c-ares: signature from "David Runge <dvzrv@archlinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/c-ares-1.18.1-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: bcg729: signature from "Levente Polyak <anthraxx@archlinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/bcg729-1.1.1-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: wireshark-cli: signature from "Frederik Schwan <freswa@archlinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/wireshark-cli-3.6.3-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: wireshark-qt: signature from "Frederik Schwan <freswa@archlinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/wireshark-qt-3.6.3-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.

Your command neither has anything to do with the thunderbird package nor my key. I’ve moved your post to a separate thread.

See Pacman troubleshooting - Manjaro

Never use -y (--refresh) without -u (--sysupgrade).

I ran the following:

pacman-key --populate
pacman-key --init
pacman-key --refresh-keys

Refresh keys took _much_longer but now the update succeeded. You can close the case thanks!

It should have been in this order and you missed something: :wink:

pacman-key --init
pacman-key --populate archlinux manjaro
pacman-key --refresh-keys
2 Likes

Thanks Yochanan :slight_smile: I’m very green on Manjaro

1 Like

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