You are not logged in.
systemctl status archlinux-keyring-wkd-sync.timer
cat /etc/pacman.d/gnupg/gpg.conf
sudo pacman-key -r dvzrv@archlinux.org
sudo pacman-key --keyserver hkps://keyserver.ubuntu.com -r dvzrv@archlinux.orgOffline
You were upgrading 507 packages in that transaction, I only have 380 packages total installed.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
You have read the whole thread, I assume, and even returned to it after months and yet no mention of anything archlinux-keyring-wkd-sync.{service,timer} diagnostic-wise. This service/timer combo is supposed to fix the issue in many cases, so you could at least put some focus on it and at least mention that you've checked it, if it was fine.
After making sure the timer is up and the service is being executed on timer, the problem disappeared for me, with the exception of systemd-less WSL instances, but they aren't supported anyway and nobodies problem.
Offline
The service / timer combo is enabled and running. Nevertheless I had a dozen occurences where
# pacman -Sy archlinux-keyring && pacman -Suwas neccessary during the last two years.
To make my life a bit easier I now use a bash script named "updatesAvailable.sh" to check what mainenance task are waiting for me and to inform me if its neccessary to update the archlinux-keyring in advance.
#!/bin/bash
printf "."
UPDATES=$(checkupdates 2>/dev/null | wc -l)
#UPDATE_COUNT=$UPDATES
printf "."
KERNEL=$(checkupdates 2>/dev/null |\
grep -c '^linux \|^linux-headers\|^linux-lts-headers\|^linux-zen-headers\|^linux-zen-docs\|^linux-lts\|^linux-zen')
printf "."
AUR_UPDATES=$(pikaur -Qua 2>/dev/null | wc -l)
printf "."
ORPHANS=$(pacman -Qdt | wc -l)
printf "."
REBUILD=$(checkrebuild | wc -l)
printf "."
PACNEW=$(updatedb && locate --existing --regex "\.pac(new|save)$" | wc -l)
printf "."
ARCH_KEYRING=$(checkupdates 2>/dev/null | cut -d' ' -f1 | grep "archlinux-keyring" | wc -l)
printf "."
# echo " Arch: $((UPDATES - KERNEL)) Kernel: $KERNEL AUR: $AUR_UPDATES News: $(~/scripts/lastArchNewsIsFrom.sh)"
printf "\b\b\b\b\b\b\b\b Arch: %d Kernel: %d AUR: %d Orphans: %d Rebuild: %d PacNew: %d News: %s\n" \
$((UPDATES - KERNEL)) $KERNEL $AUR_UPDATES $ORPHANS $REBUILD $PACNEW $(~/scripts/lastArchNewsIsFrom.sh)
if [ "$ARCH_KEYRING" -eq "1" ]; then
# As the Arch Linux Keyring is a pending update - just prevent most
# signing errors during system upgrade by manually sync the package
# database first and than upgrade the archlinux-keyring package.
printf "\n Please execute: pacman -Sy archlinux-keyring && pacman -Su\n"
# This command is "not" considered a "partial upgrade" since it syncs
# the package database and upgrades the keyring package first. Both
# must be processed just before starting system upgrade to ensure
# signatures of all upgraded packages can be properly verified.
fi
# EOFand "~/scripts/lastArchNewsIsFrom.sh"
#!/bin/bash
curl https://archlinux.org/news/ 2>/dev/null |\
grep "<td>20" | head -n1 | cut -d'>' -f2- |\
cut -d'<' -f1 | sort | tail -n1
# EOFArch is up to date if the output looks like:
# ~/scripts/updatesAvailable.sh
Arch: 0 Kernel: 0 AUR: 0 Orphans: 0 Rebuild: 0 PacNew: 0 News: 2023-09-22Last edited by MicSpabo (2023-10-21 15:10:27)
Arch Linux
Debian Testing
Offline
UPDATES="$(checkupdates | cut -d' ' -f1)"
grep linux <<< $UPDATESARCH_KEYRING=$(checkupdates 2>/dev/null | cut -d' ' -f1 | grep "archlinux-keyring" | wc -l)I'm sure you could find a way to add one or to cat's there ![]()
Did you check the archlinux-keyring-wkd-sync statūs?
There's either sth. wrong or the timer never hits (eg. because you're rarely booting the system and only do so to update it?) or you're the unluckiest dude on the planet.
Offline
Did you check the archlinux-keyring-wkd-sync statūs?
Yes, I did.
I just guess, my habit to update the system directly after startup if more than ten updates are waiting could be the reason to face it that often.
Arch Linux
Debian Testing
Offline