You are not logged in.

#1 2023-01-24 21:07:23

ziomarco
Member
Registered: 2022-03-06
Posts: 7

[SOLVED]upgrade error

Hello everybody,

I'm trying an update after some time, but i'm getting errors  with signature keys:

pacman -Syy archlinux-keyring archlinux32-keyring
:: Synchronizing package databases...
 core                  162.6 KiB  98.2 KiB/s 00:02 [######################] 100%
 extra                1947.4 KiB   778 KiB/s 00:03 [######################] 100%
 community               5.7 MiB   722 KiB/s 00:08 [######################] 100%
warning: archlinux-keyring-20220927-1.0 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (2) archlinux-keyring-20220927-1.0  archlinux32-keyring-20220927-1.0

Total Download Size:   0.03 MiB
Total Installed Size:  1.61 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 archlinux32-keyr...    33.9 KiB   249 KiB/s 00:00 [######################] 100%
(2/2) checking keys in keyring                     [######################] 100%
(2/2) checking package integrity                   [######################] 100%
error: archlinux32-keyring: signature from "Erich Eckner (just to sign arch packages) <arch-packages@eckner.net>" is unknown trust
:: File /var/cache/pacman/pkg/archlinux32-keyring-20220927-1.0-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y       
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

before this I ran:

mv /etc/pacman.d/gnupg  /etc/pacman.d/gnupg.bk
pacman-key --init
pacman-key --populate archlinux archlinux32

what should I do to fix?

Thanks!

Last edited by ziomarco (2023-01-25 15:49:42)

Offline

#2 2023-01-25 15:25:55

ziomarco
Member
Registered: 2022-03-06
Posts: 7

Re: [SOLVED]upgrade error

Today booting from a live install, I tried :

mount /dev/sda7 /mnt
pacstrap -K /mnt archlinux32-keyring

(where  /dev/sda7 is my system-root directory)
and it worked like a charm smile 

So after that I rebooted normally and updated everything with pacman -Syu which is what I wanted to do!!

Last edited by ziomarco (2023-01-25 15:52:53)

Offline

Board footer

Powered by FluxBB