fixup: add install 'gnupg' by default before package update

Generating locales (this might take a while)...
Generation complete.
E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Iae93556895653c4fa09fa8946b5ee4c5c2669430
This commit is contained in:
Dongjin Kim
2024-06-03 13:51:50 +09:00
parent 668dd72f59
commit eb32064c8a

View File

@@ -4,6 +4,11 @@ export DEBIAN_FRONTEND=noninteractive
rm -f /etc/apt/sources.list.d/launchpad-hardkernel-ppa.list
if [ "x@@OSNAME@@" = "xdebian" ]; then
apt update --allow-releaseinfo-change
apt install @@DEFAULT_APT_OPTIONS@@ gnupg || exit 1
fi
apt-key adv --keyserver keyserver.ubuntu.com \
--recv-keys 4F71126C02B8F823