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

Arch Linux

8534 readers
13 users here now

The beloved lightweight distro

founded 5 years ago
MODERATORS
top 3 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 11 months ago (1 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] 0 points 11 months ago (1 children)

I tried both options in order and neither worked.

[–] [email protected] 1 points 11 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.