Update gpg keys first during autoupdate

This commit is contained in:
2025-10-21 10:41:40 +02:00
parent e6307e5881
commit 10708409c2
2 changed files with 5 additions and 2 deletions

View File

@@ -35,7 +35,10 @@
exit 0 exit 0
fi fi
pacman --sync --refresh --sysupgrade --noprogressbar --noconfirm # Make sure that keys are up to date, otherwise sig checks may fail
pacman --sync --noprogressbar --noconfirm --refresh --needed archlinux-keyring
pacman --sync --noprogressbar --noconfirm --sysupgrade
- name: Install pacman autoupdate service - name: Install pacman autoupdate service
ansible.builtin.copy: ansible.builtin.copy:

View File

@@ -3,7 +3,7 @@
set -o nounset set -o nounset
set -o errexit set -o errexit
sudo pacman -Syu sudo bash -c "pacman -Sy --needed archlinux-keyring && pacman -Syu"
./update-aur-pkgs.sh ./update-aur-pkgs.sh