/srv/irclogs.ubuntu.com/2011/02/10/#ubuntu-installer.txt

NCommanderdoes anyone know where the flash-kernel bzr branch vanished to ?10:02
NCommanderoh, nm, found it10:03
CIA-4grub-installer: cjwatson * r1197 ubuntu/ (debian/changelog grub-installer): Canonicalise device names printed by 'mdadm --detail' (LP: #695842).14:04
CIA-4grub-installer: cjwatson * r1198 ubuntu/debian/changelog: releasing version 1.60ubuntu114:16
annunaki2k2cjwatson: here14:31
cjwatsonannunaki2k2: ok, so given that sudo is in the base system, you can't easily insert before it, which is what I was hoping14:32
cjwatsonannunaki2k2: so I think the most straightforward approach would be to not use pkgsel/include for this package, and instead do it by hand slightly afterwards14:32
cjwatsonannunaki2k2: something like this should work:  d-i preseed/late_command string SUDO_FORCE_REMOVE=1 apt-install sudo-ldap14:33
annunaki2k2cjwatson: ahh, brilliant idea!14:34
annunaki2k2cjwatson: think I'll give that a try right now - again (sadly) it takes a long time to get to that point in the installation, but it'll be worth the wait14:34
annunaki2k2cjwatson: is it worth me filing a bug on this one as well?14:35
cjwatsonas on #debian-boot, I think there should be a bug that this behaviour of sudo is only controllable in the environment and not by debconf preseeding, yes14:38
annunaki2k2thanks - I'll file one shortly14:39
CIA-4grub-installer: cjwatson * r1173 lucid-proposed/ (debian/changelog grub-installer): Canonicalise device names printed by 'mdadm --detail' (LP: #695842).14:58
annunaki2k2cjwatson: unfortunately that didn't work.15:18
annunaki2k2cjwatson: There is a different error this time: "Packages need to be removed but remove is disabled."15:18
cjwatsonoh, drat, sorry15:18
annunaki2k2no problems - I appreciate any help, even if it doesn't work :-)15:19
cjwatsonin that case15:19
cjwatsonfirstly, don't reboot yet15:19
annunaki2k2haven't - but have grabbed syslog in case you'd like it again15:20
cjwatsonit's OK, I know what the problem is15:20
cjwatsond-i preseed/late_command string SUDO_FORCE_REMOVE=1 debconf-apt-progress --no-progress --logstderr -- apt-get -q -y install sudo-ldap15:21
cjwatsontedious :-/15:21
cjwatsoner, blast, still wrong15:21
cjwatsond-i preseed/late_command string in-target sh -c 'SUDO_FORCE_REMOVE=1 debconf-apt-progress --no-progress --logstderr -- apt-get -q -y install sudo-ldap'15:22
cjwatsonI think I'm going to change apt-install to have an --allow-remove option so that  SUDO_FORCE_REMOVE=1 apt-install --allow-remove sudo-ldap  would be sufficient - that incantation is fairly ridiculous15:22
annunaki2k2ok, I can add that to the preseed, but you said do not reboot. Can I assume there is a way to implement that straight away?15:23
annunaki2k2that's a fair point, but then again, it's great to know there is a work around all the same15:23
cjwatsonif you hadn't rebooted then you could have tested it out from the shell on alt-f2, which would be quicker15:24
cjwatsoneasier to iterate that way15:24
annunaki2k2so you mean just run the command in shell command? I have not rebooted it yet15:25
cjwatsonah, I misread15:25
cjwatsonyeah, just type everything from "in-target" onwards into the shell15:25
annunaki2k2unfortunately: "sh: debconf-apt-progress: not found"15:28
annunaki2k2I have tried /usr/bin/debconf-apt-progress too, but it does the same15:28
cjwatsonuh, that's fairly odd15:29
cjwatsonyou've definitely got all the quotes right and included the in-target bit?15:29
cjwatson15:28 <CIA-3> cjwatson * r230f451 debian-installer-utils/ (README apt-install debian/changelog): Add an --allow-remove option to apt-install, which inhibits passing --no-remove to apt-get.15:29
annunaki2k2and if i run only whats in the quotes I get the same15:30
annunaki2k2yes, fairly sure I have it all correctly typed15:31
annunaki2k2This is the netboot installer - does that make a difference? Where in the busybox shell should debconf-..... be located?15:32
annunaki2k2is it okay to call the one inside "/target"?15:33
annunaki2k2scratch that - just explicitly specified /target/usr/bin/debconf-apt-progress and that didn't help15:36
annunaki2k2same error15:36
annunaki2k2In fact, when I run /target/usr/bin/debconf-apt-progress with no parameters, it still says "not found"15:37
cjwatsonthat would not work at all15:38
cjwatsonin-target is a wrapper for chroot /target so you should not have /target in the path15:38
annunaki2k2ok - just trying anyway15:38
cjwatsonwhat does 'echo $PATH' say at the busybox shell?15:39
cjwatsonrunning only what is in the quotes would fail miserably, fwiw15:39
cjwatsonand it doesn't make a difference that this is the netboot installer15:39
cjwatsoncan you confirm (with ls) that /target/usr/bin/debconf-apt-progress exists?15:40
CIA-4usb-creator: evand * r336 usb-creator/ (7 files in 7 dirs): Add the ability to test freshly written disks in KVM.15:40
annunaki2k2right, having said that in-target was a wrapper to chroot makes some sense now. When you said 'from "in-target" onwards' I ran the "sh -c ....." bit only. Prefixing in-target works....15:40
annunaki2k2...sorry for that15:40
cjwatsonah, yes, I meant inclusive15:42
cjwatsonok, so if that works and results in sudo-ldap being installed in /target, you should be able to add that to your preseed and test from scratch15:43
annunaki2k2yes, well it hasn't come back with any errors expect ones that I think are only relating to having to run in "noninteractive mode". Adding to the preseed file and trying anyway...15:46
annunaki2k2cjwatson: it has worked perfectly - thank you so much for your help16:37
cjwatsonoh good, you're welcome16:48
evhm, is it just me or do our instructions for writing Ubuntu to a USB disk on Mac not work: http://paste.ubuntu.com/565473/17:30
evlooking at http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/hdiutil.1.html I don't see how hdiutil would actually write boot code to the MBR, and even then, Mac wouldn't boot it as it doesn't support anything but EFI from USB devices.17:31
gswallowHello, all.19:40
gswallowI would like to exclude deb-src lines in my /etc/apt/sources.list file when I automatically install ubuntu.  Is this possible without having to resort to preseed/late?  Is there an apt-setup quesiton that I'm not aware of (and is there an easy way to figure out where these apt-setup options are?)19:42
gswallowThanks.19:42
cjwatsonthere is no way to preseed that away other than preseed/late_command, sorry19:44
gswallowfair enough.19:44
gswallowthanks again!19:44
CIA-4grub-installer: cjwatson * r1174 lucid-proposed/debian/changelog: releasing version 1.49ubuntu11.219:52
CIA-4grub-installer: cjwatson * r1187 maverick-proposed/ (debian/changelog grub-installer): Canonicalise device names printed by 'mdadm --detail' (LP: #695842).19:52
CIA-4grub-installer: cjwatson * r1188 maverick-proposed/debian/changelog: releasing version 1.55ubuntu4.119:53
CIA-4debian-installer: cjwatson * r1410 ubuntu/ (5 files in 2 dirs): merge lp:~apw/debian-installer/kernel-update20:13
CIA-4debian-installer: cjwatson * r1411 ubuntu/debian/changelog: releasing version 20101020ubuntu1521:42

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