/srv/irclogs.ubuntu.com/2009/02/11/#ubuntu-installer.txt

superm1evand, well i think it looks like bug 223671.  i've marked it accordingly.  once gnome-python-desktop is split up ubiquity's depends can be fixed up00:04
ubottuLaunchpad bug 223671 in ubiquity "wnck and rsvg should be provided in seperate packages not requiring gnome" [Undecided,New] https://launchpad.net/bugs/22367100:04
joshkcjwatson: around?02:22
TheMusojoshk: He would be asleep at this time.02:36
TheMusoI suspect02:36
joshkok02:36
joshki guess i'll send him an email02:41
evandargh, completely forgot about that dependency08:39
evandI'll just rework it to completely use PNGs, as previously planned08:40
sorenDid mathiaz post his ISO testing scripts somewhere?09:27
evandsoren: Not sure, but perhaps this is it: https://code.edge.launchpad.net/~mathiaz/+junk/iso_testing_scripts09:54
cjwatsonstgraber: I'll need the syslog as well as the preseed file10:07
sorenevand: You must be one of those Google users.10:07
evand:)10:07
sorenevand: Thanks. :)10:07
evandanytime10:07
persiaI'm trying to test my solution for bug 291670, and keep running into the installer failing to detect the CD-ROM drive under kvm.  The first advice I received indicated that this was probably transient, but I've replicated on a few dailies.  Is this an issue with the kernel, with the installer, or something else?  (read: how should I file a bug)10:38
ubottuLaunchpad bug 291670 in base-installer "LPIA installer missing kernel" [Medium,Triaged] https://launchpad.net/bugs/29167010:38
cjwatsonpersia: doesn't happen to me on i386. I'm guessing that the kernel packaging is failing to include the necessary modules in the udebs it ships10:42
persiaNo, it's specific to the lpia alternate CD.  I'll chase up with the kernel folk.  Thanks.10:42
cjwatsonpersia: use lspci to figure out the device, correlate against kernel source to figure out which module is involved, and then look in debian/d-i/10:42
cjwatsonpersia: "kernel packaging failing to include necessary modules in udebs" is exactly the sort of thing that is specific to alternate CDs, and could well be lpia-specific, so ...10:43
cjwatsonit *could* be an installer bug, but that sounds less likely in this case10:43
TheMusopersia: If you need to send a patch to the kernel folks, either Colin or myself would be happy to go through sending one to them which they can apply right out of the mail.10:53
persiaTheMuso, Thanks for the offer, but I'm not sure I'll get that far.  To me, the kernel still remains the territory of grues.10:55
TheMusopersia: in the case of d-i, it is very easy.10:55
TheMusoIts just adding a module name to a file.10:55
persiaAh.  Yes, that I think I can do :)  The phrase "patch to the kernel" always interrupts my thinking processes a bit :)10:57
TheMusoheh10:57
cjwatsondebian/d-i/ is not really the kernel. It used to be in a separate set of packages but got imported into the packaging.10:57
cjwatsons/packaging/kernel packaging/10:58
TheMusoI guess the only sticking point is dealing with git.11:01
persiaWell, at this point, the sticking point is tracking down what's missing :)11:02
persiaOnce that's sorted, whether it's git or a patch in a bug, or just barking at someone is the simple bit.11:03
* TheMuso nods.11:07
evandcjwatson: Regarding https://wiki.ubuntu.com/FoundationsTeam/Specs/OemTrackingId , do you think there should be a default DCD, and if so, any suggestions for the value?  ubuntu-cdimage was my thought.11:23
cjwatsonevand: I don't think there should be a default DCD11:49
evandok, noted11:49
davmor2evand: When is the new timezone map going into ubiquity?12:02
davmor2cjwatson, evand: I seem to be getting this issue just recently http://www.davmor2.co.uk/partition.png12:05
davmor2shouldn't the images stay on the one page?12:05
cjwatsonyou mean the scrollbar?12:07
cjwatsonit looks like it couldn't make the text fit *shrug*12:08
davmor2cjwatson: I mean the hd representation at the top12:10
davmor2Is that literally because the text is too long?12:12
cjwatsonlooks like it, yes12:17
cjwatsonmaybe ought to wrap or something12:18
davmor2cjwatson: Ah okay I'll have a look against vista at some point and see if it is the same12:18
CIA-3partman-auto: cjwatson * r281 ubuntu/ (71 files in 25 dirs): merge from Debian 84 (the hard way, since it was released from the lenny branch)12:29
CIA-3partman-auto: cjwatson * r282 ubuntu/debian/changelog: releasing version 84ubuntu112:34
CIA-3partman-auto-lvm: cjwatson * r207 ubuntu/ (4 files in 3 dirs): merge from Debian 32 (the hard way, since it was released from the lenny branch)12:40
CIA-3partman-auto-lvm: cjwatson * r208 ubuntu/debian/changelog: releasing version 32ubuntu112:42
evanddavmor2: that's a known bug13:07
evandthat will be fixed Real Soon Now (tm) :)13:07
davmor2evand: Real Soon Now (tm) isn't that short before the next LTS :)13:11
* cjwatson kicks partman-auto-lvm. Stupid overcomplicated code13:13
evandheh13:20
redmage123Hello all.  Anyone online?13:56
cjwatsonbetter to ask your question13:57
redmage123okay.13:57
redmage123I've just set up a laptop with intrepid via a network installation, but for some reason, the keyboard isn't in English.  It appears to be Arabic or some such.13:58
redmage123I.e. I can't type in anything in English characters.13:58
cjwatsonI'd like to see /etc/default/console-setup please. Also does this affect console or X or both?13:58
redmage123console, I can't even get into X, yet.13:58
cjwatsontry alt+shift (and release) and see if that switches to English13:59
redmage123Is there a way to change the keyboard config on the fly?13:59
redmage123nope13:59
cjwatsonif you can access the system remotely you can change /etc/default/console-setup and run 'sudo setupcon'. But I'd like a copy of the file first13:59
cjwatsonalso was this an automatic installation of some kind?13:59
redmage123Yes.  I used a local laptop as the tftp/pxe boot/preseed server14:00
redmage123Also running Ubuntu 8,.1014:00
cjwatsonthen perhaps the preseed file would be useful to me14:00
redmage123What's the best way to get it to you?14:01
cjwatsonhttps://bugs.launchpad.net/ubuntu/+source/console-setup/+filebug14:01
cjwatsonmake sure to erase passwords from it, obviously14:01
redmage123okay.  i just submitted bug 328078.  The preseed.cfg file is attached.14:17
ubottuLaunchpad bug 328078 in ubuntu "Ubuntu network installer sets incorrect keyboard locale" [Undecided,New] https://launchpad.net/bugs/32807814:17
cjwatsonyou didn't use the URL I gave though ;-)14:24
cjwatson(reassigned to console-setup)14:24
cjwatsonredmage123: so the main thing I notice is that you haven't actually preseeded keyboard configuration14:25
cjwatsonredmage123: you've used preseeding information from some Debian documentation, or perhaps some very old (< edgy) Ubuntu documentation14:25
redmage123isn't d-i console-keymaps-at/keymap select us going to give me the proper keyboard setup?14:26
cjwatsonno; that's based on a keyboard component in the installer that was removed in edgy14:26
redmage123oops.14:26
cjwatsonhttps://help.ubuntu.com/8.10/installation-guide/i386/appendix-preseed.html is the documentation to use for 8.1014:26
cjwatsonhttps://help.ubuntu.com/8.10/installation-guide/i386/preseed-contents.html#preseed-l10n advises "d-i console-setup/layoutcode string us"14:26
cjwatsonit would be nice if we had a more graceful default, though, and I've said as much in the bug14:27
cjwatsonthe reason we changed the preseed variable name rather than maintaining compatibility, by the way, was that we switched to generating console keymaps from X keymaps, and so you now select an X keymap name rather than a console keymap name14:29
cjwatsonin some cases these overlapped (e.g. us), but in many cases they didn't, and I think there were even some conflicts14:29
cjwatsonso it was better to have a clean break14:29
redmage123got it.  I'm trying the new config now...14:30
redmage123I do have to say that setting up an automated network installation of Ubuntu has been...challenging. :-)14:31
redmage123For some reason, even though I had mounted the intrepid iso on my local system, I simply coudln't get the remote installer to use it.14:31
cjwatsonit's probably easier if you follow the right documentation ;-)14:31
redmage123so, I had to switch it to an ubuntu installation site on the internet.14:32
cjwatsonwe don't generally support installing from a mounted ISO; while ISO images contain *most* of what you need for a netboot installation, they really aren't guaranteed to do so14:32
cjwatsonthe netboot initrd is starting out from a different set of installer components14:32
cjwatsonthat said, it ought to be possible, I just tend not to have very much sympathy when it breaks ;-)14:33
redmage123Okay, so what if I'm in a situation where, for whatever reason, I need to install ubuntu over the network but don't have internet access or have a heavy firewall presence which I can't modify?  Am I SOL?14:34
cjwatsonfor firewalls, I generally advise (getting somebody who can to) create a local mirror. You're going to need one anyway for installing any other packages after the fact or for security updates14:35
redmage123Is there any good docs for creating a local mirror?14:36
cjwatsonstill, it may be possible to get it to work in your case; I'd be happy to look at a log of it failing to use the mounted ISO image to figure out why it didn't work14:36
cjwatsondebmirror(1)14:37
redmage123I don't think it's necessary to debug the iso issue, this is really more of my lack of experience in doing network installs in Ubuntu than anything else.  I just assumed (wrongly) that pointing remote install to the .iso was the correct procedure.14:39
cjwatsonit's probably just incorrect preseeding somewhere ...14:44
cjwatson"d-i mirror/country string manual" rather than "enter information manually" might help14:44
cjwatsonalthough shouldn't be relevant14:44
cjwatsond-i partman-auto/init_automatically_partition \14:45
cjwatsond-i partman-auto/disk string /dev/sda14:45
cjwatsonthat's bizarre - that expands to "d-i partman-auto/init_automatically_partition d-i partman-auto/disk string /dev/sda" which I'm sure isn't what you meant14:45
cjwatsonmight be less effort in the long run to start from scratch with the Ubuntu example preseed file :-)14:46
stgrabercjwatson: we're opening a bug report now with everything attached14:52
stgrabercjwatson: bug 32809715:00
ubottuLaunchpad bug 328097 in debian-installer "preseeding partitionning isn't working anymore hardy 8.04.2" [Undecided,New] https://launchpad.net/bugs/32809715:00
superm1evand, well splitting python-gnome2-desktop is feasible still, does rsvg provide enough advantages (scaling) that it would be more worthwhile to use?15:12
evandIt's somewhat hard to say as the requirements have changed slightly as the code has been developed, so while rendering SVGs as the mouse moved was basically unusable, we now only render the highlight on click.  Still, I'm inclined to go with PNGs just because I've been bitten so badly by the poor performance of the old design.15:14
evandIt's not going to be much work to make it use all PNGs (as I'm partly through it now).15:14
superm1oh yeah definitely agree there then15:14
evandgood deal15:14
cjwatsonstgraber: any chance you could do a bit of set -x debugging work for me?15:14
cjwatsonstgraber: remove enough of your preseeding so that you get the hostname prompt, then run through the installer until the hostname prompt appears, switch to tty2, 'nano /bin/perform_recipe', and put 'set -x' on the second line15:15
cjwatsonstgraber: then switch back to tty1, continue the installation, and send me the syslog again15:16
cjwatson(I've looked through the existing logs and they don't really give me enough, unfortunately)15:16
stgrabercjwatson: sure15:22
stgrabercjwatson: I don't have perform_recipe when at the hostname prompt15:24
stgraberisn't it downloaded right after that prompt ? (I'm using mini.iso)15:24
cjwatsoncan you stick around for a bit? I have to run right now15:26
stgrabersure, I'm EST so I have plenty of time :)15:27
loolcjwatson: re NSLU2: Issue was that the ramdisk was overwriting APEX when unpacked; we found values which work but need a change in APEX; ogra experiments a bit more to find optimal values for APEX and we hope to get these changes in Debian15:46
cjwatsonlool: ok, cool15:58
CIA-3ubiquity: evand * r3021 ubiquity/ (27 files in 3 dirs):16:40
CIA-3ubiquity: Make the timezone map only use PNGs to avoid a dependency on16:40
CIA-3ubiquity: python-gnome2-desktop and because we want to optimze for speed rather16:40
CIA-3ubiquity: than image quality.16:40
evand^ Apologies for growing the size of the bzr branch by removing and adding all of those images.16:40
superm1evand, can you upload that change today too so that xubuntu and mythbuntu dailies aren't broke?17:17
tunkI'm having real problems installing ubuntu on my aspire one netbook. I've tried making usb key installers from iso images using unetbootin, but they result in boot errors on the aspire. the .img file for UNR succeeds until it gets to "will mount root from /dev/sdb". Any ideas?17:38
tunkis it just that the usb keydrive is rubbish? I've tried 217:38
tunkare there any ubuntu net install images (.img files) that i could use, as I have more success with those?17:38
cjwatsonhave you tried usb-creator? that's the one we ship by default17:42
tunkwell on my desktop machine i run plain debian and its not available in the apt-get sources which i use.17:43
davmor2tunk: netbook is an .img file17:44
tunkdavmor2, and it does boot, but it gets stuck when it gets to "will mount root from /dev/sdb"17:44
tunkso for me, while it looks amazing, UNR is not working17:44
cjwatsonI suspect the UNR guys would love to know about that; most of them are not here17:44
cjwatsonwe don't ship USB installation images of pure Ubuntu, only the application, since unfortunately it would basically double space requirements on our CD mirrors and that's a serious problem17:45
tunkis it possible for me to create an .img file and then write it using dd? I think for UNR it's also as good to take Intrepid and install the packages on top.17:46
tunki guess that's what usb-creator does anyway.17:47
tunkso do the UNR guys hang out in here?17:48
davmor2tunk: #ubutnu-mobile17:48
tunkthanks17:48
evandsuperm1: absolutely17:56
CIA-3ubiquity: evand * r3022 ubiquity/ (d-i/manifest debian/changelog):18:00
CIA-3ubiquity: Automatic update of included source packages: partman-auto18:00
CIA-3ubiquity: 84ubuntu1.18:00
CIA-3ubiquity: evand * r3023 ubiquity/debian/changelog: releasing version 1.11.818:32
joshkcjwatson: hi, you there?18:44
cjwatsonjoshk: yeah, for about five minutes18:46
joshkd'oh. will you be back?18:47
joshksilly UTC18:48
joshkwell, lemme make it quick18:49
joshk<-- GET passwd/user-password-again18:49
joshk--> 1<random memory corruption garbage>18:49
joshkless says.. <E8><B3>*^C18:49
cjwatsonI'll be back in several hours18:49
joshkok18:49
cjwatsonblink. *memory corruption*?18:49
cjwatsonit's all sh and python ...18:49
cjwatsonwell, apart from cdebconf. but that hardly ever has problems18:50
cjwatsonoh, but this is ubiquity so it's debconf, ergo perl18:50
joshkhmm, wait, never mind. turning on the debug stuff messed with my generated preseed file18:50
joshkmy bad18:50
cjwatsonah18:50
joshkcome back later, i'll probably have something for you then18:50
cjwatsonmkay18:50
cjwatsonyou're slightly reliant on my evening time, but I'll see what I can do :-) Failing all else I do read scrollback18:51
joshkokay18:51
joshkthanks18:51
cjwatsonstgraber: I think the best approach, then, might be to use expert mode (priority=low), to step through the installer until just before the partitioner starts, make those changes, and then set the priority back up to high or critical or whatever you want from the relevant main menu item19:01
joshkcjwatson: so, it was showing me the wizard because of user-setup/encrypt-home being unset19:20
joshkshould there be a default for that?19:20
joshkor should it be a hard option19:20
redmage123Hello all.20:29
redmage123So, I'm still running into this bizarre problem where the keyboard thinks it's in Arabic.20:29
redmage123Can I change this from the xdm menu?20:30
redmage123I tried setting the language to US/English, but it doesn't seem to make any difference...20:30
cjwatsonjoshk: hmm. that alone perhaps shouldn't trigger it21:52
cjwatsonredmage123: just out of interest, are you preseeding console-setup/layoutcode as a kernel parameter, or only in your preseed file?21:52
joshkcjwatson: if i preseeded it, the install goes on21:53
cjwatsonright. I think I would be inclined to call that a bug, on balance21:54
cjwatsontogether with auto-login21:54
cjwatsonthough I confess I'm not immediately sure how to fix it given the general architecture21:54
cjwatsonneed to divide up the question set for each page into ones that must be shown or preseeded and ones that can use the default - sort of a priority distinction I suppose21:55
cjwatsonredmage123: the thing is that the console is configured *before* the preseed file is processed (along with the locale and other such early bits of the installer), so you generally need to set that on the kernel command line. Sorry, I should have mentioned this earlier. console-setup/layoutcode=us is the way you do this as a boot parameter21:57
joshkwell, a band-aid fix for now would be to default it to 'no'21:57
joshkor something21:57
cjwatsonthe code in question is shared with the alternate installer, so we actually don't have a particularly good place to handle defaulting for that right now21:58
cjwatsonI'd like a bug about this, and will try to figure it out21:58
cjwatson(ubiquity runs user-setup behind the scenes and intercepts the debconf protocol; any time it gets an INPUT that isn't preseeded, that causes it to stop on whatever page it's on and ask the user)21:59
cjwatsonhmm, actually maybe it isn't too difficult22:00
redmage123cjwatson:  Do I set this up in the pxelinux.cfg/default file?22:01
joshkcjwatson: against ubiquity, then?22:01
cjwatsonjoshk: yes please22:01
cjwatsonredmage123: yes22:01
joshkk, will do22:01
cjwatsonredmage123: in the append line22:01
cjwatsonjoshk: I think I have a handle on how to fix it but a bug will be useful retrospectively ("why the hell did I do that?")22:02
cjwatsonjoshk: /ubuntu/+source/ubiquity, that is, not /ubiquity22:02
redmage123It's already in there.  The append line looks like:22:02
redmage123append ramdisk_size=14984 locale=en_US console-setup/layout=en_US...<other stuff here>22:04
cjwatsonthat must be console-setup/layoutcode=us, not console-setup/layout=en_US22:04
redmage123aha.22:04
cjwatsonen_US isn't a valid keyboard layout name, so it guesses wildly22:04
redmage123same for the locale directive?22:04
cjwatsonno, en_US is a valid locale22:04
cjwatsonjust that locales and keyboard layouts are different things :)22:05
redmage123us is lower case or is the parameter case insensitive?22:05
cjwatsonlower case22:05
cjwatsonI don't remember offhand, but lower case will definitely work22:05
redmage123Thanks.  I'll retry this...22:05
cjwatsonwas there some documentation that led you to do console-setup/layout=en_US? If so, I'd love to get it fixed, because you aren't the first person who's made this mistake22:05
cjwatsonand I have a suspicion that this is on some web page somewhere ...22:06
redmage123I'm going to definitely do a installation writeup and post it somewhere for others.22:06
cjwatson(it does need to be layoutcode rather than layout BTW - arcane internals)22:06
redmage123Yup.  Got it.22:07
redmage123BTW, one thing I'd love to see in an installer is the ability to do an install and break into a shell rather than do the full install.  Is that possible?22:07
cjwatsonfor things like recovering a system?22:08
cjwatsonor something else?22:08
redmage123I hate it when I do a complete installation and then realize I've messed something up and have to reinstall.22:08
redmage123i'd love to be able to get a certain way into an installation and then be able to break into a root shell rather than have to go through the whole installation again.22:08
redmage123Does that make any sense?22:08
cjwatsonI'm sort of wondering what you would do in the root shell22:08
cjwatsonjust stop and have a look around to check that things are sane?22:09
cjwatsonit would be a bit time-consuming, but you could run with priority=medium and then you could step through the install piece by piece22:09
redmage123Possibly, or the ability to fix a specific thing that i've screwed up in the installation.22:09
cjwatsonand there are shells on tty2 and (in recent versions) tty3 that you can use22:10
cjwatsonif you know the installer well enough it's entirely possible to modify it on the fly from those shells22:10
cjwatson(installer developers do it all the time ...)22:10
redmage123Well, I do have to say that i've learned a tremendous amount about ubuntu installation in the last couple of weeks.  :-)22:10
cjwatsonthe database of questions and answers that everything lives in is accessible from those shells (debconf-get, debconf-set), although there are some slightly awkward restrictions about setting things from there - workaroundable if you know exactly what you're doing22:11
cjwatsonwhat you're asking for sounds like something I do pretty regularly, i.e. run through the installer a little way to check that it's done the right thing. Going back is sometimes tricky for one reason or another but is usually possible *somehow*22:12
cjwatsonjoshk: you know, I'm really stupid - this is a one-liner. I just need to *remove* those two questions from the list we pay attention to22:14
joshkokay, well, you can just look busier then by closing the bug :)22:15
cjwatsonjoshk++22:15
CIA-3ubiquity: cjwatson * r3024 ubiquity/ (debian/changelog ubiquity/components/usersetup.py):22:17
CIA-3ubiquity: Don't show the "Who are you?" page just because the auto-login or22:17
CIA-3ubiquity: encrypt-home questions are asked and not preseeded (LP: #328281).22:17
=== kirkland` is now known as kirkland
joshk\o/22:32
cjwatsonredmage123: any luck confirming that proposed fix?23:18
redmage123the installation is still underway.  it's kinda slow.  Currently it's in "Select and install software"23:29
redmage123six per cent done.23:29
redmage123Been like that for a little while.23:29
* cjwatson blames apt23:34
cjwatsonI think that's it sitting preconfiguring packages or something, but without a progress bar23:34
redmage123It's gonna take probably another half hour or so before it's finished, I think.23:43

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