/srv/irclogs.ubuntu.com/2009/10/24/#ubuntu-installer.txt

cjwatsonevand: I could squeeze in a basic workaround for half of bug 445067, perhaps00:04
ubottuLaunchpad bug 445067 in ubiquity "ubiquity overwrites VBR of extended partition" [Undecided,New] https://launchpad.net/bugs/44506700:04
evandah, nice00:05
CIA-33partman-basicmethods: cjwatson * r762 ubuntu/ (choose_method/dont_use/do_option debian/changelog):00:08
CIA-33partman-basicmethods: Don't send the SET_FLAGS command when the new flags are the same as the00:08
CIA-33partman-basicmethods: old ones; this avoids partition tables being rewritten when all we did00:08
CIA-33partman-basicmethods: was set the method to "don't use" (LP: #445067).00:08
CIA-33partman-basicmethods: cjwatson * r763 ubuntu/debian/control: Maintainer and Vcs-Bzr for Ubuntu00:20
CIA-33partman-basicmethods: cjwatson * r764 ubuntu/debian/changelog: releasing version 43ubuntu100:26
evandcjwatson: obviously not for karmic, but does something like http://pastebin.ubuntu.com/300153/ seem reasonable to handle IO errors occurring outside of the file copy routine that are not handled (such as in bug 445681)?00:40
ubottuLaunchpad bug 445681 in ubiquity "Kubuntu 9.10 beta: installer crashes before finishing install" [Undecided,New] https://launchpad.net/bugs/44568100:40
evandthat is, simply moving the EnvironmentError exception handler one level higher00:41
cjwatsonENOENT might be a bit too general at that level, and quite possibly ENOTDIR too, but the others would be OK to move up like that, I think00:47
evandokay, thanks00:47
CIA-33ubiquity: cjwatson * r3558 ubiquity/ (debian/changelog scripts/install.py):00:49
CIA-33ubiquity: Furthermore, always consider English as "complete enough". The packages00:49
CIA-33ubiquity: that are missing from an installation from the Ubuntu desktop CD are not00:49
CIA-33ubiquity: critical for a reasonable user experience.00:49
wgrantcjwatson: Ah. I like r3558 -- that had me really confused.01:00
wgrantThanks.01:00
cjwatsonno problem, not sure if the same needs to be done for pkgsel01:06
cjwatsonI don't think I noticed it on an alternate install but I'll probably have to check again01:06
* cjwatson falls over01:07
evandheh01:08
evandoh wow, it's 1am01:08
Samus_Aranso I would like to know more about what the GUI installer is doing which takes such an exorbitant amount of time when custom-editing the partitions ?  with several disks, it can take minutes of scanning02:19
Samus_Aranand why there is no option to do a straight partition editor like in other distros02:19
Samus_Aranonce modifying any partition, it proceeds to do the lengthy scan again02:20
Samus_Aranand again after another change.  it is mind-bogglingly slow and frustrating to install Ubuntu because of this, especially with 4+ disks02:20
xivulonevand, cjwatson there is a new version for patch #45234810:46
cjwatsonSamus_Aran: I'd like to optimise it, certainly; I know exactly what's happening and why, although a full explanation is a bit more than I want to go into on a Saturday morning, especially when you present it in such a confrontational way ;-)12:20
cjwatsonSamus_Aran: in brief it's due to details of the way code is reused from the alternate/server installer; we most certainly do not want to have to maintain two partitioning programs, so I would far prefer to address this by optimisation rather than by rewriting, just haven't had the time yet12:21
cjwatsonSamus_Aran: the answers you got on #ubuntu-devel (probing for other OSes, etc.) were not well-informed12:21
Samus_Arancjwatson: so what would the summary be of what it's doing, if not probing for OSes ?12:23
cjwatsonthe way in which partman (d-i's partitioner) works is in some ways not a brilliant match for ubiquity. In order to reuse its behaviour, ubiquity needs to effectively drive partman back and forward under the covers in order to construct a useful graphical view12:24
cjwatsonlike I say, I already consider this an important bug that needs to be fixed12:24
cjwatsonso you aren't going to make me consider it any more important by haranguing us ;-)12:25
cjwatsonapologies for this "Moonraker12" character on #ubuntu-devel, no idea who he/she is but he/she was out of line12:25
cjwatsonin fact, optimising the partitioner is already one of the things I've noted as a project I'd like to take on for the lucid cycle12:26
Samus_Aranwhat language is the partitioner programmed in ?12:27
cjwatsona mix of shell, C, and python12:27
Samus_Aranwhat's the majority share ?12:27
cjwatsonI'm not sure of the answer, and I'm not sure that the answer would be helpful anyway :-)12:28
cjwatsonthere's C to interface to libparted; shell to do most of the business logic; and python to wire it up to ubiquity12:28
cjwatsonany meaningful work on this will involve all three12:29
Samus_Aranwell I am an expert at coding shell script, and can only read Python and C.  if there is any optimisation to do in the shell script side of things, I could help out12:29
cjwatsonI appreciate the offer, and you're welcome to look into this yourself if you wish, although there is a substantial learning curve12:29
cjwatsonas I said, it is something I plan to tackle over the next cycle, assuming my manager thinks it's worth my time :)12:30
cjwatsonyou're incorrect that no caching happens, BTW, it's just not adequate caching ...12:30
cjwatsonbasically when ubiquity asks partman to perform an action, right now it doesn't always have a way to tell which partitions are going to be affected by that, and has to rescan rather too much as a result12:31
cjwatsonI can think of some possible ways to remedy that12:32
cjwatsonanyway, have to go out12:32
CIA-33ubiquity: evand * r3559 ubiquity/ (d-i/manifest debian/changelog):14:55
CIA-33ubiquity: Automatic update of included source packages: grub-installer14:55
CIA-33ubiquity: 1.43ubuntu8, partman-basicmethods 43ubuntu1.14:55
CIA-33ubiquity: evand * r3560 ubiquity/debian/changelog: releasing version 2.0.415:15
* evand blinks at bug 45955015:54
ubottuLaunchpad bug 459550 in ubiquity "ubi-language failed with exit code 141" [Undecided,New] https://launchpad.net/bugs/45955015:54
arand_evand: may I bother you a bit? This is the update I want to test https://launchpad.net/ubuntu/+source/partman-basicmethods/43ubuntu1 unfortuantely I get stuck at the very beginning of your suggestion :( What is anna-install? from where should it be executed?  (google ain't my friend).21:49
cjwatsonarand_: I thought your problem was in the desktop installer, not in the text installer?23:09
cjwatsonif so, anna-install is no help23:09
cjwatsonarand_: if I'm right, open a terminal and run 'sudo apt-get update; sudo apt-get install ubiquity-frontend-gtk' (which will upgrade the installer) and then start the installer23:10
cjwatsonarand_: oh, not until it gets processed through the queue though ...23:16
cjwatsonarand_: how about:  sudo apt-get install patch patchutils; wget -O- http://bazaar.launchpad.net/%7Eubuntu-core-dev/partman-basicmethods/ubuntu/diff/762 | filterdiff -x debian/changelog | sudo patch /lib/partman/choose_method/70dont_use/do_option23:18
cjwatsonarand_: (I think - that's untested)23:18
evandarand_: switch to a virtual terminal (ctrl-alt-f2)23:45
evandthen hit enter and type anna-install openssh-client-udeb23:46
evandactually23:47
evandyou don't need to do that23:47
evandstill switch to the virtual terminal23:47
cjwatson23:09 <cjwatson> arand_: I thought your problem was in the desktop installer, not in the text installer?23:47
evandand wget http://launchpadlibrarian.net/34315822/partman-basicmethods_43ubuntu1_all.udeb23:47
cjwatson23:09 <cjwatson> if so, anna-install is no help23:47
evandah23:47
cjwatson23:10 <cjwatson> arand_: if I'm right, open a terminal and run 'sudo apt-get update; sudo apt-get install ubiquity-frontend-gtk' (which will upgrade the installer) and then start the installer23:47
evandmy mistake for assuming23:47
cjwatson23:16 <cjwatson> arand_: oh, not until it gets processed through the queue though ...23:47
cjwatson23:18 <cjwatson> arand_: how about:  sudo apt-get install patch patchutils; wget -O- http://bazaar.launchpad.net/%7Eubuntu-core-dev/partman-basicmethods/ubuntu/diff/762 | filterdiff -x debian/changelog | sudo23:47
cjwatson                 patch /lib/partman/choose_method/70dont_use/do_option23:47
cjwatson23:18 <cjwatson> arand_: (I think - that's untested)23:47
cjwatsonthough carry on in case I'm wrong :-)23:48
evandudpkg -i partman-basicmethods_43ubuntu1_all.udeb23:48

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