Update gpg keys first during autoupdate
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user