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

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



Hi Jerzy,

You might be better off asking on the debian-boot mailing list (in CC).

On Sat, Oct 22, 2022 at 04:50:20PM +0200, Jerzy Patraszewski wrote:
>Hi debian-wizards,
>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 :/
-- 
Steve McIntyre, Cambridge, UK.                                steve@einval.com
"I can't ever sleep on planes ... call it irrational if you like, but I'm
 afraid I'll miss my stop" -- Vivek Das Mohapatra


Reply to: