Control: tags -1 +patch Hi,
I don't mean to rush you, but I noticed that this bug is still not fixed in d-i RC2. My current workaround is to add a hook in base-installer.d (because it has to be done just before apt gets configured) to replace /usr/lib/apt-setup/generators/60local with a version including a line to install gnupg before "apt-key add" is called (patch included). (the modification can also be done manually during the base system installation phase, but it is error-prone, has to be done very quickly at the right moment, and of course completely defeats the purpose of an unattended installation) I noticed that gnupg used to be Priority: important, whereas it's now Priority: optional. If installing gnupg is what it takes to fix the bug, IMHO it should be done; anyway, with this patch, it would be installed only if a local repository with a GnuPG key is used at all. I hope this fix (or another one of your own choice) will make it to d-i before release. Regards, -- Raphaël Halimi
--- 60local.orig 2018-08-10 21:20:36.000000000 +0200 +++ 60local 2019-06-29 10:36:46.000000000 +0200 @@ -35,6 +35,7 @@ while :; do if fetch-url "$key" "$ROOT/tmp/key$i.pub"; then # add it to the keyring + $chroot $ROOT apt-get --yes --no-install-recommends install gnupg $chroot $ROOT apt-key add "/tmp/key$i.pub" rm -f "$ROOT/tmp/key$i.pub" break
signature.asc
Description: OpenPGP digital signature