For reference, adding a space to the end of the line caused it to appear
in the joined line, which still caused the pkgsel step to try and
install tasksel tasksel/first multiselect (and thus fail)
** Description changed:
Binary package hint: busybox
- An automated preseed install has failed on two separate models of
- hardware, one after 15 successful memtest passes, because two lines of
- the preseed file are interpreted as one.
+ An automated preseed install of hardy has failed on two separate models
+ of hardware, one after 15 successful memtest passes, because two lines
+ of the preseed file are interpreted as one.
The lines:
d-i pkgsel/include string openssh-server zsh nagios-nrpe-server
nagios-plugins ntp-server snmpd bzr bzrtools postfix vim patch screen
procmail dnsutils irqbalance userdir-ldap sl toilet netcat mtr-tiny
linux-image-server ncurses-term dselect
and:
tasksel tasksel/first multiselect
Appear to be joined together when interpreted, giving the error:
Jul 30 16:23:40 in-target: Note, selecting ntp for regex
‘ntp-server’
Jul 30 16:23:40 in-target: dnsutils is already the newest version.
Jul 30 16:23:40 in-target: netcat is already the newest version.
Jul 30 16:23:40 in-target: mtr-tiny is already the newest version.
Jul 30 16:23:40 in-target: E:
Jul 30 16:23:40 in-target: Couldn't find package dselecttasksel
I gave Colin Watson a log of the install with /lib/preseed/preseed.sh
run -x, and he suggested that the problem may be a subtle shell bug
causing the line ending in dselect to be treated as though there were a
backslash at the end. (Or, more specifically, it thinks [ "$line" !=
"${line%\\\\}" ]) This is a little difficult to prove because of the
way syslog treats newlines.
I am in the process of trying again with extra whitespace following
"dselect" in the first line.
--
preseed file interpreted as having nonexistent backslashes
https://bugs.launchpad.net/bugs/253734
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs