Hello,
I'm trying to install automatically (using preseed) a Debian Buster 10.1
system on a VM hosted on a system without internet access, using a netboot.
Thanks to Steve McIntyre explanations (see #940801), I know how to
update the netboot's initrd to include the virtio_blk driver, and the
debian installer is now well detecting the VM's disk, and after
partitionning it, it tries to download some Debian packages to install a
minimal system on this new disk. For this purpose, i've setup a local
Debian mirror copying the files on DVD-1 debian installer, but the
debian-installer refuse to use it, because it's not GPG-signed, and so
fails to install any package :
Sep 26 07:35:26 apt-install: Queueing package keyboard-configuration for
later installation
Sep 26 07:35:26 apt-install: Queueing package console-setup for later
installation
Sep 26 07:35:26 base-installer: Ign:1
http://192.168.254.254/buster_debian_installer buster InRelease
Sep 26 07:35:26 base-installer: Get:2
http://192.168.254.254/buster_debian_installer buster Release [33.5 kB]
Sep 26 07:35:26 base-installer: Ign:3
http://192.168.254.254/buster_debian_installer buster Release.gpg
Sep 26 07:35:26 base-installer: Reading package lists...
Sep 26 07:35:26 base-installer:
Sep 26 07:35:26 base-installer: E: The repository
'http://192.168.254.254/buster_debian_installer buster Release' is not
signed.
Sep 26 07:35:26 base-installer: warning: apt update failed: 100
Sep 26 07:35:26 base-installer: dpkg-divert: warning: diverting file
'/sbin/start-stop-daemon' from an Essential package with rename is
dangerous, use --no-rename
Sep 26 07:35:27 in-target: Reading package lists...
Sep 26 07:35:27 in-target:
Sep 26 07:35:27 in-target: Building dependency tree...
Sep 26 07:35:27 in-target: Package locales is not available, but is
referred to by another package.
Sep 26 07:35:27 in-target: This may mean that the package is missing,
has been obsoleted, or
Sep 26 07:35:27 in-target: is only available from another source
Sep 26 07:35:27 in-target:
Sep 26 07:35:27 in-target: E: Package 'locales' has no installation
candidate
Sep 26 07:35:27 localechooser: error: the command 'validlocale' is not
available
Sep 26 07:35:27 base-installer: info: Found kernels ''
Sep 26 07:35:27 base-installer: error: exiting on error
base-installer/kernel/no-kernels-found
Yet, I have in my preseed.txt the following statement :
# By default the installer requires that repositories be authenticated
# using a known gpg key. This setting can be used to disable that
# authentication. Warning: Insecure, not recommended.
#d-i debian-installer/allow_unauthenticated boolean true
d-i debian-installer/allow_unauthenticated boolean true
How can I tell Debian-installer, through the preseed file or another
mean, to use my [unsigned] repository ?
with regards,
Fred.