You are not logged in.

#1 2024-08-26 15:11:06

ithinkimaj
Member
Registered: 2024-08-26
Posts: 1

pacman -Syu not installing

Hi,

I installed Arch on my college computer a couple of months ago and didn't touch it till coming back on campus. While trying to update the system (using pacman -Syu) I get a told that there is a corrupt file and whether or not I want to remove it. The error is: error: exiv2: signature from "Caleb Maclennan <alerque@archlinux.org>" is unknown trust
:: File /var/cache/pacman/pkg/exiv2-0.28.3-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).

Whether or not I type in Y or n, the update stops due to corrupted packages. Any insight would be helpful.

Offline

#2 2024-08-26 15:42:02

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,125
Website

Re: pacman -Syu not installing

You most likely need to upgrade the keyring first `pacman -Sy archlinux-keyring`.  Note that this is one of the few (perhaps the only) time that using the -Sy flag is justified.  As soon as that completes, then complete the system upgrade `pacman -Su`.

If that fails, please post the complete command and output including any error here (in code tags).


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB