/srv/irclogs.ubuntu.com/2008/07/03/#ubuntu-installer.txt

opapoI am working with dfsbuild and am running into some errors that are inexplicable00:00
cjwatsondfsbuild isn't something I've ever used00:00
cjwatsonso I'm afraid we may have difficulty supporting it here00:01
cjwatsonhowever: please quote exact error messages, preferably with context of where they're appearing00:02
cjwatsonI should know where "Unknown suite Hardy" would be coming from, but I can't find it just now, and context would probably help00:03
cjwatsonlike 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 displayed00:04
CIA-1user-setup: cjwatson * r103 ubuntu/ (3 files in 2 dirs):01:16
CIA-1user-setup: Create sambashare group and add the initial user to it (thanks, Mantas01:16
CIA-1user-setup: Kriaučiūnas; LP: #238224).01:16
CIA-1user-setup: cjwatson * r104 ubuntu/ (debian/changelog user-setup-apply):01:26
CIA-1user-setup: Stop creating /etc/aliases, since apparently postfix would rather have a01:26
CIA-1user-setup: blank slate (LP: #228391).01:26
CIA-1user-setup: cjwatson * r105 ubuntu/debian/changelog: releasing version 1.20ubuntu201:29
davmor2evand ping11:22
cjwatsonevand_: I'm trying to get something that resembles an intrepid desktop CD to work with before I poke at your localechooser changes, FWIW12:10
cjwatsonpromoted two packages which should sort it out after a couple of publisher runs12:11
davmor2xivulon: good news for the most part wubi seems to be doing it's job hansomly12:15
xivulondavmor2: good to hear for a change :)12:54
xivulonthanks a lot12:54
davmor2np's12:54
davmor2evand_: ping12:55
=== davmor2 is now known as davmor2_dinner
evand_davmor2_dinner: pong13:46
=== evand_ is now known as evand
xivulonTheMuso any progress on 243226?14:05
davmor2_dinnerevand: amd 64 bit m-a still broken :(14:07
=== davmor2_dinner is now known as davmor2
evandhrm, ok14:10
davmor2evand bug 21867314:10
evandthanks14:11
davmor2np's14:11
ilowehi guys, I'm having trouble with a preseeded install.... the installer hangs just after the "unable to set title for console-setup-udeb" warning message16:42
iloweany clues?16:42
evandyou'll need to post /var/log/syslog16:44
ilowefrom the machine I'm installing on?16:45
evandyes, there is a save logs option if you back out to the menu16:45
iloweHmmm... 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
ilowenm... I got it16:46
cjwatsonthat "unable to set title" message is purely cosmetic FYI16:46
cjwatsonso it'll be something else16:46
ilowecjwatson: yeah... but that's the last message I get in the logs16:47
cjwatsonyou can also press alt-f2 and use nc, or alt-f2, 'anna-install openssh-client-udeb', and use scp16:47
cjwatsonyeah, 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
ilowecjwatson: fair enough... trying the scp now16:47
cjwatsonit sounds like a menu item is looping16:48
ilowehmmm... that scp doesn't seem to work16:48
cjwatsonwith what error message?16:48
iloweWhen I install it I get a bunch of blank lines and then scp is not available at the command line16:48
cjwatsonmight depend how far through the installer it got16:48
cjwatsontry nc instead16:49
ilowecjwatson: murgh... I have no network on the box16:49
cjwatsonoh16:49
cjwatsoncan I see the preseed file and try zen diagnostics?16:49
ilowecjwatson: let me pastebin the last lines here... hang on16:49
cjwatson(blank out any passwords therein)16:49
ilowecjwatson: argh... no way to grab the output (I'm in a qemu window)16:50
ilowecjwatson: I'll post the preseed file16:50
ilowecjwatson: here it is: http://pastebin.com/d7112bb1416:51
cjwatsonwhat's your kernel command line (via pxe or whatever)?16:52
cjwatsonis this a netboot install?16:52
cjwatsonoh, and from which URL did you download the netboot image, if so?16:53
ilowecjwatson:  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
ilowecjwatson: not netboot, I modified an installer CD, edited the isolinux.cfg file and added my own preseed file16:53
ilowecjwatson: The thought occurs: do I need to generate/re-generate md5 sums for those files?16:54
cjwatsonmd5sums aren't yet checked unless you ask for it16:54
ilowecjwatson: ok, cool16:54
cjwatsonthat should be console-setup/layoutcode=us16:54
cjwatson(and you can leave out console-setup/ask_detect=false, console-setup/layoutcode=anything implies it16:55
cjwatson)16:55
iloweOK, I'll switch it up16:55
cjwatsonthat might be it - it's hard to say for sure16:55
ilowecjwatson: let me give it a shot... hang on16:55
* cjwatson tries with intrepid16:55
cjwatsonyeah, I think that's it, hangs here too16:56
iloweOK... just re-packaging the ISO now16:57
cjwatsonmight be able to catch that, though it's something of a "don't do that then" :-)16:57
ilowecjwatson: nice! it seems to be working; thanks so much16:58
ilowecjwatson: 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
ilowecjwatson: hmmm... I spoke too soon16:59
ilowecjwatson: it says it failed to process the file...17:00
cjwatsonyes, that may just have got you further along17:00
cjwatsonexact error message please? it's hard to grep for paraphrases17:00
ilowecjwatson: something about /etc/default-release doesn't exist17:00
ilowesorry17:00
iloweIt says "Failed to process the preconfiguration file from file:///cdrom/preseed/asterisk.seed. The file may be corrupt"17:01
iloweIn the red error screen17:01
cjwatsonfixed the "unable to set title" message upstream17:01
iloweIn the console it printed out the following (bits stripped)...17:02
ilowecat:17:02
ilowe/etc/default-release17:02
iloweNo such file or directory17:02
iloweThen two DEBUG messages about libc6 and libnewt0.52 not existing17:02
ilowethe final message is:17:03
iloweINFO: Menu-item 'file-preseed' selected17:03
cjwatsoncould you acknowledge the error message (press enter) and see if anything further appears on alt-f4?17:05
cjwatsonit's odd that debconf-set-selections would have exited non-zero without something on stderr17:06
iloweOK, now it says (in alt-f4):17:06
ilowe/bin/debconf-set-selections:17:06
iloweshift: 56:17:06
ilowecan't shift that many17:06
cjwatsonblink17:07
cjwatsongive me a minute :)17:07
iloweI may have found something... I had a trailing comma in my tasksel line17:07
cjwatsonyou did, but that shouldn't cause a parse error17:07
cjwatson(feel free to try it, I just think it's unlikely)17:08
iloweDo you know what the "shift" thing is?17:08
cjwatsonI'm investigating17:09
cjwatsonI mean, superficially yes, but not why17:09
iloweOK17:09
iloweYeah, well... that didn't work (as you predicted)17:10
iloweSame shift error message17:10
cjwatsonah ok, 56 is just a line number, that makes more sense17:11
iloweLine number in what? In one of the installer scripts?17:12
cjwatsonnow, let's try looking at the version of debconf-set-selections you're actually running ...17:12
cjwatsonI'm just thinking out loud17:12
ilowehow do I get the version of that?17:13
iloweIt's whatever is packaged with the 8.04 server release CD17:13
cjwatsonit's ok, I know what you have17:14
cjwatsonare you able to put the exact file up on a website somewhere, rather than on a pastebin?17:15
cjwatson(again with passwords obscured if you like, but with no other changes to the file if at all possible)17:15
cjwatsonI just want to check that it's not something odd with things that look like spaces but aren't17:15
cjwatsonsince the file looks ok to me17:15
ilowesure... hang on17:15
cjwatsonbasically what it means is that there is a non-comment line with fewer than three words on it17:16
iloweCheck here: http://www.ilowe.net/asterisk.seed17:17
iloweThe password is in there but it's bogus anyway; don't worry about it17:18
cjwatsongot it17:18
cjwatson(the file I mean)17:18
ilowe:)17:18
cjwatsonoh wow, that's a fun parser bug17:20
ilowe:)17:20
cjwatsonon the line after "d-i partman/confirm boolean true", you have a line containing only a single space17:20
cjwatsonremove that space17:20
ilowenice17:21
iloweHow come it's so picky about spaces? Reminds me of old school make files17:21
cjwatsonthis is fixed in intrepid17:21
iloweAh.... is there any value to my running intrepid? How solid is it?17:21
cjwatsonat least I think it's fixed, just a moment17:22
cjwatson(phone)17:23
ilowenp17:23
ilowelooks like it's working17:23
cjwatsonmm, yeah, there is still a bug in intrepid; I'll get that fixed17:39
cjwatson-for line in $(grep -v '^#' "$file" | sed "s/$CR//g"); do17:41
cjwatson+for line in $(grep -v '^#\|^[[:space:]]$' "$file" | sed "s/$CR//g"); do17:41
cjwatsonin case you care17:41
cjwatsonactually, there's probably a better way, but anyway17:41
ilowecjwatson: what's the script that's in?17:42
cjwatsondebconf-set-selections17:42
cjwatsonit's in the preseed source package17:43
cjwatsonok, fix in my source tree, will tidy up and commit later17:43
cjwatsongot to go, hope that sorts out the rest17:43
ilowecjwatson: will [[:space:]] match multiple spaces?17:43
cjwatsongood point :-)17:43
ilowe:)17:43
cjwatsonthe perils of being in a rush17:43
iloweAlso, how can I skip the initial menu on the install?17:43
cjwatsonre intrepid, it's a little less ropey than it was but I certainly wouldn't advise using it for non-testing/development purposes yet17:44
iloweThanks a lot for your time... I'll be hanging around while I work on this, hopefully I'll find more bugs :)17:44
cjwatsonsorry, can you wait for a couple of hours until I get back? my stepson's concert is in 16 minutes at school ...17:44
cjwatsonif you hang around here I'll answer later17:44
ilowecjwatson: np... catch you later17:44
ilowecjwatson: I filed a bug for Hardy and included a patch: https://bugs.launchpad.net/ubuntu/+source/preseed/+bug/24525618:03
=== highvolt1ge is now known as highvoltage
evandcjwatson: am I correct in believing that we could do away with the initramfs diversion in scripts/install.py (r1549), given triggers?20:09
cjwatsonevand: I'm not sure that linux-image itself is triggerised22:52
cjwatsonilowe: FWIW it's usually considered slightly bad practice to attach a patch that came from somebody else without mentioning that ...22:52
cjwatson(I've clarified on the bug)22:53
cs278Would 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 file23:02
cjwatsoncs278: hmm, shouldn't be necessary. Can I see the resulting installer syslog?23:09
cs278this is under gutsy23:09
cs278certain partman arguments seem to require the same treatment too23:10
cjwatsonthat *definitely points to some other problem*23:10
cjwatsonerr23:10
cjwatsonthat *definitely* points to some other problem23:10
cjwatsonthere's absolutely no reason partman should normally need to be preseeded on the kernel command line23:11
cs278I thought not23:11
ilowecjwatson: sorry about that; I meant to mention it but then wasn't sure exactly who you were. My bad.23:11
cjwatsoncan I see the resulting installer syslog demonstrating things going wrong, and the preseed file (with passwords obscured if necessary)?23:11
cjwatsonilowe: ah well, never min23:11
cjwatsond23:11
cs278cjwatson: yeah, just waiting for it to boot up again23:11
cjwatsonilowe: if I'd been in I would have said a bug report wasn't really necessary since it's already fixed in my working tree23:11
cjwatsonbut no worries23:11
ilowecjwatson: 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:12
cjwatsonI'm part of the upstream maintainer team23:13
iloweBTW, my install ran all the way through no problems23:13
cjwatsonoh good23:13
cjwatsonmy 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 workaround23:13
ilowejust trying to figure out how to skip the initial language and menu selection now23:13
ilowecjwatson: fair enough... what's the schedule for intrepid like?23:14
cjwatsonbut, once 8.04.1 is done (real soon now!) you're welcome to ask the RM for a second opinion23:14
cjwatsonintrepid will be October this year23:14
cjwatsonthere should be a timeout setting for the initial menu23:14
ilowecjwatson: 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 anyway23:14
cjwatson'timeout' in isolinux.cfg I think23:15
ilowecjwatson: funny how we developers always build slightly brittle tools for ourselves :)23:15
cjwatsonit's 'timeout 0' by default - make it 'timeout 1' and that'll be a 0.1 second delay, which should be close enough23:16
cjwatson(0 == infinite)23:16
cjwatsonbrittle> good enough, eh? :-)23:16
cjwatsonI do think it's a bug not something the user can be "blamed" for23:17
ilowecjwatson: worse is better (if it takes me less time to hack it together that way)23:17
ilowecjwatson: beautiful... the skipping works perfectly: now I have a fully automated install23:18
* ilowe dances a bit23:18
cjwatsonfantastic23:19
cjwatson(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:19
ilowecjwatson: it's perfect; I don't really care if the screen flashes a bit, I just wanted something that wouldn't require any user interaction23:20
cs278cjwatson: http://tmp.cs278.org/ubuntu/syslog & http://tmp.cs278.org/ubuntu/preseed23:23
cjwatsoncs278: I'd rather have an example of how it goes wrong *without* those things on the command line23:29
cs278oh sorr23:29
cs278*sorry23:29
cjwatsonthen I can, well, debug it going wrong :)23:29
cs278cjwatson: makes sense, i'm a little fed up with it23:31
cjwatsonI should be able to figure out what's up23:31
cjwatsonespecially with DEBCONF_DEBUG=5 output23:31
cs278detecting network...23:32
cjwatsoncs278: I'm going to need to go to bed soon ... any progress?23:43
cs278same urls23:43
cs278just done it23:44
cs278I manually pressed the "enter information manually" forgot I needed that before I could get ssh23:44
cs278but thats where it is stalling23:44
cjwatsoncs278: the log for the actions performed after reading http://preseed.cs278.org/ubuntu.cfg23:47
cjwatsoncs278: ... doesn't remotely correspond to what you say the contents of the preseed file are23:47
cjwatsoncs278: so I'd suggest starting by checking that you really have the right preseed file in that location23:48
cjwatsonfor instance, while reading that preseed file, it's setting a bunch of stuff that looks like it must date from a feisty deployment23:48
cjwatsonJul  3 22:32:49 debconf: --> SET apt-setup/local0/repository http://repos.cs278.org feisty main23:48
cjwatsonfor example23:48
cs278:-O23:49
cs278what on earth23:49
cs278I just wgetted it from the box and you are right23:49
cs278its got my old fiesty preseed there23:49
cs278okay somethings gone awry with my apache setup just did a force refresh from firefox and the new script appeared23:51
cjwatsoncaching fun?23:51
cs278seems that way23:51
cs278cheers for your help23:51
cjwatsonno problem23:51
cs278I'm going to find a dunce hat now23:52
cjwatson:-)23:52
cjwatsonbug 32473 is relevant, and I've just noted that it affects preseed too23:53
cs278one more thing23:56
cs278if I hit escape and go to the menu, and choose download preseed file option23:56
cs278will the changes apply?23:56
cjwatsonshould 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 something23:58
cs278thats a lot coffee ;)23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!