this post was submitted on 28 May 2024
20 points (100.0% liked)

Arch Linux

7759 readers
2 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 24 points 5 months ago (2 children)

Update only archlinux-keyring and try again.

# pacman -S archlinux-keyring
# pacman -Syu

In some cases you may need to re-populate the keyring.

# pacman-key --init
# pacman-key --populate
[–] [email protected] 2 points 5 months ago (1 children)

I tried both options in order and neither worked.

[–] [email protected] 1 points 5 months ago

Then maybe the downloaded packages are actually corrupted. You could check if they have plausible file sizes. IIRC pacman will ask you if you want to delete the non-matching files but I'm not entirely sure. They should end up in /var/cache/pacman/pkg.