stop using deprecated apt-key
in Qubes builder (qubes-builder-debian
) (prevents removal from gnupg
from Debian minimal templates)
#9502
Labels
affects-4.3
This issue affects Qubes OS 4.3.
C: builder
Qubes Builder
C: Debian/Ubuntu
needs diagnosis
Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed.
P: default
Priority: default. Default priority for new issues, to be replaced given sufficient information.
T: bug
Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Qubes OS release
R4.3
Brief summary
apt-key
is deprecated by upstream, Debian. Quote https://manpages.debian.org/bookworm/apt/apt-key.8.en.htmlapt-key
is no longer required.This caused the issue of
gnupg
not being removable from Debian minimal template. This is because deprecatedapt-key
makes internally use ofgpg
, has a undeclared dependency ongnupg
.packages.list
andpackages_minimal.list
#6566Steps to reproduce
See
qubes-builder-debian
usesapt-key
code search https://github.com/search?q=repo%3AQubesOS%2Fqubes-builder-debian%20apt-key&type=code for evidence.Expected behavior
Qubes builder not using deprecated tools such as
apt-key
.Actual behavior
Qubes builder using
apt-key
.Additional information
apt-key
is no longer required. There is no need to perform any gpg format conversion anymore./usr/share/keyrings
folder nowadays supports:--armor
ed format (.asc
).Just place the key there. Using
B)
preferably.The text was updated successfully, but these errors were encountered: