Artix Linux Forum

Artix Linux => Package management => Topic started by: nop on 29 June 2022, 14:55:38

Title: "pacman -Sy gnupg archlinux-keyring artix-keyring" fails
Post by: nop on 29 June 2022, 14:55:38
Hello together,

last time i executed this was on 15th this month and it works.

Now i got an error: (something like)
Error: Target not found: archlinux-keyring

For suggestions i would be very grateful
Thanks
Title: Re: "pacman -Sy gnupg archlinux-keyring artix-keyring" fails
Post by: Lancia on 29 June 2022, 16:41:08
This might help you:
https://artixlinux.org/news.php#artix-archlinux-support_moves_to_%5Buniverse%5D
Title: Re: "pacman -Sy gnupg archlinux-keyring artix-keyring" fails
Post by: nop on 01 July 2022, 14:33:22
Thanks very much for your advice.
Enable universe repo in /etc/pacman.conf solved the problem so far.

But now i got the following error message:
error: archlinux-keyring: signature from... is unknown trust
file /var/cache/pacman/pkg/archlinux-keyring-20220424-1-any.pkg.tar.zst is corrupted package (invalid or corrupted package (PGP-signature))
Do you want to delete it? [Y/n]
Title: Re: "pacman -Sy gnupg archlinux-keyring artix-keyring" fails
Post by: Lancia on 01 July 2022, 17:46:38
Thanks very much for your advice.
Enable universe repo in /etc/pacman.conf solved the problem so far.

But now i got the following error message:
error: archlinux-keyring: signature from... is unknown trust
file /var/cache/pacman/pkg/archlinux-keyring-20220424-1-any.pkg.tar.zst is corrupted package (invalid or corrupted package (PGP-signature))
Do you want to delete it? [Y/n]

Try googling this one.
Title: Re: "pacman -Sy gnupg archlinux-keyring artix-keyring" fails
Post by: qontinuum on 01 July 2022, 18:50:49
Never install a package like that (https://wiki.archlinux.org/title/System_maintenance#Partial_upgrades_are_unsupported)
Title: Re: "pacman -Sy gnupg archlinux-keyring artix-keyring" fails
Post by: h3xo on 27 July 2022, 16:26:07
Never install a package like that (https://wiki.archlinux.org/title/System_maintenance#Partial_upgrades_are_unsupported)
Actually keyring is probably the only package which can be upgraded with -Sy
I would try something like this
Code: [Select]
# pacman -Sy artix-keyring && pacman -Sy archlinux-keyring && pacman -Su
Even wiki (https://wiki.archlinux.org/title/Pacman/Package_signing#Upgrade_system_regularly) says it can be done
Or I would run
Code: [Select]
# pacman-key --init && pacman-key --populate archlinux artix
from wiki (https://wiki.artixlinux.org/Main/Troubleshooting#Invalid_or_corrupted_packages_.28PGP_signature.29)