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,330
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

#3 2024-09-11 16:07:09

Phydoux
Member
Registered: 2020-03-02
Posts: 36

Re: pacman -Syu not installing

Trilby wrote:

...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).

Actually, using sudo pacman -Su shows "there is nothing to do". Where as sudo pacman -Syu shows 23 packages that need updating including the Linux Kernel...

So, I'm not entirely sure that your comment is true. I always use pacman -Syu for updates.

Offline

#4 2024-09-11 16:16:39

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,532
Website

Re: pacman -Syu not installing

Assuming you haven't just taken that part of Trilby's message out of context, if 'pacman -Sy archlinux-keyring' didn't refresh your sync databases, then something went wrong and pacman's output should help you understand what.

Mod note: Moving to NC.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB