You are not logged in.

#1 2021-08-02 09:01:47

tsh
Member
From: Munich
Registered: 2014-07-25
Posts: 41
Website

Unable to upgrade swaybg: missing signing key in archlinux-keyring

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

#2 2021-08-02 09:05:20

schard
Member
From: Hannover
Registered: 2016-05-06
Posts: 1,932
Website

Re: Unable to upgrade swaybg: missing signing key in archlinux-keyring

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.

Offline

#3 2021-08-02 09:15:37

tsh
Member
From: Munich
Registered: 2014-07-25
Posts: 41
Website

Re: Unable to upgrade swaybg: missing signing key in archlinux-keyring

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

#4 2021-08-02 09:22:30

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: Unable to upgrade swaybg: missing signing key in archlinux-keyring

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 ' |

Online

#5 2021-08-02 09:51:13

tsh
Member
From: Munich
Registered: 2014-07-25
Posts: 41
Website

Re: Unable to upgrade swaybg: missing signing key in archlinux-keyring

Thank you progandy.

Offline

Board footer

Powered by FluxBB