Hi all,
does anyone have a working config (preseed.cnf) for bullseye? I'm pulling
my hair out, I tried every possible combination of below mentioned config options to skip apt media scanning...
It seems that d-i apt-setup/cdrom/set-first boolean false is simply
ignored. Possible bug?
Any help would be appreciated.
TL'DR:
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
<...>
ISO file used for installation: debian-cd/current/amd64/iso-cd/debian-11.5.0-amd64-netinst.iso
Boot command:
auto=true priority=critical preseed/url="" href="
http://ip_address_colon_mark_port/debian-preseed.txt"> http://ip_address_colon_mark_port/debian-preseed.txt
Additionally I uploaded console log screenshot here:
https://i.imgur.com/lKtgqyZ.png
and error itself (from d-i):
https://imgur.com/eZbMPTy.png
Running installer with DEBCONF_DEBUG=5 do not provide any additional information.
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 :/
<div dir="ltr"><div>Hi all,<br>does anyone have a working config (preseed.cnf) for bullseye? I'm pulling my hair out, I tried every possible combination of below mentioned config options to skip apt media scanning...<br>It seems that d-i apt-setup/
cdrom/set-first boolean false is simply ignored. Possible bug?</div><div>Any help would be appreciated.</div><div><br></div><div>TL'DR:</div>The issue:<br>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. <br><br>Preseed file includes (whole file can be here: <a href="
http://paste.debian.net/1257950/">http://paste.debian.net/1257950/</a>):<br><...><br>d-i apt-setup/cdrom/set-first boolean
false<br>d-i apt-setup/cdrom/set-next boolean false<br>d-i apt-setup/cdrom/set-failed boolean false<br><br>apt-cdrom-setup apt-setup/cdrom/set-first boolean false<br>apt-cdrom-setup apt-setup/cdrom/set-next boolean false<br>apt-cdrom-
setup apt-setup/cdrom/set-double boolean false<br>apt-cdrom-setup apt-setup/cdrom/set-failed boolean false<br><...><br><br>ISO file used for installation:<br>debian-cd/current/amd64/iso-cd/debian-11.5.0-amd64-netinst.iso<br><br>Boot
command:<br>auto=true priority=critical preseed/url="" href="<a href="
http://ip_address_colon_mark_port/debian-preseed.txt">http://ip_address_colon_mark_port/debian-preseed.txt</a>"><a href="
http://ip_address_colon_mark_port/debian-
preseed.txt">
http://ip_address_colon_mark_port/debian-preseed.txt</a><br><br>Additionally I uploaded console log screenshot here: <a href="
https://i.imgur.com/lKtgqyZ.png">https://i.imgur.com/lKtgqyZ.png</a> <div><div>and error itself (from d-i): <a
href="
https://imgur.com/eZbMPTy.png">https://imgur.com/eZbMPTy.png</a></div><div><br>Running installer with DEBCONF_DEBUG=5 do not provide any additional information. <br><br>From <a href="
https://preseed.einval.com/debian-preseed/bullseye/amd64-main-
full.txt">
https://preseed.einval.com/debian-preseed/bullseye/amd64-main-full.txt</a><br>it seems that only apt-setup/cdrom/set-failed should be sufficient:<br><br>### Description: Scan extra installation media?<br># An attempt to configure apt to
install additional packages from the<br># media failed.<br># .<br># Please check that the media has been inserted correctly.<br># d-i apt-setup/cdrom/set-failed boolean true<br><br>Unfortunately this does not work :/</div></div></div>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)