[10:02] does anyone know where the flash-kernel bzr branch vanished to ? [10:03] oh, nm, found it [14:04] grub-installer: cjwatson * r1197 ubuntu/ (debian/changelog grub-installer): Canonicalise device names printed by 'mdadm --detail' (LP: #695842). [14:16] grub-installer: cjwatson * r1198 ubuntu/debian/changelog: releasing version 1.60ubuntu1 [14:31] cjwatson: here [14:32] annunaki2k2: ok, so given that sudo is in the base system, you can't easily insert before it, which is what I was hoping [14:32] annunaki2k2: so I think the most straightforward approach would be to not use pkgsel/include for this package, and instead do it by hand slightly afterwards [14:33] annunaki2k2: something like this should work: d-i preseed/late_command string SUDO_FORCE_REMOVE=1 apt-install sudo-ldap [14:34] cjwatson: ahh, brilliant idea! [14:34] cjwatson: 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 wait [14:35] cjwatson: is it worth me filing a bug on this one as well? [14:38] as 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, yes [14:39] thanks - I'll file one shortly [14:58] grub-installer: cjwatson * r1173 lucid-proposed/ (debian/changelog grub-installer): Canonicalise device names printed by 'mdadm --detail' (LP: #695842). [15:18] cjwatson: unfortunately that didn't work. [15:18] cjwatson: There is a different error this time: "Packages need to be removed but remove is disabled." [15:18] oh, drat, sorry [15:19] no problems - I appreciate any help, even if it doesn't work :-) [15:19] in that case [15:19] firstly, don't reboot yet [15:20] haven't - but have grabbed syslog in case you'd like it again [15:20] it's OK, I know what the problem is [15:21] d-i preseed/late_command string SUDO_FORCE_REMOVE=1 debconf-apt-progress --no-progress --logstderr -- apt-get -q -y install sudo-ldap [15:21] tedious :-/ [15:21] er, blast, still wrong [15:22] d-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] I 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 ridiculous [15:23] ok, 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] that's a fair point, but then again, it's great to know there is a work around all the same [15:24] if you hadn't rebooted then you could have tested it out from the shell on alt-f2, which would be quicker [15:24] easier to iterate that way [15:25] so you mean just run the command in shell command? I have not rebooted it yet [15:25] ah, I misread [15:25] yeah, just type everything from "in-target" onwards into the shell [15:28] unfortunately: "sh: debconf-apt-progress: not found" [15:28] I have tried /usr/bin/debconf-apt-progress too, but it does the same [15:29] uh, that's fairly odd [15:29] you've definitely got all the quotes right and included the in-target bit? [15:29] 15:28 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:30] and if i run only whats in the quotes I get the same [15:31] yes, fairly sure I have it all correctly typed [15:32] This is the netboot installer - does that make a difference? Where in the busybox shell should debconf-..... be located? [15:33] is it okay to call the one inside "/target"? [15:36] scratch that - just explicitly specified /target/usr/bin/debconf-apt-progress and that didn't help [15:36] same error [15:37] In fact, when I run /target/usr/bin/debconf-apt-progress with no parameters, it still says "not found" [15:38] that would not work at all [15:38] in-target is a wrapper for chroot /target so you should not have /target in the path [15:38] ok - just trying anyway [15:39] what does 'echo $PATH' say at the busybox shell? [15:39] running only what is in the quotes would fail miserably, fwiw [15:39] and it doesn't make a difference that this is the netboot installer [15:40] can you confirm (with ls) that /target/usr/bin/debconf-apt-progress exists? [15:40] usb-creator: evand * r336 usb-creator/ (7 files in 7 dirs): Add the ability to test freshly written disks in KVM. [15:40] right, 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] ...sorry for that [15:42] ah, yes, I meant inclusive [15:43] ok, 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 scratch [15:46] yes, 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... [16:37] cjwatson: it has worked perfectly - thank you so much for your help [16:48] oh good, you're welcome [17:30] hm, 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:31] looking 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. [19:40] Hello, all. [19:42] I 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] Thanks. [19:44] there is no way to preseed that away other than preseed/late_command, sorry [19:44] fair enough. [19:44] thanks again! [19:52] grub-installer: cjwatson * r1174 lucid-proposed/debian/changelog: releasing version 1.49ubuntu11.2 [19:52] grub-installer: cjwatson * r1187 maverick-proposed/ (debian/changelog grub-installer): Canonicalise device names printed by 'mdadm --detail' (LP: #695842). [19:53] grub-installer: cjwatson * r1188 maverick-proposed/debian/changelog: releasing version 1.55ubuntu4.1 [20:13] debian-installer: cjwatson * r1410 ubuntu/ (5 files in 2 dirs): merge lp:~apw/debian-installer/kernel-update [21:42] debian-installer: cjwatson * r1411 ubuntu/debian/changelog: releasing version 20101020ubuntu15