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