You are not logged in.
Since running "sudo pacman -S archlinux-keyring" from the beginning of this year, I got a version of 20220831-1 instead of current version of 20221220-1, so I can't to upgrade system due to "invalid or corrupted package (PGP signature)" while sudo pacman -Su. How to solve it?
Looking forward to hearing from you soon.
Last edited by macecm (2023-01-10 03:53:04)
Offline
Try:
# pacman -Sy archlinux-keyring
(-Sy archlinux-keyring for only! Partial Upgrades are NOT supported!)
<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
If an update has already failed, then the -y flag shouldn't be relevant as the databases would have been updated. More likely you'll need to check your mirrors and update your mirrorlist (then use the command above).
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
"If an update has already failed, then the -y flag shouldn't be relevant as the databases would have been updated. More likely you'll need to check your mirrors and update your mirrorlist (then use the command above)."
Thanks for Trilby's suggestion, I had been checked Mirros WiKi, according to 2.1 Force pacman to refresh the package lists, issued "pacman -Syyu", I success to upgrade system.
Thanks again!
Last edited by macecm (2023-01-10 04:04:51)
Offline
You almost certainly needed only pacman -Syu. Do not use the second y unless your local database is corrupted.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
The second 'y' may or may not be needed, but is certainly appropriate (and typically recommended) upon updating the mirrorlist. This is particularly relevant if the previously active mirror was bad as there's really only one way for them to be good, and countless ways to be bad (it's possible it had updated timestamps on dbs with outdated package data).
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
(it's possible it had updated timestamps on dbs with outdated package data).
I didn't realise that was possible (without a mirror being malicious).
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline