Bug#815344: preseeding: empty tasksel not possible
Thanks for the answers!
On 21/02/16 09:49, Philip Hands wrote:
> I presume you're not doing anything complicated (like including other
> preseed files that might set the setting back).
No, just one preseed.cfg. I pasted it below.
> It might be worth checking that your setting really was applied by
> flipping to the console once the install is underway (Ctrl-Alt-F2) and
> running:
>
> debconf-get tasksel/first
>
> to make sure it's empty.
With either
tasksel tasksel/first multiselect standard
or
tasksel tasksel/first multiselect ""
or
tasksel tasksel/first multiselect
or
d-i tasksel/first multiselect standard
or
d-i tasksel/first multiselect ""
or
d-i tasksel/first multiselect
the output of
debconf-get tasksel/first
is completely empty during installation and I end up with those 1500 packages anyway.
In a run with
tasksel tasksel/first multiselect standard
I get this when grepping the logs for tasksel (excluding the matches in ./cdebconf/templates):
./cdebconf/questions.dat:Value: boot-root :: 200 50 250 ext3 $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /boot } . 64 512 1200 linux-swap method{ swap } format{ } . 500 512 1000000000 btrfs method{ format } format{ } use_filesystem{ } filesystem{ btrfs } mountpoint{ / } . tasksel tasksel/first multiselect standard
./cdebconf/questions.dat:Name: pkgsel/progress/tasksel
./cdebconf/questions.dat:Template: pkgsel/progress/tasksel
./cdebconf/questions.dat:Name: tasksel/title
./cdebconf/questions.dat:Template: tasksel/title
./syslog:Feb 21 08:59:42 frontend: --> SET partman-auto/expert_recipe boot-root :: 200 50 250 ext3 $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /boot } . 64 512 1200 linux-swap method{ swap } format{ } . 500 512 1000000000 btrfs method{ format } format{ } use_filesystem{ } filesystem{ btrfs } mountpoint{ / } . tasksel tasksel/first multiselect standard
./syslog:Feb 21 08:59:42 frontend: --> SET partman-auto/expert_recipe boot-root :: 200 50 250 ext3 $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /boot } . 64 512 1200 linux-swap method{ swap } format{ } . 500 512 1000000000 btrfs method{ format } format{ } use_filesystem{ } filesystem{ btrfs } mountpoint{ / } . tasksel tasksel/first multiselect standard
./syslog:Feb 21 09:00:48 debconf: <-- 0 boot-root :: 200 50 250 ext3 $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /boot } . 64 512 1200 linux-swap method{ swap } format{ } . 500 512 1000000000 btrfs method{ format } format{ } use_filesystem{ } filesystem{ btrfs } mountpoint{ / } . tasksel tasksel/first multiselect standard
./syslog:Feb 21 09:01:00 debconf: --> SUBST base-installer/debootstrap/info/retrieving SUBST0 tasksel
./syslog:Feb 21 09:01:00 debconf: Adding [SUBST0] -> [tasksel]
./syslog:Feb 21 09:01:00 debconf: --> SUBST base-installer/debootstrap/info/validating SUBST0 tasksel
./syslog:Feb 21 09:01:00 debconf: Adding [SUBST0] -> [tasksel]
./syslog:Feb 21 09:01:00 debconf: <-- 0 Retrieving tasksel...
./syslog:Feb 21 09:01:00 debconf: --> SUBST base-installer/debootstrap/info/retrieving SUBST0 tasksel-data
./syslog:Feb 21 09:01:00 debconf: Adding [SUBST0] -> [tasksel-data]
./syslog:Feb 21 09:01:00 debconf: <-- 0 Validating tasksel...
./syslog:Feb 21 09:01:00 debconf: --> SUBST base-installer/debootstrap/info/validating SUBST0 tasksel-data
./syslog:Feb 21 09:01:00 debconf: Adding [SUBST0] -> [tasksel-data]
./syslog:Feb 21 09:01:00 debconf: <-- 0 Retrieving tasksel-data...
./syslog:Feb 21 09:01:00 debconf: <-- 0 Validating tasksel-data...
./syslog:Feb 21 09:02:08 debootstrap: Preparing to unpack .../tasksel_3.31+deb8u1_all.deb ...
./syslog:Feb 21 09:02:08 debconf: --> SUBST base-installer/debootstrap/info/unpacking SUBST0 tasksel
./syslog:Feb 21 09:02:08 debconf: Adding [SUBST0] -> [tasksel]
./syslog:Feb 21 09:02:08 debootstrap: Unpacking tasksel (3.31+deb8u1) ...
./syslog:Feb 21 09:02:08 debootstrap: Preparing to unpack .../tasksel-data_3.31+deb8u1_all.deb ...
./syslog:Feb 21 09:02:08 debconf: <-- 0 Unpacking tasksel...
./syslog:Feb 21 09:02:08 debconf: --> SUBST base-installer/debootstrap/info/unpacking SUBST0 tasksel-data
./syslog:Feb 21 09:02:08 debconf: Adding [SUBST0] -> [tasksel-data]
./syslog:Feb 21 09:02:08 debootstrap: Unpacking tasksel-data (3.31+deb8u1) ...
./syslog:Feb 21 09:02:08 debconf: <-- 0 Unpacking tasksel-data...
./syslog:Feb 21 09:02:23 debootstrap: Setting up tasksel (3.31+deb8u1) ...
./syslog:Feb 21 09:02:23 debconf: --> SUBST base-installer/debootstrap/info/configuring SUBST0 tasksel
./syslog:Feb 21 09:02:23 debconf: Adding [SUBST0] -> [tasksel]
./syslog:Feb 21 09:02:24 debootstrap: Setting up tasksel-data (3.31+deb8u1) ...
./syslog:Feb 21 09:02:24 debconf: <-- 0 Configuring tasksel...
./syslog:Feb 21 09:02:24 debconf: --> SUBST base-installer/debootstrap/info/configuring SUBST0 tasksel-data
./syslog:Feb 21 09:02:24 debconf: Adding [SUBST0] -> [tasksel-data]
./syslog:Feb 21 09:02:24 debconf: <-- 0 Configuring tasksel-data...
./syslog:Feb 21 09:04:33 pkgsel: starting tasksel
./syslog:Feb 21 09:04:33 debconf: --> PROGRESS INFO pkgsel/progress/tasksel
./syslog:Feb 21 09:04:36 debconf: --> DATA tasksel/title type title
./syslog:Feb 21 09:04:36 debconf: --> DATA tasksel/title description Software selection
./syslog:Feb 21 09:04:36 debconf: --> SETTITLE tasksel/title
./syslog:Feb 21 09:05:07 frontend: --> GET tasksel/first
./syslog:Feb 21 09:05:07 frontend: <-- 10 tasksel/first doesn't exist
./syslog:Feb 21 09:02:24 debootstrap: Setting up tasksel-data (3.31+deb8u1) ...
./syslog:Feb 21 09:02:24 debconf: <-- 0 Configuring tasksel...
This is my preseed.cfg with root password, ntp, proxy and preseed/late_command removed.
d-i debian-installer/locale string en_US.UTF-8
d-i debian-installer/country string DE
d-i localechooser/countrylist/Europe select DE
d-i keyboard-configuration/xkb-keymap select de
d-i debconf/language string en_US:en
d-i localechooser/preferred-locale string en_US.UTF-8
d-i debian-installer/language string en_US:en
d-i passwd/make-user boolean false
### create this password with `openssl passwd -l`
#d-i passwd/root-password-crypted password removed
#d-i clock-setup/ntp-server string removed
d-i mirror/http/hostname string http.debian.net
d-i mirror/http/directory string /debian
#d-i mirror/http/proxy string removed
d-i apt-setup/non-free boolean true
d-i apt-setup/contrib boolean true
d-i hw-detect/load_firmware boolean true
tzsetup-udeb time/zone string Europe/Berlin
d-i partman-auto/method string regular
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman/early_command string [ -b /dev/sda ] && if=/dev/zero of=/dev/sda bs=1024 count=1024 || true
d-i partman-auto/expert_recipe string \
boot-root :: \
200 50 250 ext3 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ /boot } \
. \
64 512 1200 linux-swap \
method{ swap } format{ } \
. \
500 512 1000000000 btrfs \
method{ format } format{ } \
use_filesystem{ } filesystem{ btrfs } \
mountpoint{ / } \
. \
tasksel tasksel/first multiselect standard
d-i pkgsel/upgrade select none
d-i popularity-contest/participate boolean true
#d-i preseed/late_command string removed
d-i finish-install/reboot_in_progress note
Reply to: