[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#928931: debian-installer: apt-setup/local0/key fails on buster because gnupg is not installed



Package: debian-installer
Severity: normal

Dear Maintainer,

I tried to preseed Debian buster with

d-i apt-setup/local0/repository string http://foo/ buster bar
d-i apt-setup/local0/key string http://foo/key
d-i pkgsel/include string baz

and used netboot "linux" and "initrd.gz" dated 2019-04-10.

This caused

May 13 06:34:21 main-menu[300]: (process:30688): 2019-05-13 06:34:18
URL:http://foo/key [2448/2448] -> "/target/tmp/_fetch-url_key0.pub.31236" [1]
May 13 06:34:21 main-menu[300]: (process:30688): E: gnupg, gnupg2 and gnupg1 do
not seem to be installed, but one of them is required for this operation

and later package baz was not found which stopped the installation.



Work-around:

d-i preseed/late_command string in-target /bin/bash -c "\
wget -O /etc/foo.asc http://foo/key ;\
echo 'deb [signed-by=/etc/foo.asc] http://foo/ buster bar'
>>>>/etc/apt/sources.list ;\
apt update ;\
apt -y install baz"




-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-4-amd64 (SMP w/6 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE=fi_FI.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled


Reply to: