You are not logged in.
Here's how I tried to install keyring and failed:
$ rm /var/cache/pacman/pkg/archlinux-keyring-20221219-1-any.pkg.tar.zst
rm: cannot remove '/var/cache/pacman/pkg/archlinux-keyring-20221219-1-any.pkg.tar.zst': No such file or directory
$ sudo pacman -Sy archlinux-keyring && pacman -Su
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
resolving dependencies...
looking for conflicting packages...
Packages (1) archlinux-keyring-20221219-1
Total Download Size: 1.12 MiB
Total Installed Size: 1.59 MiB
Net Upgrade Size: 0.02 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
archlinux-keyring-20221219-1-any 1149.7 KiB 1145 KiB/s 00:01 [###########################################] 100%
(1/1) checking keys in keyring [###########################################] 100%
(1/1) checking package integrity [###########################################] 100%
error: archlinux-keyring: signature from "Christian Hesse <eworm@archlinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/archlinux-keyring-20221219-1-any.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.
Offline
See this thread, currently 2 below your own. https://bbs.archlinux.org/viewtopic.php?id=282170
Unless this system really is a couple of years out of date?
Last edited by Scimmia (2022-12-20 15:17:24)
Offline
I've tried the following:
1. install keyring and ca-certificates, failed
2. delete all cache and pacman -Syu, failed
3. sudo pacman-key --refresh-keys and install packages, failed
The system is not old at all. I think I have updated it at least in the last month.
Offline
None of which make any sense at all, given the error. Did you read the linked thread?
Offline
What am I supposed to do then... I thought that was the instructions that I'm supposed to run as in the thread
Offline
Offline