/srv/irclogs.ubuntu.com/2011/09/26/#ubuntu-installer.txt

jibelev, morning. bug 743359 looks popular these days. I've been able to reproduce and attached the logs in debug mode if that helps.08:51
ubot2Launchpad bug 743359 in ubiquity "Installer: LockFailedException: Failed to lock /target/var/cache/apt/archives/lock" [High,Triaged] https://launchpad.net/bugs/74335908:51
evjibel: thanks, I'll have a look at it after bug 820514, bug 781385, and bug 85568508:53
ubot2Launchpad bug 820514 in ubiquity "oem-config-remove-gtk not found during preinstalled desktop initialization" [High,Confirmed] https://launchpad.net/bugs/82051408:53
ubot2Launchpad bug 781385 in ubiquity "Ubiquity GTK should have useful accessible names set in the Glade .ui files instead of using the variable names" [Medium,Confirmed] https://launchpad.net/bugs/78138508:53
ubot2Launchpad bug 855685 in ubiquity-slideshow-ubuntu "Slideshow: "Ubuntu is all about working for real people"" [Undecided,Fix committed] https://launchpad.net/bugs/85568508:53
jibelthanks08:57
CIA-45ubiquity-slideshow-ubuntu: evand * r383 ubiquity-slideshow-ubuntu/ (debian/changelog slideshows/ubuntu/slides/accessibility.html): Ubuntu is people! Thanks Dylan McCall (LP: #855685).09:30
=== mpt_ is now known as mpt
CIA-45ubiquity: evand * r4983 trunk/ (4 files in 3 dirs):10:03
CIA-45ubiquity: Only set the ATK widget names to their GtkBuilder counterparts when10:03
CIA-45ubiquity: --ldtp is set (LP: #781385)10:03
CIA-45ubiquity-slideshow-ubuntu: evand * r384 ubiquity-slideshow-ubuntu/ (381 files in 7 dirs): Update translations from Launchpad.10:08
jibelev, about wubi, I looked at bug 842397. a call to find_iso is missing from cache_cd_path10:13
ubot2Launchpad bug 842397 in wubi "Offline Wubi install no longer works in Oneiric Wubi.exe rev225" [High,Confirmed] https://launchpad.net/bugs/84239710:13
jibelbut there is a chicken-egg problem. the search path for ISOs includes backup_dir10:14
jibelwhich is defined later in the task create_dir_structure10:14
jibelThe simplest fix would be to restore the call to find_iso and remove backup_dir from the search path10:14
jibelFrom the comment in unstallation_page.py ISO backup is disabled anyway10:15
jibelev, what do you think ?10:15
CIA-45ubiquity-slideshow-ubuntu: evand * r385 ubiquity-slideshow-ubuntu/debian/changelog: releasing version 4710:15
evjibel: looking10:39
CIA-45netcfg: cjwatson * r1276 ubuntu/ (debian/changelog dhcp.c static.c): Don't preseed IP addresses as hostnames (LP: #856088).11:31
CIA-45netcfg: cjwatson * r1277 ubuntu/debian/changelog: releasing version 1.68ubuntu511:34
jibelev, I pushed https://code.launchpad.net/~jibel/wubi/lp-842397 but the real fix would be to implement offline support for disk images. I can look at it later this week if you wish.12:15
evjibel: so I just tried running wubi with --isopath= and it works fine.12:37
evah, I see now12:39
evI was confusing find_cd for find_iso in the code12:39
evnothing calls out to find_iso at the moment12:39
PeanutHi again - I'm trying to install Natty 32-bit server on a diskless box - everything works fine until after telling it what the install-server is going to be, a bit later the ethernet interface goes down and it complains about not being able to reach the install server (gosh). The interface in question is a tigon/tg3 (BCM95702A20). Originally the kernel is fine with this card though complaining about missing firmware (for TSO etc.), but once that firmw12:41
Peanutsorry, with diskless I mean it has no floppy or CD drive, it does have harddisks.12:44
jibelev, I tried again with r234 and it doesn't use a local iso, but will use a local CD.12:47
evjibel: are you passing --isopath=?12:48
evor are you putting the iso in the same directory and expecting it to work12:48
jibelev, I tried both12:48
evisopath should work12:48
evas it worked for me with r23412:49
jibelev, are you testing on windows or wine ?13:14
evwindows13:14
evr223.1.1 is where I seem to have gone at find_iso with a hatched, but helpfully I didn't explain why in the commit log13:19
evhatchet*13:19
evand no thanks to bzr search there, as it was pretty much useless13:20
PeanutAh, I'm being bitten by https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/76088713:20
ubot2Ubuntu bug 760887 in debian-installer "Unable to network install on natty" [Undecided,New]13:20
jibelit works with wine but fails on windows with the same binary :(13:27
jibeliso_path is None on windows13:28
evinteresting13:30
evjust trying to get a handle on why I ripped out this part of use_iso and use_cd13:30
evgiven that they're not touched by the disk image stuff13:30
evah, refactoring.13:32
jibelstupid me, that's a silly path mapping error between cygwin and windows13:39
jibelit used to work because wubi.exe and the iso were in the same directory13:40
jibelev, anyway, you might be interested by http://bazaar.launchpad.net/~jibel/wubi/lp-842397/revision/235/data/images/Ubuntu.ico#data/images/Ubuntu.ico13:41
jibelit fixes the blurry icon in Windows taskbar13:41
evAWESOME!13:41
evhow did you do that?13:41
evit was confusing me to no end13:41
jibelthe application icon is the distro icon and it must be a multi-resolution icon.13:42
jibelderivatives need to update their icon too.13:43
evahhh13:44
evI was updating wubi.iso13:44
evoop13:44
evs13:44
evjibel: okay, I see how this is overlapping with what you were saying before about the backup dir14:03
evsorry about not quite understanding earlier14:03
CIA-45wubi: evand * r235 trunk/src/wubi/ (4 files in 4 dirs): Unbreak finding a local ISO and remove the backup directory code. find_iso would depend on it, but we don't create that directory so early on and we're not backing up ISOs, so there's no sense in keeping it around.14:11
CIA-45wubi: evand * r236 trunk/data/images/Ubuntu.ico: Provide a better Ubuntu icon. Thanks Jean-Baptiste Lallement14:15
jibelev, sorry for the confusion :)14:18
eventirely on me :)14:18
evfixed now14:18
evthe next cd spin will have the change14:18
jibelev, I'm updating the automated test to work with a disk image14:18
jibelis there something like 'custom-installation' with disk images to load additional data at installation time14:19
jibel?14:19
evat what point in the installation? Windows or in the initramfs?14:20
jibelany. Previously, I copied a "custom-installation" directory to c:/ubuntu/install/ and a casper-hook copies the data to the target. Does it still work with disk images ?14:28
jibelI need to add unittests to the installed system and some test settings (jenkins id, what's being tested, ...)14:29
evhm14:29
evthe second stage of the installation for disk images is entirely in the initramfs14:29
evwe could reuse early_command though14:30
jibelI looked at it but found nothing that could copy data from the host system.14:30
jibelthe best solution I came with so far, is to mount the disk image. Not ideal and of course, there is no ext2 driver for windows 7.14:32
CIA-45ubiquity: evand * r4984 trunk/ (3 files in 2 dirs): Provide a means of preseeding an oem-config frontend (LP: #820514).14:43
CIA-45console-setup: cjwatson * r421 ubuntu/debian/ (70 files in 2 dirs): merge lp:~vorlon/console-setup/lp.83866914:44
CIA-45console-setup: cjwatson * r422 ubuntu/debian/changelog: releasing version 1.57ubuntu2614:46
CIA-45installation-guide: cjwatson * r498 ubuntu/ (4 files in 4 dirs):15:00
CIA-45installation-guide: Replace 'netcfg/disable_dhcp' with 'netcfg/disable_autoconfig'15:00
CIA-45installation-guide: throughout. (We could probably do with some description of the new IPv615:00
CIA-45installation-guide: behaviour as well, but this is better than nothing.)15:00
CIA-45installation-guide: cjwatson * r499 ubuntu/ (debian/changelog en/appendix/preseed.xml):15:05
CIA-45installation-guide: Replace 'console-setup/modelcode', 'console-setup/layoutcode', and15:05
CIA-45installation-guide: 'console-setup/variantcode' with 'keyboard-configuration/modelcode',15:05
CIA-45installation-guide: 'keyboard-configuration/layoutcode', and15:05
CIA-45installation-guide: 'keyboard-configuration/variantcode' respectively (LP: #800822).15:05
CIA-45installation-guide: cjwatson * r500 ubuntu/debian/changelog: releasing version 20100518ubuntu515:07
CIA-45ubiquity: evand * r4985 trunk/ (debian/changelog scripts/install.py):15:40
CIA-45ubiquity: Terminate the updates download process before we get to15:40
CIA-45ubiquity: remove_extras (LP: #743359).15:40
evjibel: ^ I hope that fixes it, but I have no way of verifying15:40
jibelev, I still get the error when I run the installer with 'download updates while installing' checked. I copied install.py from r4985 to /usr/share/ubiquity/ on a live session then ran ubiquity16:18
evargh16:23
infinityev: *poke*16:57
evinfinity: about to leave soon, but pong16:57
infinityev: Untested, but if your "export FRONTEND" in the upstart script (for preseeding) works, wouldn't exporting the FRONTEND in oem-config-firstboot have the same effect?16:57
infinityev: Which would force consistency (finishing with whatever frontend you start with), and kill the bug?16:58
evwhat effect would that have that my change didn't cover?16:59
infinityIt would mean that a non-preseeded frontend would remain consistent.17:00
infinitySince the problem for us seems to be randomly switching from gebconf to gtk halfway through.17:00
infinity # TODO: will this work for X-based frontends when X isn't up yet?17:00
infinity if [ -z "$FRONTEND" ]; then17:00
infinity-FRONTEND="$(/usr/sbin/oem-config -q)"17:00
infinity+export FRONTEND="$(/usr/sbin/oem-config -q)"17:00
infinity fi17:00
infinity 17:00
infinitydebconf, even.17:00
evbut what isn't getting FRONTEND that's spawned from oem-config-firstboot?17:00
infinityoem-config-remove, one would assume, from the bug.17:01
evbut that's selected based on the value of FRONTEND, no?17:02
infinityBut you don't export FRONTEND after selecting it in firstboot.17:02
infinitySo, subprocesses won't inherit it.17:03
evit doesn't need to...17:03
evunless I'm missing something17:03
evoem-config-remove-gtk wont be called because the frontend will be debconf or whatever you set17:04
infinityWell, then I'm at a loss as to how this bug is occurring at all.17:04
evbecause oem-config -q returns the gtk frontend17:04
evat least that was my impression17:04
ogra_on headless it cant17:04
infinityWe're not setting a frontend.  But one is set by "/usr/sbin/oem-config -q"17:04
ogra_we dont install it there17:04
cjwatsonI thought the frontend was meant to be set by preseeding17:04
ogra_we are setting a d-i frontend iirc17:05
ogra_or unset it ...17:05
cjwatsond-i  oem-config-udeb/frontend        string debconf17:05
* ogra_ checks the code17:05
cjwatsonet al17:05
cjwatsonmaybe you don't do that in preinstalled17:05
ogra_no. that was for fixing serial vs framebuffer17:05
infinityWell, okay.  I'm getting confused.17:05
infinityWe don't fail to run oem-config.17:05
cjwatsonah, actually, all that does is control which oem-config-$frontend gets installed, so never mind me17:06
infinityWhich means the frontend IS being set correctly, even if by accident.17:06
evgotta run!17:06
infinityAnd it's not remaining consistent.17:06
infinityThe lack of consistency is the bug.  Whether we should be explicitely setting it is another possible bug.17:06
cjwatsonwe explicitly say FRONTEND="$FRONTEND" ... when calling oem-config-wrapper17:06
cjwatsonso I don't see how it can be a lack-of-export bug17:06
infinityBut the part where oem-config starts in a debconf UI, and then swaps halfway through is... Wrong.17:06
ogra_well, the consistency is that we keep ubiquity installed on all preinstalled images atm17:07
infinitycjwatson: And that call obviously works, or we'd not get oem-config at all.17:07
ogra_though i suspect there are different bugs17:07
cjwatsonhas anyone done set -x here?17:07
infinityNo, I haven't debugged at all.  Just chaed the bug a bit.  I might abuse it now. :P17:07
infinitys/chaed/chased/17:08
infinityStill, lack-of-export would be a reasonable explanation if oem-config-wrapper forks or re-execs at any point.17:08
ogra_ahm, found it17:09
ogra_debian-installer/framebuffer=false17:09
infinityAnd, conversely, if lack-of-export isn't the issue, then the upstart preseeding fix wouldn't help any, even if we preseed.17:09
ogra_thats what we set on headless, i dont think that has any influence on oem-config though17:09
infinityogra_: Apparently, we want "ubiquity/frontend=debconf_ui", looking at the code.  But, like I said, if that works, and the current bit doesn't, it would only be because the upstart job has an "export", and oem-config-firstboot doesn't, and that's still broken from a consistency standpoint.  But I'm going to play here for a sec.17:12
cjwatsonre-exec preserves the environment17:13
cjwatsonand it doesn't fork and re-exec itself17:13
cjwatsonogra_: certainly has zero influence on whether oem-config-remove-gtk is called17:14
infinitycjwatson: I dunno, maybe I'm misunderstanding how this all works, but I would assume that if our FRONTEND was set to gtk_ui, the first call to oem-config in -wrapper would fail, and we'd never actually get anywhere, right?17:15
infinitycjwatson: Or is it, perhaps, that ubiquity does sanity checking on the environment and goes debconf in the absense of $DISPLAY, so the only bit that actually breaks is oem-config-remove*?17:16
cjwatsonit might fall back to debconf automatically if it can't find gtk17:16
cjwatsonalthough in that case you'd expect -q to say that17:16
infinityYeah.  Hence why (while I'm willing to admit we should be preseeding this) it still feels like a ubiquity bug somewhere too.17:17
cjwatsonI expect so, yes17:17
infinityBut I'll write a daily to an SD and trace a bit.17:17
cjwatsonev's preseeding (well, cmdline-parsing) fix looks right to me, and I can see why it's different from exporting FRONTEND in oem-config-firstboot17:19
cjwatsonoem-config-firstboot only ever does detection; this lets you override17:20
cjwatsonthough I think there's a bug that the detected FRONTEND isn't passed to oem-config17:20
infinityWell, yes, I can see why it needs to export, since it's not directly calling.17:20
cjwatsonI think the fix for that is http://paste.ubuntu.com/697385/17:21
infinityTo make it universally fail? :)17:21
CIA-45ubiquity: cjwatson * r4986 trunk/debian/ (changelog ubiquity.install-amd64 ubiquity.install-i386): Install new files from grub-installer >= 1.66.17:22
cjwatsonWell, if detection is failing you need to fix that too17:22
cjwatsonBut it would eliminate the inconsistency17:22
infinityI'll play locally a bit and follow up to the bug later today.17:25
* infinity downloads images.17:25
infinitycjwatson: Agreed on the consistency thing, though, it's frustrating.17:25
infinity(Though, it does lead the the followup of "why does ubiquity appear to magically DTRT without a frontend specified?"17:27
infinity)17:27
cjwatson'cos it tries gtk_ui then kde_ui then debconf_ui; it's congruent with debconf itself in this respect17:28
infinitySo, one could perhaps change -wrapper to do the same thing for remove, and all would be shiny.17:29
infinityremove-gtk || FRONTEND=kde remove || FRONTED=dialog remove || true17:30
cjwatsonthere should be no need for that; that's why we call oem-config -q and record what it sayd17:31
cjwatson*says17:31
infinity(And then we'd still want to preseed to avoid all those try/fail codepaths, but at least the behaviour of both tools would be consistent.17:31
infinity)17:31
cjwatsonlet's not add more autodetection, let's fix what we have17:31
infinitycjwatson: Kay.  In circles, I guess, then.  Shouldn't -q output the value of "I tried everything, and only N worked"?  ie: outputting the same frontend it would end up actually using, not the first it finds?17:31
cjwatsonoem-config -q should list the frontend that's actually going to be used17:32
cjwatsonyes, it should17:32
cjwatsonif it's not, fix it :)17:32
infinity:)17:32
infinityPointer at where that detection bit might live?17:32
infinityVaguely.17:32
cjwatsonsearch for query in bin/ubiquity17:33
infinityDanke.17:35
* infinity goes to smoke while cards flash.17:35
CyONhai guys !! I have a ubuntu 11.10  installed on , one of my partition and now I want to install xp on my other partition..any one can help me !!19:35
cjwatsonFor installing Windows, you'll need help from a channel that knows about Windows, rather than one that knows about Ubuntu19:37
CyONok ..19:38
CIA-45debian-installer: cjwatson * r1443 natty-proposed/debian/changelog: releasing version 20101020ubuntu29.121:12

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