[02:47] <cr3> I'm netinstalling feisty-knot1 with a preseed file and most of the installation process goes fine. at some point, the process does "Running preseed..." and then an "Ubuntu installer main menu" comes up with "Install the base system" highlighted. why is that?
[02:49] <tepsipakki> grab the latest image
[02:49] <tepsipakki> works fine
[02:49] <tepsipakki> here at least :)
[02:55] <cr3> tepsipakki: ok, I'm updating daily/current and will let you know how it goes
[03:04] <cjwatson> cr3: that happens when a step fails; check the syslog
[03:11] <cr3> cjwatson: the syslog is rather long and I don't notice any error messages near the end, are there some keywords I might like to grep?
[03:12] <cjwatson> stick it somewhere and I'll look
[03:13] <cr3> aha! preseed: error: parse error on line 108: '       http://people.ubuntu.com/~cr3/hardware-certification-conformance/ ./'
[03:14] <cr3> that's a valid line for apt, though. I actually have it for my own packages and something similar for landscape in my own sources.list file
[03:15] <cjwatson> why do you believe that is an error from apt?
[03:16] <cjwatson> I suspect the parse error being complained about is in your preseed file
[03:16] <cjwatson> it being an error from preseed, and all that
[03:16] <cjwatson> apt has not yet been installed anywhere at that stage in the installer, so it cannot possibly be emitting an error message
[03:17] <cjwatson> grep hardware-certification-conformance your_preseed_file
[03:17] <cr3> cjwatson: I was thinking it was an error in the preseed parsing which might do it's own validation for apt lines
[03:18] <cr3> cjwatson: when greping for that, I get 6 lines: 2 about apt-setup/local0/repository, 2 about apt-setup/local0/key, 1 about preseed/late_command, and 1 about that above error message
[03:19] <cjwatson> it does not do its own validation at that point
[03:19] <cjwatson> please paste those lines here
[03:20] <cr3> Dec 21 08:11:30 debconf: --> SET apt-setup/local0/repository http://people.ubuntu.com/~cr3/hardware-certification-conformance/ ./
[03:20] <cr3> Dec 21 08:11:30 debconf: --> SET apt-setup/local0/repository http://people.ubuntu.com/~cr3/hardware-certification-conformance/ ./
[03:20] <cr3> Dec 21 08:11:30 debconf: --> SET apt-setup/local0/key http://people.ubuntu.com/~cr3/hardware-certification-conformance/key
[03:20] <cr3> Dec 21 08:11:30 debconf: --> SET apt-setup/local0/key http://people.ubuntu.com/~cr3/hardware-certification-conformance/key
[03:20] <cr3> Dec 21 08:11:30 debconf: --> SET preseed/late_command apt-install hardware-certification-conformance-client
[03:20] <cr3> Dec 21 08:13:35 preseed: error: parse error on line 108: '       http://people.ubuntu.com/~cr3/hardware-certification-conformance/ ./'
[03:20] <cjwatson> please grep the preseed file, not the log file
[03:22] <cr3> d-i apt-setup/local0/repository string http://people.ubuntu.com/~cr3/hardware-certification-conformance/ ./
[03:22] <cjwatson> the error is emitted by debconf-set-selections, and is purely syntactic, which means that the syntax of your preseed file is wrong somewhere
[03:22] <cr3> d-i apt-setup/local0/key string http://people.ubuntu.com/~cr3/hardware-certification-conformance/key
[03:22] <cr3> d-i preseed/late_command string apt-install hardware-certification-conformance-client
[03:22] <cr3> aha! maybe I shouldn't be specifying "./"?
[03:22] <cjwatson> that's not it
[03:23] <cjwatson> look on line 108 of the preseed file; what is that line?
[03:23] <cr3> # Controls whether or not the hardware clock is set to UTC.
[03:23] <cjwatson> the line above?
[03:23] <cr3> line above is a comment and line above that an empty line. line below is: d-i clock-setup/utc boolean true
[03:24] <cr3> line above the empty line is: d-i partman/confirm boolean true
[03:24] <cjwatson> hmm. are you sure there are no stray DOS-style newlines, tabs, or other such wacky whitespace?
[03:25] <cjwatson> cr3: it would really be easiest if I could look at a verbatim copy of the preseed file
[03:25] <cr3> cjwatson: no tabs nor cariage returns
[03:26] <cr3> cjwatson: sure: http://people.ubuntu.com/~cr3/preseed.txt
[03:28] <cjwatson> hmm, this is arguably a bug in preseed
[03:28] <cjwatson> d-i apt-setup/local0/repository string \
[03:28] <cjwatson>        http://people.ubuntu.com/~cr3/hardware-certification-conformance/ ./
[03:28] <cjwatson> cr3: collapse that onto one line and you'll be fine
[03:29] <cjwatson> preseed avoids copying templates owned by d-i to the target system, but the grep it does is too naive to handle continuation lines
[03:31] <cr3> crap, I had collapsed those lines for reading convenience in the channel, I really had no idea that would actually be the problem. sorry for causing that confusion there, and thanks for the explanation.
[03:32] <cjwatson> yeah, generally when I say "grep" I mean the actual output :)
[03:32] <cjwatson> I've taken the bug to #debian-boot
[08:09] <cr3> I'm getting a failure with exit code 2 for: apt-install hardware-certification-conformance-client; in-target echo "192.168.2.60" > /etc/certify/server
[11:25] <tepsipakki> whoa, did the fix for continuation lines get in this fast (looking at preseed-1.23 changelog)? :)
[11:27] <cr3> is the preseed file stored somewhere when it is downloaded during the installation process?
[11:32] <tepsipakki> yes, but can't remember where
[11:33] <tepsipakki> try /var
[11:33] <tepsipakki> there isn't much there