=== cr3 [n=marc@pdpc/supporter/bronze/cr3] has joined #ubuntu-installer | ||
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:47 |
---|---|---|
tepsipakki | grab the latest image | 02:49 |
tepsipakki | works fine | 02:49 |
tepsipakki | here at least :) | 02:49 |
cr3 | tepsipakki: ok, I'm updating daily/current and will let you know how it goes | 02:55 |
cjwatson | cr3: that happens when a step fails; check the syslog | 03:04 |
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:11 |
cjwatson | stick it somewhere and I'll look | 03:12 |
cr3 | aha! preseed: error: parse error on line 108: ' http://people.ubuntu.com/~cr3/hardware-certification-conformance/ ./' | 03:13 |
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:14 |
cjwatson | why do you believe that is an error from apt? | 03:15 |
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:16 |
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:17 |
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:18 |
cjwatson | it does not do its own validation at that point | 03:19 |
cjwatson | please paste those lines here | 03:19 |
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:20 |
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:22 |
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:23 |
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:24 |
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:25 |
cr3 | cjwatson: sure: http://people.ubuntu.com/~cr3/preseed.txt | 03:26 |
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:28 |
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:29 |
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:31 |
cjwatson | yeah, generally when I say "grep" I mean the actual output :) | 03:32 |
cjwatson | I've taken the bug to #debian-boot | 03:32 |
=== rrittenhouse [n=tad@cpe-76-188-35-66.neo.res.rr.com] has joined #ubuntu-installer | ||
=== rrittenhouse [n=tad@cpe-76-188-35-66.neo.res.rr.com] has joined #ubuntu-installer | ||
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 | 08:09 |
=== ChanServ [ChanServ@services.] has joined #ubuntu-installer | ||
=== mpt [n=mpt@121-72-130-219.dsl.telstraclear.net] has joined #ubuntu-installer | ||
tepsipakki | whoa, did the fix for continuation lines get in this fast (looking at preseed-1.23 changelog)? :) | 11:25 |
cr3 | is the preseed file stored somewhere when it is downloaded during the installation process? | 11:27 |
tepsipakki | yes, but can't remember where | 11:32 |
tepsipakki | try /var | 11:33 |
tepsipakki | there isn't much there | 11:33 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!