/srv/irclogs.ubuntu.com/2007/02/05/#ubuntu-installer.txt

=== cr3 [n=marc@pdpc/supporter/bronze/cr3] has joined #ubuntu-installer
=== joejaxx [i=joejaxx@alpha.joejaxx.net] has joined #ubuntu-installer
=== joejaxx [i=joejaxx@ubuntu/member/joejaxx] has left #ubuntu-installer []
=== joejaxx [i=joejaxx@ubuntu/member/joejaxx] has joined #ubuntu-installer
saispohi11:02
saispocjwatson: when i use apt-install it's possible to disable debconf question for some packages ?11:03
cjwatsonsure, preseed them to the appropriate values11:03
saispok thanks :)11:04
saispodebconf/priority ?11:04
cjwatsonhuh?11:05
saispodebconf/priority=critical no ?11:05
cjwatsonplease be more verbose11:06
saispoexcuse me11:06
saispoi use apt-install at boot for installing a base ubuntu with a metapackage11:07
saispobut when he try to install libpam-ldap11:07
cjwatson(you should probably just use pkgsel/include instead)11:07
saispoi have an error...11:07
cjwatsonbut go on11:07
saispobecause it needed sorme information11:07
saispoand i don't want this screen11:08
saispojust force the pkg install whitout question11:08
cjwatsondebconf/priority=critical means "only present questions that are asked at priority critical"11:09
cjwatsonlibpam-ldap asks questions at priority critical, at least in some situations11:09
cjwatsonthis means that a decision MUST be taken on them11:09
cjwatsonif you don't want them presented to the user interactively, the only thing you can do is preseed them11:09
saispook11:09
saispothanks11:09
saispowill try with this11:10
=== cr3 [n=marc@pdpc/supporter/bronze/cr3] has joined #ubuntu-installer
CIA-4ubiquity: cjwatson * r1843 ubiquity/ubiquity/frontend/gtkui.py: typo: self.environ -> os.environ02:05
CIA-4ubiquity: cjwatson * r1844 ubiquity/ (d-i/manifest debian/changelog):02:09
CIA-4ubiquity: * Automatic update of included source packages: partman-partitioning02:09
CIA-4ubiquity:  45ubuntu1.02:09
CIA-4ubiquity: cjwatson * r1845 ubiquity/debian/changelog: minor changelog fix02:14
tepsipakkicjwatson: so if I preseed partman-auto/method=lvm I need to specify the disk as before?02:15
tepsipakkithat's how it works now02:15
cjwatsonif there's more than one disk on the system, yes02:17
cjwatson# If there's only one disk, then preseeding partman-auto/disk is unnecessary02:17
cjwatsonif [ "$method" ]  && [ -z "$disks" ] ; then02:17
cjwatson        DEVS="$(get_auto_disks)"02:17
cjwatson        if [ "$(echo "$DEVS" | wc -l)" -eq 1 ] ; then02:17
cjwatson                disks="${DEVS%$TAB*}"02:17
cjwatson        fi02:17
cjwatsonfi02:17
tepsipakkiok, somethings wrong then02:18
evandcjwatson: m-a should be ready to merge today, I just have to test it in the installer after class to make sure everything still works.02:24
cjwatsonnice, thanks02:25
CIA-4ubiquity: cjwatson * r1846 ubiquity/debian/changelog: releasing version 1.3.1802:28
cr3can gfxboot be disabled when booting from the live cd?04:50
cjwatsonhold down shift04:51
evandugh, is there any way of resolving a undefined Py_InitModule4 symbol, other than using a newer daily CD?05:56
cjwatsonum, no idea, not heard of that05:57
evandIt keeps happening to me in various Python packages in Feisty.  Unfortunately it's happening with emap.so in Ubiquity using trunk.05:59
cjwatsonhave you updated since building emap.so?06:00
cjwatsonit's not checked in, so ...06:00
evandSorry, I don't follow.  Updated what?06:05
evandI just commented out the tzmap stuff for now as I'm just trying to test an install.06:13
cjwatsonupdated as in upgraded anything06:16
cjwatsonor did it just fail as soon as you built it?06:17
evandI think it started to fail when I built it.06:18
evandWhen it happened to me with democracyplayer it eventually went away after a few upgrades.06:20
cjwatsontruly bizarre; I don't call Py_InitModule4 directly, only Py_InitModule06:32
cjwatsonperhaps doko can help06:32
evandeh, no worries.  I'm sure it will resolve itself.06:33
cjwatsonif it happens on a live CD, that would really be odd06:37
evandWell it did, but it was with the copy of Ubiquity that I built.  It didn't happen with the version that was previously on the CD though.06:38
cjwatsonthat's *really* weird, because I often build ubiquity locally on the running live CD and it works fine06:42
cjwatsondid you build it in the live session, or externally and copy it in?06:42
evandexternally and copy06:42
cjwatsonah, so could still be a broken build system06:43
=== jharr [n=jharr@137.48.138.204] has joined #ubuntu-installer
jharris this the right chan for help with automated installers?06:48
jharr*installs06:48
cjwatsonyes06:50
evandcjwatson: it's crashing somewhere in ma_apply.  I have a few things to take care of then I'll take a look at it a little later.  I just wanted to keep you posted.06:51
cjwatsonthanks06:51
jharrI've been trying to get automated pxe installs (feisty,amd64,20061102ubuntu13 netboot.tgz installer).06:55
jharrI have a preseed file going, however, since I'm hosting that on an http server (for dev purposes), I'm assuming that all the language questions have to be answered by the 'append' option.06:55
jharrbut I've done what several tutorials have said, and it's not really working that well.06:56
jharrI've been using 'append vga=normal initrd=ubuntu-installer/amd64/initrd.gz preseed/locale=en_US kbd-chooser/method=us netcfg/choose_interface=eth0 netcfg/get_hostname= preseed/url=http://192.168.0.200/preseed/feisty-amd64-server --'06:58
jharr'/proc/cmdline shows those arguments in tact.06:58
jharrhowever I still have to answer all the language questions before it grabs the preseed/url file.06:59
jharrany ideas?06:59
jharrI know the preseed/url is making it to debconf, because it does download the preseed file (visible on VC4) when it gets the network up and running.07:00
cjwatsonlooks like your information is outdated07:01
cjwatsonchange preseed/locale to debian-installer/locale; change kbd-chooser/method to console-setup/layoutcode07:01
cjwatsonotherwise your assumption is correct07:01
cjwatsons/assumption is/assumptions are/07:01
cjwatsonwhere did you get that information? it may just legitimately date from dapper or before, but otherwise I'd like to get it corrected07:01
jharrit was for dapper07:02
jharrhttp://halisway.blogspot.com/2006/06/ubuntu-dapper-pxe-network-install.html07:02
jharrgot it from there07:02
cjwatsonok, stuff has changed since then07:03
jharrcool.07:03
cjwatsonhttps://help.ubuntu.com/6.10/ubuntu/installation-guide/i386/preseed-contents.html is (almost) up to date for edgy07:03
cjwatsonup to date in this respect, anyway07:03
jharrhas much changed when going into feisty?07:03
cjwatsonif you're using partman-auto/disk to preseed partitioning of a single disk, then you need to add 'd-i partman-auto/method string regular' to make it use regular partitioning rather than LVM or RAID or what-have-you07:04
cjwatsonotherwise not much preseeding-wise07:04
jharrahh, cool.07:04
jharrI'm working on a cluster here, and I want to start sticking everything we have into debian packages and just do clean installs every time.07:04
cjwatsonsensible07:05
jharryeah, it's a pretty big project because of the way things were done for a long time.07:05
jharrIt's mostly going to be getting everyone to work that way.07:05
jharrBelieve it or not, the way they did things before hand was to do raw installs for every client.07:05
cjwatsonoh, I can believe it07:06
jharrand some of the software required makefile patches & such.07:06
jharrI convinced them to use systemimager after my boss asked me to install 20 new nodes.07:06
jharris there a way to get the installer to spit out the choices you made into a preseed file?07:06
jharrI remember debian doing something like that, that left a couple of files in /root.07:07
cjwatsonjharr: see right at the bottom of the URL I gave above07:58
cjwatsonit will certainly preseed more than you need, though07:58
jharrcjwatson: yeah, that's what I was thinking. I thought the original debian installer put just the choices you made in a file, so you'd automatically have a skeliton preseed.08:06
stgraberdebconf-get-selections I guess08:06
stgraberbut you really have too much things preseeded08:06
jharryeah, but I mean it would be nice to have the results of the install spit out just the stuff you answered.08:07
jharrIt'd make it a lot easier for OEMs to setup their own custom installs that way.08:07
cjwatsonI think it was removed when debconf-get-selections --installer was implemented, because at that point it was trivial to generate08:09
cjwatsonoh, you're talking about the old /root/dbootstrap_settings perhaps08:09
cjwatsonthat definitely predates d-i and preseeding08:09
cjwatsonyou can probably filter the cdebconf database for stuff with the seen flag set08:10
cjwatsoninterestingly, the debconf db on my system does not appear to have very much at all with the seen flag set. Curious08:11
cjwatsonshall have to investigate that at some point08:11
jharroh, nice, I <3 text based DBs :D08:16
jharrhrmm08:59
jharrWhen I'm doing an install, how can I tell what the preseed directive is for the current prompt?09:02
jharrpartitioning in Feisty has changed apparently and I'm looking around for the preseed options that are equivalent to edgy's09:02
=== jeckers [i=hexum@tejava.dreamhost.com] has joined #ubuntu-installer
=== mark [i=mark@tilia.nedworks.org] has joined #ubuntu-installer
=== Quadrispro [n=1040FF65@ip-2-168.sn1.eutelia.it] has joined #ubuntu-installer
=== Quadrispro [n=1040FF65@ip-2-168.sn1.eutelia.it] has left #ubuntu-installer []
cjwatsonjharr: boot with DEBCONF_DEBUG=5 and you'll get a trace of what debconf's doing in /var/log/syslog - look for INPUT commands11:46
cjwatsonit may not be entirely up to date at every point due to buffering11:46
cjwatsonjharr: the partman-auto/method thing I mentioned should be the only relevant change11:46

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