Skip to content

pcre2-10.43-1 invalid signature

Description:

On running pacman -Syu I see updates for pcre2 package, but it has wrong signatures, so the process of upgrading system fails. Also tried to crean cache using # find /var/cache/pacman/pkg/ -iname "*.part" -delete and paccache -r but none of them helped.

Additional info:

Logs:

[powerslime@desktopus ~]$ sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (3) efibootmgr-18-3  expat-2.6.2-1  pcre2-10.43-1

Total Download Size:   1.51 MiB
Total Installed Size:  6.85 MiB
Net Upgrade Size:      0.19 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 pcre2-10.43-1-x86_64                                                                                                                        1511.4 KiB  6.93 MiB/s 00:00 [##########################################################################################################] 100%
 efibootmgr-18-3-x86_64                                                                                                                        30.1 KiB  7.35 MiB/s 00:00 [##########################################################################################################] 100%
 Total (2/2)                                                                                                                                 1541.5 KiB  6.75 MiB/s 00:00 [##########################################################################################################] 100%
(3/3) checking keys in keyring                                                                                                                                            [##########################################################################################################] 100%
(3/3) checking package integrity                                                                                                                                          [##########################################################################################################] 100%
error: efibootmgr: signature from "David Runge <dvzrv@archlinux.org>" is invalid
:: File /var/cache/pacman/pkg/efibootmgr-18-3-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] 
error: pcre2: signature from "David Runge <dvzrv@archlinux.org>" is invalid
:: File /var/cache/pacman/pkg/pcre2-10.43-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.

Steps to reproduce:

  1. Run sudo pacman -Syu
  2. Agree on installation of newer dependencies
  3. The error happended, agree on deleting the file
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information