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

shtylmancjwatson: thanks for the clarification00:04
shtylmanI now get more of what is happening that I wasn't understanding before00:05
kirklandi *love* the new timezone picker, evand, cjwatson00:58
kirkland\o/00:58
kirklandhugs around00:58
kirklandpicking Chicago out of that mess of tiny dots on Lake Michigan has sucked for a very long time00:58
shtylmanhaha00:59
StevenKkirkland: You should see the timezone picker on a 5" screen :-)01:00
kirklandStevenK: is the new one better?01:00
StevenKI've had no time to test it, sadly01:00
StevenKIt's on my list01:00
kirklandStevenK: it's a milion times better, imo01:03
shtylmanthe current version of the installer fails for me when trying the manual option04:08
shtylmanfor partitioning04:09
shtylmanis this a known bug?04:09
shtylmancause by the addition of line 1092 in the ubiquity/components/partman.py file in revision 303004:13
CIA-3ubiquity: evand * r3036 ubiquity/debian/po/ (79 files): debconf-updatepo09:36
CIA-3ubiquity: evand * r3038 ubiquity/debian/changelog: releasing version 1.11.1010:07
cjwatsonevand: did you look into shtylman's bug above at all?10:12
cjwatson04:08 <shtylman> the current version of the installer fails for me when trying the manual option10:12
cjwatson04:09 <shtylman> for partitioning10:12
cjwatson04:09 <shtylman> is this a known bug?10:12
cjwatson04:13 <shtylman> cause by the addition of line 1092 in the ubiquity/components/partman.py file in revision 303010:12
cjwatsonthat's the translation mapping stuff10:12
evandnegative, I missed that entirely.  I'll take a look now though.10:12
cjwatsonmaybe a fallback if the text is not in self.translation_mappings would be in order10:12
evandok10:13
CIA-3ubiquity: evand * r3039 ubiquity/ (debian/changelog ubiquity/components/partman.py):10:23
CIA-3ubiquity: Check to make sure there is a partman-auto translation to map to before10:23
CIA-3ubiquity: assuming there is one.10:23
evandcjwatson, shtylman: thanks for bringing that to my attention.10:23
CIA-3usb-creator: evand * r76 trunk/po/ (POTFILES.in sv.po usbcreator.pot): update-po10:45
CIA-3usb-creator: evand * r77 trunk/debian/changelog: releasing version 0.1.1210:50
davmor2evand: is there a away you could add create .img to usb-creator?11:05
evandcjwatson: I may have asked you this before, I asked Keybuk and he wasn't sure, and I've looked all over for an answer, but do you know if it's possible to handle inserting arbitrary-length lists in gettext?  That is %s becomes "a, b, and c" and somehow retains the proper grammar of the language.11:33
evandCase in point, "This computer has %s on it.", where %s can be a >= 1 list of operating systems from os-prober.11:34
evanddavmor2: it's been planned, I just have not gotten around to implementing it.  Maybe today, if not it will end up in my PPA hopefully before release.11:35
davmor2evand: Cool :)11:36
cjwatsonevand: no, gettext has no such facility11:36
cjwatsonbest answer I know of is to frame it so that the list is presented one per line after a colon or something11:37
evandhrm, that would make the interface far too long unfortunately11:37
evandbut thanks for clarifying and ending my chase after a fictitious option11:37
cjwatsonor "This computer has several operating systems on it" if that's appropriate11:38
cjwatsonso, in principle, you could have a separate set of templates "%s" "%s and %s" "%s, %s, and %s" etc. and substitute that in; but I don't feel that would work very well11:38
cjwatsonand you could well run into problems of the plural-forms type11:39
evandindeed, I had thought of that as well and share the same concern11:39
cjwatsonand of course debconf translations are not as expressive as gettext, and in particular don't support plural forms at all11:39
cjwatson(we must fix that one of these days)11:39
evandhm11:40
cjwatsonBTW, I'm adding password length checking to user-setup; just want to run it by kees before committing11:42
cjwatsonit'll need a hopefully trivial tweak in ubiquity11:42
evandwonderful11:43
cjwatsonlargely I want to ensure that we can get away with just a length check and not something more elaborate11:45
cjwatsonpartman-crypto just has a length check right now, though11:45
evandI did look into adding password strength checking to ubiquity, but the only open source algorithm I could find was cracklib, and that seemed rather deficient (and python-cracklib would need to go into main).11:47
cjwatsonmy concern with cracklib is that it works best once you build a database out of dictionaries, and what are we supposed to do - use every dictionary in the archive?11:51
cjwatsonit seems like a more sensible thing for sysadmins to apply to their users rather than for the distribution to apply to the sysadmin-like user installing it11:52
evandah, good point11:52
CIA-3partman-auto-lvm: cjwatson * r212 ubuntu/debian/ (changelog partman-auto-lvm.templates):13:56
CIA-3partman-auto-lvm: Talk about "Amount of volume group" rather than "Amount of disk space",13:56
CIA-3partman-auto-lvm: per Frans Pop.13:56
shtylmanmorning14:05
evandgood morning14:14
shtylmanis all well with the autotranslation stuff?14:20
evandindeed, all fixed now, thanks :)14:20
HaeginHi, I am having some problems installing using netboot. It was working fine but recently it has started failing to download packages successfully. Is there any reason why this might have changed?15:25
cjwatsondepends how your environment is set up; are you using a release image or one from updates? what kind of mirror are you installing from?15:26
HaeginIt is using one of the standard mirrors, I think it is either the gb or ie mirror. How do I tell whether it is using a release image or one from updates?15:27
cjwatsonyou will have downloaded the netboot image from somewhere ... what URL?15:29
cjwatsonalso the exact error message would come in handy15:29
Haeginhttp://archive.ubuntu.com/ubuntu/dists/intrepid/main/installer-i386/current/images/netboot/netboot.tar.gz <- that is the link I used to get the netboot package15:32
Haeginand it fails to download seemingly random packages (and at one point it couldn't find the Release file)15:33
cjwatsonhmm. that doesn't sound like any of the problems I was thinking of; it sounds more like some kind of localised network problem to me ...15:34
Haeginyeah, that's what I thought at first but we tested it as best we could and it seems to be working fine for other things15:35
HaeginI'm on a university internet connection so that is pretty much rock solid.15:35
HaeginI'll try replacing some cables and retry them.15:37
cjwatsonI don't suppose it's possible to get a trace of the network activity in question?15:39
shtylmanevand: I finished the partition bar stuff for the kde side15:44
evandshtylman: wonderful, do you need me to merge it in or is Riddell going to review it?15:45
shtylmanif you feel the need for inspiration, or if you want to make the two match up better let me know and I can change the kde one around some15:45
shtylmanRiddell will probly review it first15:45
evandok, cool15:45
shtylmanand I need to run it through some more tests15:46
evandI'll try to take a peak at it today, otherwise definitely tomorrow15:46
shtylmank, you can run the partition bar script without the installer15:46
shtylmanits just in the kde_components folder15:46
shtylmanlet me know if you want to make the two interfaces resemble each other better15:47
evandok, will do15:48
shtylmanevand: http://shtylman.com/stuff/part_bars1.png and http://shtylman.com/stuff/part_bars2.png whenever you feel like it so you don't have to pull the source and all15:54
CIA-3ubiquity: evand * r3040 ubiquity/ (5 files in 4 dirs):15:56
CIA-3ubiquity: * Explain the automatic partitioning options more clearly.15:56
CIA-3ubiquity: * Move the "after" partition bar to beneath the autopartition options.15:56
evandvery nice!15:57
evandI like your resize handle15:57
shtylman:) .. I thought it might be a little more obvious to use than just a bar15:57
evandabsolutely :)15:57
evandThe above commit makes the partitioning page quite slow due to some poor interaction with the find_in_os_prober code.  I'm on it, I just wanted to land that first.16:01
CIA-3usb-creator: evand * r78 trunk/ (5 files in 4 dirs):16:09
CIA-3usb-creator: Fix the .desktop item i18n support (LP: #331061). Thanks Timo16:09
CIA-3usb-creator: Jyrinki!16:09
lfaraoneevand: Hey, did you merge in my branch?16:09
evandlfaraone: sorry, completely fell out of my mind.  Reviewing now.16:10
lfaraoneevand: thanks.16:10
shtylmanevery time I do bzr merge I have to specify the path to main ubiquity trunk...is there a way around that so it remembers?16:19
cjwatsonbzr merge --remember16:19
cjwatsonand then the next time just 'bzr merge' without args16:19
shtylmancool, thanks16:19
evandlfaraone: it needs a bit of work.  As that check is made is several places (your branch only accounts for one) we'd factor that out to a function that references a list of acceptable busses and call that whenever needed.  I've done this much working off of your original code, but it's not picking up my SD card and I don't have time at the moment to investigate any further.16:49
evandLet me pastebin what I have.16:49
evandhttp://paste.ubuntu.com/119738/16:51
_MMA_Has the ext4 format option been removed in the installers lately? I have some Studio users testing dailies tell me so. I'm about to test myself but I figured it would be faster to ask.16:55
evand_MMA_: no, it should be there.16:57
Haegincjwatson: possibly as it goes through another pc on the way to the internet16:58
_MMA_evand: Hmm... We have pending seed changes but I wouldn't think that would effect the installer. Ill keep going with testing todays disk.16:58
cjwatsondefinitely should be there and does not especially depend on seeds16:59
_MMA_As I thought.17:00
_MMA_cjwatson: It is indeed there.17:12
evandah, my code to not call os-prober over and over again is failing to work properly.17:26
shtylmanheh...thats unfortunate17:30
evandfixed17:30
CIA-3ubiquity: evand * r3041 ubiquity/ (debian/changelog ubiquity/misc.py): Stop calling os-prober multiple times if the first run returns nothing.17:30
CIA-3ubiquity: evand * r3042 ubiquity/debian/ubiquity.templates: Update the time zone comment.17:41
CIA-3ubiquity: evand * r3043 ubiquity/debian/po/ (79 files): debconf-updatepo17:42
shtylmanevand: recommendations of the use of os-prober?17:53
CIA-3ubiquity: evand * r3044 ubiquity/debian/changelog: releasing version 1.11.1117:59
evandshtylman: can you elaborate on your question, I'm not sure I understand what you're asking17:59
shtylmanwhen should I use it17:59
shtylmanand what will it return to me?17:59
shtylmanthe os name on a partition if it has one?17:59
evandexactly17:59
shtylmanand it takes in '/dev/sd?#'?18:00
evandyes18:00
shtylmanor '=dev=sd?#'18:00
shtylmancool, ok18:00
DogWatercjwatson: Heya, in 8.10 what determines whether server or desktop version will be installed in a netboot?18:01
evandshtylman: do bug Riddell to review your stuff soon, as feature freeze is tomorrow at some unknown time :)18:01
cjwatsonDogWater: if you want a server installation, you need to preseed it18:02
DogWatercjwatson: what I mean is, the desktop iso vs the server iso18:02
DogWaterwhen do you a netboot how do you tell it which edition you want?18:02
cjwatsonI answered your question18:02
shtylmanevand: will do...he has looked at it some already..currently the oxygen people are looking at the partition bar to see what they might want to change18:02
DogWateralrighty18:02
evandshtylman: very cool18:02
cjwatsonbut really, the only practical difference is which packages are installed18:02
shtylmanevand: I am new to the whole dev process, but a feature freeze...what exactly will that entail?18:03
cjwatsonthe server kernel, and the fact that you get server tasks offered18:03
evandshtylman: after that point we can only upload bug fixes18:03
evandso no more development on new features can be done18:03
cjwatsonDogWater: you can put base-installer/kernel/override-image=linux-server on the kernel command line to get the server kernel, and pkgsel/language-pack-patterns= to stop it installing language packs18:03
shtylmanI see...so would a change to the partition bar interface be considered a bug? if the actual partition bar interface was already in place?18:03
cjwatsonDogWater: and then it should offer you task selection so you can do the rest from there18:04
cjwatsonDogWater: the server CD just has a different set of packages on it and starts with a different preseed file (look for file= in the command line)18:04
shtylmanand lets say I don't get around to using your find_in_os_prober to display pretty names...would I be able to change that after the feature freeze?18:04
evandshtylman: you can always ask for an exception18:05
evandhttps://wiki.ubuntu.com/FeatureFreeze18:05
DogWatercjwatson: i'm assuming you mean this tasksel tasksel/first multiselect standard18:05
shtylmanahh, gotcha...so basically, I can continue work on things/fix bugs and then propose a patch afterwards?18:05
shtylmanand if it is deemed worthy it will be brouht in18:06
cjwatsonDogWater: no, I didn't mean that18:06
shtylmanahh..that page is helpful18:06
cjwatsonDogWater: where did that come from, anyway?18:07
DogWaterpreseed documentation18:07
cjwatsonwhat documentation where?18:07
DogWaterfor package group selection18:07
DogWaterfrom debian18:07
cjwatsondon't use Debian documentation for preseeding18:07
cjwatsonuse Ubuntu documentation for preseeding Ubuntu18:07
cjwatsonhelp.ubuntu.com, look for installation guide18:07
cjwatsonDebian and Ubuntu are *not the same* and you can't use the same documentation for both, I'm afraid18:08
DogWaterokay, i'm not using that in my current preseed, i'm just trying to figure out how to tell it to include the 'server' packages during the install.18:08
cjwatsonwhich packages?18:08
cjwatsonremember that the server CD hardly installs any extra packages by default18:08
DogWaterI guess whatever makes the server 'cd' the server cd vs the desktop cd18:08
cjwatsonthe only task it installs by default is the server task, but mostly the point of the server CD is that it offers a number of different tasks and you get to select18:09
DogWaterwe don't install gnome, that sounds like a 'gnome' thing18:09
cjwatsonsure, the desktop CD preseeds 'tasksel tasksel/first multiselect ubuntu-desktop'18:09
cjwatsonthat's actually the only thing the desktop CD preseeds at all18:09
cjwatsonthe server CD preseeds 'tasksel tasksel/first multiselect server' but there isn't actually a lot in the server seed. For any realistic system it's better to ask18:10
DogWaterwe use the 'text' and 'skipx' in our kickstart18:10
DogWaterso i dont believe it installs the desktop at all18:10
cjwatsonneither of those directives have any effect in Ubuntu18:11
cjwatsonthey are literally no-ops18:11
cjwatsonpackage selection is controlled by the %packages section (in RH too, as I understand it)18:11
cjwatsonif you want to install the server task, put @server in the %packages section18:11
cjwatsonif you want to add a mail server, add @mail-server18:11
cjwatsonetc.18:11
cjwatsonhttps://help.ubuntu.com/8.04/installation-guide/i386/automatic-install.html18:12
cjwatson:q18:12
cjwatson(oops)18:12
shtylmancjwatson: so...I have hit a roadblock...the debian installer user-setup currently being used is hard coded to the /etc/kde3 directory18:48
shtylman[13:47] <shtylman> what would I need to do to change that?18:48
shtylman[13:47] <shtylman> I have found the user-setup script I need to change...but beyond that..18:48
TheMusoIs it intentional that migratino assistant comes up in ubiquity even if there are no other OSs to migrate settings from?18:49
TheMusomigration assistant even18:52
DogWatercjwatson: that just returns couldn't find package @server (by the way)18:53
DogWatercjwatson: and it says this in the documentation: Most package groups. As special cases, the "Ubuntu Desktop" and "Kubuntu Desktop" groups install the standard Ubuntu or Kubuntu desktop systems respectively, and any group name not containing a space (for example, "ubuntu-desktop") causes packages with the corresponding Task: header in the Packages file to be installed.18:56
DogWaterso it appears that package groups are missing18:57
DogWater"most"18:57
DogWaterSo I guess is there a package group preseed command?18:59
DogWatercjwatson: oh by the way earlier when i was talking about the tasksel preseed i assumed there was a server 'task' that i could tell it to install which would take the place of putting @server in %packages since %packages is incomplete19:20
cjwatsonDogWater: oh, sorry, it's '@ server' not '@server'19:49
cjwatsonthere is a server task, but there's very little in it. You should think of the default server install as a minimal subset19:50
cjwatsonshtylman: please file a bug, we need to fix that19:51
shtylmanok...I submited a merge request19:51
shtylmanthrough launchpad19:52
shtylman(couple min ago)...seemed like the right thing to do at the time19:52
shtylmancjwatson: ^^19:52
cjwatsonok19:54
cjwatsonthanks for that, I'll do something with it when it comes through19:54
shtylmank19:54
DogWatercjwatson: i had people complain because i wasn't installing 'server'19:58
DogWaterso i guess, whatever19:58
shtylmanhow do I cross compile a deb package...if thats even possible?19:59
cjwatsonwith difficulty :)20:00
shtylman:(20:00
shtylmanwell...thats unfortunate20:00
cjwatsonin full generality, Debian packages are entirely permitted to execute things they build during the build20:00
cjwatsonyou could try dpkg-cross20:00
shtylmantotally missed the fact that my virtual machine is 32 bit and my local comp is 6420:00
cjwatsonit may work for some packages20:01
shtylmangotcha20:01
cjwatsonDogWater: the server seed currently consists of: patch screen landscape-common wireless-tools wpasupplicant w3m ubuntu-serverguide20:01
cjwatsonso not nothing, I guess, just not lots20:02
shtylmancjwatson: apparently dpkg-buildpackage takes a -a flag now20:03
shtylmanjust fyi20:03
shtylmanand it will compile for that architecture20:04
cjwatsonah, ok20:04
DogWatercjwatson: hm, is there a group that includes the server kernel?20:10
DogWatercjwatson: i dunno i think 'they' expect 8.04 to say 'lts' or something and 8.10 to say server when its installed.20:12
DogWaternot sure why this is such a sticking point20:13
CarlFKI know this isn't #mysql-install, but...  "apt-get install mysql-server" prompts for an admin pw - how can I script that?  (seed the value or ignore it and config the thing later)20:31
cjwatsonDogWater: no, you need to use the base-installer thing I mentioned above for that20:31
cjwatsonCarlFK: find out what debconf question it's asking, preseed that in the usual way?20:31
cjwatsonyou can use debconf-set-selections in the installed system20:32
cjwatsonit may not be preseedable though20:32
CarlFKdo you know if this coming from apt, or a custom script that's part of the package?  http://dev.personnelware.com/carl/a/mysqlpw.png20:33
cjwatsonI don't need to look at that to know that it doesn't come from apt :)20:34
CarlFKheh20:34
cjwatsonit's mysql-server-5.0's config or postinst script20:34
CarlFKboth - it asks, and if you leave it blank, it asks again :-/20:35
cjwatsonhonestly, not something I can really help with - try #ubuntu-server20:37
CarlFKno prob - thanks for the pointer.20:38
CarlFKback to u-installer... if I have "d-i apt-setup/local1/repository ..." but not a "apt-setup/local0..." (because I #commented it out) it seems to ignore the local1 - any idea how to deal with that?20:45
cjwatsonrename it to local0 :-)20:45
CarlFKI knew you were going to say that20:46
cjwatsoncdebconf doesn't really have any "iterate over all question names" support that's accessible to clients20:46
cjwatsonso the only thing that apt-setup can do is to try local0, local1, etc. and keep going until one of them doesn't exist20:46
CarlFKIll just un #comment the other one.  won't kill me20:46
CIA-3user-setup: cjwatson * r155 ubuntu/ (4 files in 2 dirs):21:38
CIA-3user-setup: Add weak password detection (purely length-based for now, matching21:38
CIA-3user-setup: partman-crypto).21:38
CIA-3user-setup: cjwatson * r156 ubuntu/debian/po/ (63 files): debconf-updatepo21:43
CIA-3user-setup: cjwatson * r157 ubuntu/debian/changelog: releasing version 1.23ubuntu1221:45
CIA-3ubiquity: cjwatson * r3045 ubiquity/ (debian/changelog ubiquity/components/usersetup.py): Handle user-setup's new weak password detection.22:17
CIA-3oem-config: cjwatson * r607 trunk/ (debian/changelog lib/components/console_setup.py): Only call setxkbmap if DISPLAY is set.22:53
CIA-3oem-config: cjwatson * r608 trunk/ (debian/changelog lib/components/user.py):22:55
CIA-3oem-config: Don't show the "Who are you?" page just because the auto-login question22:55
CIA-3oem-config: is asked and not preseeded (LP: #328281).22:55
CIA-3oem-config: cjwatson * r609 trunk/ (65 files in 4 dirs): Handle user-setup's new weak password detection.23:02
CIA-3oem-config: cjwatson * r610 trunk/debian/ (61 files in 2 dirs): Add forgotten oem-config/text/network_heading_label template.23:06
cjwatsonI see nobody but me is testing oem-config on the server CD :-P23:06
CIA-3oem-config: cjwatson * r611 trunk/ (65 files in 4 dirs):23:14
CIA-3oem-config: Add a "tasks" component (only usable in the debconf frontend at the23:14
CIA-3oem-config: moment) that runs tasksel.23:14
CIA-3oem-config: cjwatson * r612 trunk/ (debian/changelog scripts/netcfg-wrapper):23:15
CIA-3oem-config: Check whether /usr/lib/network-manager/ifblacklist_migrate.sh exists23:15
CIA-3oem-config: before running it.23:15
CIA-3oem-config: cjwatson * r613 trunk/ (debian/changelog finish-install.d/01oem-config-udeb):23:38
CIA-3oem-config: Fix copying of debian-installer/framebuffer to /target in23:38
CIA-3oem-config: oem-config-udeb: debconf-dumpdb returns "(null)" as the value if the23:38
CIA-3oem-config: question has never been set.23:38
CIA-3oem-config: cjwatson * r614 trunk/ (d-i/manifest debian/changelog): Automatic update of included source packages: user-setup 1.23ubuntu12.23:39
CIA-3oem-config: cjwatson * r615 trunk/debian/changelog: releasing version 1.54.623:43
CIA-3ubiquity: cjwatson * r3046 ubiquity/ (d-i/manifest debian/changelog): Automatic update of included source packages: user-setup 1.23ubuntu12.23:43
CIA-3ubiquity: cjwatson * r3047 ubiquity/debian/changelog: releasing version 1.11.1223:55

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