[00:00] I am working with dfsbuild and am running into some errors that are inexplicable [00:00] dfsbuild isn't something I've ever used [00:01] so I'm afraid we may have difficulty supporting it here [00:02] however: please quote exact error messages, preferably with context of where they're appearing [00:03] I should know where "Unknown suite Hardy" would be coming from, but I can't find it just now, and context would probably help [00:04] like I said before, "not an Ubuntu CD" simply literally means that .disk/info doesn't exist on the CD; that's the precise condition for that message being displayed [01:16] user-setup: cjwatson * r103 ubuntu/ (3 files in 2 dirs): [01:16] user-setup: Create sambashare group and add the initial user to it (thanks, Mantas [01:16] user-setup: Kriaučiūnas; LP: #238224). [01:26] user-setup: cjwatson * r104 ubuntu/ (debian/changelog user-setup-apply): [01:26] user-setup: Stop creating /etc/aliases, since apparently postfix would rather have a [01:26] user-setup: blank slate (LP: #228391). [01:29] user-setup: cjwatson * r105 ubuntu/debian/changelog: releasing version 1.20ubuntu2 [11:22] evand ping [12:10] evand_: I'm trying to get something that resembles an intrepid desktop CD to work with before I poke at your localechooser changes, FWIW [12:11] promoted two packages which should sort it out after a couple of publisher runs [12:15] xivulon: good news for the most part wubi seems to be doing it's job hansomly [12:54] davmor2: good to hear for a change :) [12:54] thanks a lot [12:54] np's [12:55] evand_: ping === davmor2 is now known as davmor2_dinner [13:46] davmor2_dinner: pong === evand_ is now known as evand [14:05] TheMuso any progress on 243226? [14:07] evand: amd 64 bit m-a still broken :( === davmor2_dinner is now known as davmor2 [14:10] hrm, ok [14:10] evand bug 218673 [14:11] thanks [14:11] np's [16:42] hi guys, I'm having trouble with a preseeded install.... the installer hangs just after the "unable to set title for console-setup-udeb" warning message [16:42] any clues? [16:44] you'll need to post /var/log/syslog [16:45] from the machine I'm installing on? [16:45] yes, there is a save logs option if you back out to the menu [16:46] Hmmm... I can't back out anywhere... my install starts up and I get the blue screen of the installer and the line at the bottom just flashes intermittently... can I get the logs through the console there? [16:46] nm... I got it [16:46] that "unable to set title" message is purely cosmetic FYI [16:46] so it'll be something else [16:47] cjwatson: yeah... but that's the last message I get in the logs [16:47] you can also press alt-f2 and use nc, or alt-f2, 'anna-install openssh-client-udeb', and use scp [16:47] yeah, just saying it's a totally useless message for the purpose of diagnosis and therefore it is necessary to look at something else :) [16:47] cjwatson: fair enough... trying the scp now [16:48] it sounds like a menu item is looping [16:48] hmmm... that scp doesn't seem to work [16:48] with what error message? [16:48] When I install it I get a bunch of blank lines and then scp is not available at the command line [16:48] might depend how far through the installer it got [16:49] try nc instead [16:49] cjwatson: murgh... I have no network on the box [16:49] oh [16:49] can I see the preseed file and try zen diagnostics? [16:49] cjwatson: let me pastebin the last lines here... hang on [16:49] (blank out any passwords therein) [16:50] cjwatson: argh... no way to grab the output (I'm in a qemu window) [16:50] cjwatson: I'll post the preseed file [16:51] cjwatson: here it is: http://pastebin.com/d7112bb14 [16:52] what's your kernel command line (via pxe or whatever)? [16:52] is this a netboot install? [16:53] oh, and from which URL did you download the netboot image, if so? [16:53] cjwatson: here's my kernel "append" line: file=/cdrom/preseed/asterisk.seed debian-installer/locale=en_CA console-setup/ask_detect=false console-setup/layout=us initrd=/install/initrd.gz ramdisk_size=16384 root=/dev/ram -- [16:53] cjwatson: not netboot, I modified an installer CD, edited the isolinux.cfg file and added my own preseed file [16:54] cjwatson: The thought occurs: do I need to generate/re-generate md5 sums for those files? [16:54] md5sums aren't yet checked unless you ask for it [16:54] cjwatson: ok, cool [16:54] that should be console-setup/layoutcode=us [16:55] (and you can leave out console-setup/ask_detect=false, console-setup/layoutcode=anything implies it [16:55] ) [16:55] OK, I'll switch it up [16:55] that might be it - it's hard to say for sure [16:55] cjwatson: let me give it a shot... hang on [16:55] * cjwatson tries with intrepid [16:56] yeah, I think that's it, hangs here too [16:57] OK... just re-packaging the ISO now [16:57] might be able to catch that, though it's something of a "don't do that then" :-) [16:58] cjwatson: nice! it seems to be working; thanks so much [16:59] cjwatson: follow-up question: do you know how I can skip the intro bit where I need to select English and then select my install type from the menu? [16:59] cjwatson: hmmm... I spoke too soon [17:00] cjwatson: it says it failed to process the file... [17:00] yes, that may just have got you further along [17:00] exact error message please? it's hard to grep for paraphrases [17:00] cjwatson: something about /etc/default-release doesn't exist [17:00] sorry [17:01] It says "Failed to process the preconfiguration file from file:///cdrom/preseed/asterisk.seed. The file may be corrupt" [17:01] In the red error screen [17:01] fixed the "unable to set title" message upstream [17:02] In the console it printed out the following (bits stripped)... [17:02] cat: [17:02] /etc/default-release [17:02] No such file or directory [17:02] Then two DEBUG messages about libc6 and libnewt0.52 not existing [17:03] the final message is: [17:03] INFO: Menu-item 'file-preseed' selected [17:05] could you acknowledge the error message (press enter) and see if anything further appears on alt-f4? [17:06] it's odd that debconf-set-selections would have exited non-zero without something on stderr [17:06] OK, now it says (in alt-f4): [17:06] /bin/debconf-set-selections: [17:06] shift: 56: [17:06] can't shift that many [17:07] blink [17:07] give me a minute :) [17:07] I may have found something... I had a trailing comma in my tasksel line [17:07] you did, but that shouldn't cause a parse error [17:08] (feel free to try it, I just think it's unlikely) [17:08] Do you know what the "shift" thing is? [17:09] I'm investigating [17:09] I mean, superficially yes, but not why [17:09] OK [17:10] Yeah, well... that didn't work (as you predicted) [17:10] Same shift error message [17:11] ah ok, 56 is just a line number, that makes more sense [17:12] Line number in what? In one of the installer scripts? [17:12] now, let's try looking at the version of debconf-set-selections you're actually running ... [17:12] I'm just thinking out loud [17:13] how do I get the version of that? [17:13] It's whatever is packaged with the 8.04 server release CD [17:14] it's ok, I know what you have [17:15] are you able to put the exact file up on a website somewhere, rather than on a pastebin? [17:15] (again with passwords obscured if you like, but with no other changes to the file if at all possible) [17:15] I just want to check that it's not something odd with things that look like spaces but aren't [17:15] since the file looks ok to me [17:15] sure... hang on [17:16] basically what it means is that there is a non-comment line with fewer than three words on it [17:17] Check here: http://www.ilowe.net/asterisk.seed [17:18] The password is in there but it's bogus anyway; don't worry about it [17:18] got it [17:18] (the file I mean) [17:18] :) [17:20] oh wow, that's a fun parser bug [17:20] :) [17:20] on the line after "d-i partman/confirm boolean true", you have a line containing only a single space [17:20] remove that space [17:21] nice [17:21] How come it's so picky about spaces? Reminds me of old school make files [17:21] this is fixed in intrepid [17:21] Ah.... is there any value to my running intrepid? How solid is it? [17:22] at least I think it's fixed, just a moment [17:23] (phone) [17:23] np [17:23] looks like it's working [17:39] mm, yeah, there is still a bug in intrepid; I'll get that fixed [17:41] -for line in $(grep -v '^#' "$file" | sed "s/$CR//g"); do [17:41] +for line in $(grep -v '^#\|^[[:space:]]$' "$file" | sed "s/$CR//g"); do [17:41] in case you care [17:41] actually, there's probably a better way, but anyway [17:42] cjwatson: what's the script that's in? [17:42] debconf-set-selections [17:43] it's in the preseed source package [17:43] ok, fix in my source tree, will tidy up and commit later [17:43] got to go, hope that sorts out the rest [17:43] cjwatson: will [[:space:]] match multiple spaces? [17:43] good point :-) [17:43] :) [17:43] the perils of being in a rush [17:43] Also, how can I skip the initial menu on the install? [17:44] re intrepid, it's a little less ropey than it was but I certainly wouldn't advise using it for non-testing/development purposes yet [17:44] Thanks a lot for your time... I'll be hanging around while I work on this, hopefully I'll find more bugs :) [17:44] sorry, can you wait for a couple of hours until I get back? my stepson's concert is in 16 minutes at school ... [17:44] if you hang around here I'll answer later [17:44] cjwatson: np... catch you later [18:03] cjwatson: I filed a bug for Hardy and included a patch: https://bugs.launchpad.net/ubuntu/+source/preseed/+bug/245256 === highvolt1ge is now known as highvoltage [20:09] cjwatson: am I correct in believing that we could do away with the initramfs diversion in scripts/install.py (r1549), given triggers? [22:52] evand: I'm not sure that linux-image itself is triggerised [22:52] ilowe: FWIW it's usually considered slightly bad practice to attach a patch that came from somebody else without mentioning that ... [22:53] (I've clarified on the bug) [23:02] Would anybody happen to know why I am having to set mirror/country as an argument to d-i? as it will not work inside a preseed file [23:09] cs278: hmm, shouldn't be necessary. Can I see the resulting installer syslog? [23:09] this is under gutsy [23:10] certain partman arguments seem to require the same treatment too [23:10] that *definitely points to some other problem* [23:10] err [23:10] that *definitely* points to some other problem [23:11] there's absolutely no reason partman should normally need to be preseeded on the kernel command line [23:11] I thought not [23:11] cjwatson: sorry about that; I meant to mention it but then wasn't sure exactly who you were. My bad. [23:11] can I see the resulting installer syslog demonstrating things going wrong, and the preseed file (with passwords obscured if necessary)? [23:11] ilowe: ah well, never min [23:11] d [23:11] cjwatson: yeah, just waiting for it to boot up again [23:11] ilowe: if I'd been in I would have said a bug report wasn't really necessary since it's already fixed in my working tree [23:11] but no worries [23:12] cjwatson: fair enough; I saw that you weren't the maintainer of the package so I took a chance that they would want to include it in Hardy. I'll get the hang of it given enough time and leeway :) [23:13] I'm part of the upstream maintainer team [23:13] BTW, my install ran all the way through no problems [23:13] oh good [23:13] my inclination is probably not for hardy, since now it would take six months for that to roll out into a point release, and there's a simple workaround [23:13] just trying to figure out how to skip the initial language and menu selection now [23:14] cjwatson: fair enough... what's the schedule for intrepid like? [23:14] but, once 8.04.1 is done (real soon now!) you're welcome to ask the RM for a second opinion [23:14] intrepid will be October this year [23:14] there should be a timeout setting for the initial menu [23:14] cjwatson: I'm not picky about it: I know about the issue now so I'll work around it manually for now; it was a n00b mistake anyway [23:15] 'timeout' in isolinux.cfg I think [23:15] cjwatson: funny how we developers always build slightly brittle tools for ourselves :) [23:16] it's 'timeout 0' by default - make it 'timeout 1' and that'll be a 0.1 second delay, which should be close enough [23:16] (0 == infinite) [23:16] brittle> good enough, eh? :-) [23:17] I do think it's a bug not something the user can be "blamed" for [23:17] cjwatson: worse is better (if it takes me less time to hack it together that way) [23:18] cjwatson: beautiful... the skipping works perfectly: now I have a fully automated install [23:18] * ilowe dances a bit [23:19] fantastic [23:19] (there are other approaches, you could disable gfxboot and set 'prompt 0' or suchlike - the above is just minimal-modification from what you have) [23:20] cjwatson: it's perfect; I don't really care if the screen flashes a bit, I just wanted something that wouldn't require any user interaction [23:23] cjwatson: http://tmp.cs278.org/ubuntu/syslog & http://tmp.cs278.org/ubuntu/preseed [23:29] cs278: I'd rather have an example of how it goes wrong *without* those things on the command line [23:29] oh sorr [23:29] *sorry [23:29] then I can, well, debug it going wrong :) [23:31] cjwatson: makes sense, i'm a little fed up with it [23:31] I should be able to figure out what's up [23:31] especially with DEBCONF_DEBUG=5 output [23:32] detecting network... [23:43] cs278: I'm going to need to go to bed soon ... any progress? [23:43] same urls [23:44] just done it [23:44] I manually pressed the "enter information manually" forgot I needed that before I could get ssh [23:44] but thats where it is stalling [23:47] cs278: the log for the actions performed after reading http://preseed.cs278.org/ubuntu.cfg [23:47] cs278: ... doesn't remotely correspond to what you say the contents of the preseed file are [23:48] cs278: so I'd suggest starting by checking that you really have the right preseed file in that location [23:48] for instance, while reading that preseed file, it's setting a bunch of stuff that looks like it must date from a feisty deployment [23:48] Jul 3 22:32:49 debconf: --> SET apt-setup/local0/repository http://repos.cs278.org feisty main [23:48] for example [23:49] :-O [23:49] what on earth [23:49] I just wgetted it from the box and you are right [23:49] its got my old fiesty preseed there [23:51] okay somethings gone awry with my apache setup just did a force refresh from firefox and the new script appeared [23:51] caching fun? [23:51] seems that way [23:51] cheers for your help [23:51] no problem [23:52] I'm going to find a dunce hat now [23:52] :-) [23:53] bug 32473 is relevant, and I've just noted that it affects preseed too [23:56] one more thing [23:56] if I hit escape and go to the menu, and choose download preseed file option [23:56] will the changes apply? [23:58] should do though the installer might be in a slightly odd state; I'd probably just start again and have a cup of coffee in the meantime or something [23:59] thats a lot coffee ;)