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

2022-10-31 Thread Jerzy Patraszewski
Ok, so I found a workaround for this issue, directly in the preseed.cfg file. I don't like it, but it works. I hope it will help someone but also I hope it will be taken forward by @philh or other d-i/apt-setup folks... in preseed.cfg: d-i preseed/early_command string \ sed -i '3i if [ d

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

2022-10-27 Thread Jerzy Patraszewski
Nh, really edge case, which also should be handled differently (imho). If someone has limited/poor/no internet connection, then one should use media with most (all?) packages. Next, after succesfull install updates should be applied using local repository (eg. apt-cacher) which addresses poor n

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

2022-10-27 Thread Andrew M.A. Cater
On Thu, Oct 27, 2022 at 07:53:06AM +0200, Jerzy Patraszewski wrote: > After some fiddling around, I think the logic is somehow broken. I might be > wrong, but when mirror is defined (use_mirror=true) and network is > configured (no_network is undef) than mirror-based install should take > precedens

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

2022-10-26 Thread Jerzy Patraszewski
After some fiddling around, I think the logic is somehow broken. I might be wrong, but when mirror is defined (use_mirror=true) and network is configured (no_network is undef) than mirror-based install should take precedense over the cd/dvd, right? Therefore the 50mirror should be renamed to be bef

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

2022-10-26 Thread Jerzy Patraszewski
Hi Phil, thanks for tips, after your tips I identified that issue is with 40cdrom script. I've added following lines: set -x echo 40cdrom-START . /usr/share/debconf/confmodule . /lib/chroot-setup.sh echo ### echo $(db_get apt-setup/cdrom/set-first) $RET echo

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

2022-10-25 Thread Philip Hands
Jerzy Patraszewski writes: > apt-cdrom-setup apt-setup/cdrom/set-first boolean false > apt-cdrom-setup apt-setup/cdrom/set-nextboolean false > apt-cdrom-setup apt-setup/cdrom/set-double boolean false > apt-cdrom-setup apt-setup/cdrom/set-failed boolean false > <...> These

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

2022-10-24 Thread Jerzy Patraszewski
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

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

2022-10-22 Thread Steve McIntyre
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 erro