From https://preseed.einval.com/debian-preseed/bullseye/amd64-main-full.txtit seems that only apt-setup/cdrom/set-failed should be sufficient:
<div>The boot command:</div><div>auto=true priority=critical preseed/url=http://[IP:port]/<span class="gmail-il">debian</span>-preseed.txt<br></div><div><br></div><div>ISO file used for installation:</div><div><span class="gmail-il">debian</span>-<span class="gmail-il">cd</span>/current/amd64/iso-<span class="gmail-il">cd</span>/<span class="gmail-il">debian</span>-11.5.0-amd64-netinst.iso<br></div><div><br></div><div>Additional info:</div><div>From <a href="https://preseed.einval.com/debian-
I'm seeking your wisdom, since I'm almost banging my head against the wall... >Any ideas how to get rid of the described error and achieve fully unattended >Debian install?
Thanks in advance, any suggestion will be much appreciated!
Jerzy
The issue:
While using preseed file, regardless of any setting, debian installer (dialog) >jumps off to interactive mode on error: "Apt configuration problem. An attempt >to configure apt to install additional packages from the media failed". This >happens just after installing the base system. After pressing continue - apt >scans mirror correctly and the rest of the process goes unattended till the >end.
Preseed file includes (whole file can be here: http://paste.debian.net/1257950/--
):
<...>
d-i apt-setup/cdrom/set-first boolean false
d-i apt-setup/cdrom/set-next boolean false
d-i apt-setup/cdrom/set-failed boolean false
apt-cdrom-setup apt-setup/cdrom/set-first boolean false
apt-cdrom-setup apt-setup/cdrom/set-next boolean false
apt-cdrom-setup apt-setup/cdrom/set-double boolean false
apt-cdrom-setup apt-setup/cdrom/set-failed boolean false
<...>
The boot command:
auto=true priority=critical preseed/url=http://[IP:port]/debian-preseed.txt
ISO file used for installation: >debian-cd/current/amd64/iso-cd/debian-11.5.0-amd64-netinst.iso
Additional info: >From https://preseed.einval.com/debian-preseed/bullseye/amd64-main-full.txt >it seems that only apt-setup/cdrom/set-failed should be sufficient:
### Description: Scan extra installation media?
# An attempt to configure apt to install additional packages from the
# media failed.
# .
# Please check that the media has been inserted correctly.
# d-i apt-setup/cdrom/set-failed boolean true
Unfortunately this does not work :/
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (3 / 13) |
Uptime: | 42:57:24 |
Calls: | 6,709 |
Calls today: | 2 |
Files: | 12,243 |
Messages: | 5,353,935 |