/srv/irclogs.ubuntu.com/2012/01/30/#ubuntu-motu.txt

=== micahg_ is now known as micahg
alkisgI have a package mahara-el, which wants to depend and also *preseed* some debconf values for package mahara.05:56
alkisgUnfortunately calling debconf-set-selections from mahara-el.preinst happens too late, after mahara is installed.05:56
alkisgI guess I could write yet another package, mahara-el-configuration, and predepend on that... but isn't there any better way to do it?05:56
ScottKYou can't really do that in a policy compliant way.  Mahara needs to provide an interface for you to change it's configuration.05:58
alkisg...provide a way to change its debconf configuration _before_ it's installed?05:59
alkisgI don't want to change anything in /etc/, I just want to modify the setup dialogs displayed upon mahara installation by debconf06:00
alkisgHere's my preinst, i.e. a single debconf-set-selections call: http://paste.ubuntu.com/822227/06:02
alkisgAnd even if mahara provided a way to change its configuration, how would I do that from mahara-el, _before_ mahara.postinst is called?06:04
alkisgMy problem is that the dependency postinst gets installed before any of my package code runs, so I don't have any control over the dependency's postinst.06:06
alkisgHmm... So if package A depends on B and predepends on C, it's not guaranteed that C.preinst will be called before B.postinst? :(06:12
RAOFalkisg: Right.  If package A's script needs to run before package B's script, the proper dependency is B Depends: A.  Obviously that's not available to you, though.06:47
alkisgRAOF: got it, thank you. I'll just remove any preseeding attempts. :)06:48
RAOFI don't think it makes sense to preseed without Depends, anyway.  What happens if a user installs mahara-el *after* they install mahara, for example.06:48
micahgalkisg: you might be interested in this: https://juju.ubuntu.com/06:48
alkisgRAOF: it's just a helper package to ease the installation for local teachers, I'm not planning to put it to universe or anything, so if they have mahara installed they're not interested in getting help for the installation anyway06:50
alkisgSo they're not interested in mahara-el. In any case, I can check if mahara debconf values are there before setting them06:50
RAOFalkisg: Then you could document / script that you need to install maraha-el first, and…  yeah, check.06:50
alkisgAlthough I still think it would make sense for the Pre-Depends packages to be installed before the Depends packages, if possible.06:51
alkisgThat would give me a way to do preseeding.06:51
RAOFTrue.  Pre-Depends means something different, though.06:52
alkisgGotcha06:52
alkisgmicahg: I heard about juju in BTS, yeah I should probably read more about it...06:52
RAOF(IIRC, “A Pre-Depends B” means “A's pre-inst script requires B to be fully configured”)06:53
=== almaisan-away is now known as al-maisan
alkisgmicahg: teachers would need to be able to run console commands to use juju, right? That's even more difficult for them than selecting "mysql" instead of the preselected "postgresql"... :-/07:09
=== apachepanda is now known as apachelogger
dholbachgood morning08:04
ajmitchmorning dholbach08:05
dholbachhey ajmitch08:05
gesergood morning08:15
ajmitchhi geser08:16
dholbachhey geser08:19
=== al-maisan is now known as almaisan-away
=== almaisan-away is now known as al-maisan
=== Quintasan_ is now known as Quintasan
mhall119what's the process for getting a package into Universe?14:44
mhall119I guess REVU is gone?14:44
mhall119didrocks: trying to get Singlet available to the masses14:46
Rhondamhall119: best option is to get the package into debian and simply get it synced afterwards14:49
mhall119well it's Unity centric and depends on unity packages, so that won't work14:49
RhondaThat will benefit a more bigger audience, and the actual work for maintaining the package isn't really more dificult14:49
Rhondaah, alright14:49
mhall119it's a python library for developing lenses and scopes14:50
mhall119and I don't want to put it in extras, because other packages aren't supposed to depend on stuff in extras14:50
ScottKREVU isn't actually gone and in any case it was only a tool for get two Ubuntu developers to review and upload.14:51
ScottKFind someone to review/upload it.14:51
mhall119ScottK: ok, thanks14:53
=== yofel_ is now known as yofel
=== al-maisan is now known as almaisan-away
micahgdholbach: any idea why we have the diff for s/libfam/ligmain/ on gnubiff?17:32
micahgas both are in universe now, I don't see that it necessarily matters17:33
micahgthat should be libgamin, not libmain17:33
=== MrGando_ is now known as MrGando
dholbachmicahg, hum, maybe you're right - do we have much stuff build-depending on libfam-dev?17:41
dholbachok, micahg was right :)17:48
=== chrisccoulson is now known as chrisccoulson2
=== chrisccoulson2 is now known as chrisccoulson
micahgjust checking, but is preinst in the new package run before the old files are removed from the old package?22:06
Laneymicahg: http://wiki.debian.org/MaintainerScripts22:09
Laneyyes22:09
micahgI read that :), just wanted to make sure22:10
Laneyjust giving you it incase you didn't have it22:10
Laneyit's the best link ever about maintainer scripts22:10
Laneyalthough the layout is more unfortunate than i remember it being22:11
ajmitchI suspect the layout has got a bit mangled on that wiki22:14
Laneyit was always there, probably some new-stylesheet fail22:15
Laneyye, classic looks fine22:16
l3onHi all... I'm trying to fix a bug in apt-lucid... But I'm a bit in trouble with the version :/22:44
l3onfirst of all:22:44
l3on       apt | 0.7.25.3ubuntu7 |         lucid | source, amd64, armel, i386, ia64, powerpc, sparc22:44
l3on       apt | 0.7.25.3ubuntu9.9 | lucid-security | source, amd64, armel, i386, ia64, powerpc, sparc22:44
l3on       apt | 0.7.25.3ubuntu9.9 | lucid-updates | source, amd64, armel, i386, ia64, powerpc, sparc22:44
l3onwhich branch I should download? :)22:45
l3onsecond: the version should be ubuntu9.10, right ?22:45
l3onthe bug is → 91784522:45
l3onand the patch here → http://anonscm.debian.org/loggerhead/apt/debian-sid/revision/201322:46
l3onsuggestions?  :)22:46
=== koolhead17 is now known as koolhead17|zzZZ

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