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

Re: Re: Issue with preseeded install - cannot skip apt media scanning



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="" href="http://ip_address_colon_mark_port/debian-preseed.txt">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 :/

Reply to: