You are not logged in.
I got this error while trying to update my system today:
...
(302/302) checking package integrity [###########################################] 100%
error: swaybg: signature from "Brett Cornwall <brett@i--b.com>" is unknown trust
:: File /var/cache/pacman/pkg/swaybg-1.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: libseat: signature from "Brett Cornwall <brett@i--b.com>" is unknown trust
:: File /var/cache/pacman/pkg/libseat-0.5.0-2-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: sway: signature from "Brett Cornwall <brett@i--b.com>" is unknown trust
:: File /var/cache/pacman/pkg/sway-1:1.6.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: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.
I reported it to the swaybg packager: https://bugs.archlinux.org/task/71704
I'm leaving this here just in case others also run into this.
Offline
Your keyring may be out of date.
You can try to run
# payman -Sy archlinux-keyring
# pacman -Syu
Be sure to perform the full system upgrade immediately after the partial upgrade of the keyring.
macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }
Offline
Hi schard,
I believe I have the latest keyring installed:
[root@iris source]# pacman -Sy archlinux-keyring
:: Synchronizing package databases...
core is up to date
extra is up to date
community 5.6 MiB 4.57 MiB/s 00:01 [###########################################] 100%
multilib is up to date
warning: archlinux-keyring-20210616-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) archlinux-keyring-20210616-1
Total Installed Size: 1.32 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
archlinux-keyring-20210616-1-any is up to date
(1/1) checking keys in keyring [###########################################] 100%
(1/1) checking package integrity [###########################################] 100%
(1/1) loading package files [###########################################] 100%
(1/1) checking for file conflicts [###########################################] 100%
(1/1) checking available disk space [###########################################] 100%
:: Processing package changes...
(1/1) reinstalling archlinux-keyring [###########################################] 100%
==> Appending keys from archlinux.gpg...
==> Locally signing trusted keys in keyring...
==> Importing owner trust values...
==> Disabling revoked keys in keyring...
==> Updating trust database...
gpg: next trustdb check due at 2021-08-12
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
[root@iris source]# pacman -S swaybg
resolving dependencies...
looking for conflicting packages...
Packages (1) swaybg-1.1-1
Total Installed Size: 0.04 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring [###########################################] 100%
(1/1) checking package integrity [###########################################] 100%
error: swaybg: signature from "Brett Cornwall <brett@i--b.com>" is unknown trust
:: File /var/cache/pacman/pkg/swaybg-1.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: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.
Can you please check if you too have the same keyring version?
Offline
The key used for the signature has expired:
https://bugs.archlinux.org/task/71704#comment201517
Last edited by progandy (2021-08-02 09:23:10)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Thank you progandy.
Offline