[00:10] slangasek: Ok so I am working on the separate libpulsedsp package for pulse, however it turns out that pulseaudio-utils has lintian overrides for libpulsedsp.so. How can these effectively be used in the case of a multi-arch same package like libpulsedsp? [00:19] TheMuso: you can use a wildcard for the path, so */libpulsedsp.so in the libpulsedsp package [00:20] slangasek: Thats not what I was thinking of. I am aware of the wildcard, but the override file is owned by both the amd64 and i386 version of the package... How does that get resolved? [00:21] TheMuso: as long as the file contents are the same, the file is shared [00:22] slangasek: Oh ok great. === Ursinha is now known as Ursinha-afk [01:08] Anybody else on oneiric using sbuild and schroot for precise finding that dbus is starting in their chroot for any packages depending on dbus? [01:12] ooh, does that mean that upstart chroot support is working now? [01:15] I don't know. [01:15] But I earlier found that I still had lots of chroots mounted, because they had running processes in them. [01:16] hmm...so schroot tries to kill off all processes in the chroot before unmounting it [01:16] but /etc/init/dbus.conf has respawn [01:17] Haven't looked into it, but that sounds possible. [01:19] does your chroot have a /usr/sbin/policy-rc.d file? [01:25] just a sec, I'll check. [01:27] I don't appear to. [01:27] you probably want one [01:27] something like "#!/bin/sh\nexit 101" [01:27] and chmod +x it [01:28] Oh ok. [01:28] Thanks [01:28] (see also the invoke-rc.d manpage) [01:29] mk-sbuild should handle all of that setup, though, for future reference [01:30] I find mk-sbuild a bit too generic for my needs, so I've got scripts that derive from it. I'll just extend them. :) [01:49] good morning [01:49] does the verification-done-lucid tag also trigger the "green" state in http://people.canonical.com/~ubuntu-archive/pending-sru.html? [01:50] I believe the answer to that is ?yes?. [02:07] OK. I set it on a bug about 17-18 hours ago, but it did not trigger anything so far. [03:48] Good morning [03:50] morning pitti === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates === dendrobates is now known as dendro-afk [05:16] TheMuso, broder: yes, chroot support works in upstart now, and policy-rc.d is the right workaround for a build chroot :) [05:27] TheMuso: can you extend the core-dev membership in ubuntu-audio-dev [05:29] micahg: sure [05:30] micahg: For what reason? [05:31] In any case, it should never expire, so changing. [05:33] TheMuso: because I got a nice e-mail asking to have it extended :), thanks for the permanent membership :) [07:01] Guten Morgen Berlin! :) [07:04] hello all. I am doing a project in which I need to read .deb files. Is there any library or interface available which I can use in my program to read these files. If this is a wrong channel Please forgive me and if you could suggest me some other channel for query regarding apt ? [07:04] hello all. I am doing a project in which I need to read .deb files. Is there any library or interface available which I can use in my program to read these files. If this is a wrong channel Please forgive me and if you could suggest me some other channel for query regarding apt ? [07:04] Please reply [07:06] gs_, which information do you need? [07:07] gs_: You'd be looking for libapt and friends. Or just extracting them; they're simple archives. [07:07] gs_: If you're an Ubuntu machine, 'man 5 deb' tells you about .deb files [07:07] If you're *on* an Ubuntu machine [07:10] Or if you *are* an Ubuntu machine that would work, too. (If you *are* an Ubuntu machine, awesome! Please tell us where the AI research has succeeded ?) [07:11] heh [07:11] dholbach: I need information regarding some library or interface which can be used for reading debian files [07:12] Actually I am writing a system restore like application for ubuntu [07:12] which will save the current state of packages and then restore them when needed [07:14] RAOF: ok. using these libraries I can get list of the files which a package is intending to install ? and If i need details about the contents of those files then ? [07:14] gs_, sorry, I meant: which information in the packages are you after? [07:14] gs_: Probably, but I wouldn't do it that way; I'd just expand the .deb and list the files in the data.tar.* [07:14] dholbach: I am looking for list of files in the package and their contents so that I can determine what changes have occur to the system [07:15] RAOF: so we can convert .deb file in tar.gz archive ? [07:15] gs_: Note that what you want to do is impossible in general; the packaging can (and will in some circumstances) use programatic means to create or modify files on the filesystem. [07:15] also the original .deb may not be on the system still [07:15] gs_: The .deb file contains two .tar.* files; control and data. [07:16] RAOF: md5sums? [07:16] iirc not every package has a list of md5sums [07:16] RAOF: this isn't very ingrained in debian, but IIRC in rpm based distro's ALL files have their md5sum stored [07:17] RAOF: like when we open a deb file in gdeb we can get the list of all files so I thought there might be an existing library for doing that [07:17] ajmitch: yes and that's a defect imo [07:17] gs_: Yes, there is; tar. [07:17] Chipzz: Does the rpm packaging format not have a way of generating files at install time? [07:17] ajmitch: regardless, merely pointing out that RAOF's statement is incorrect and it is possible in theory [07:18] RAOF: at does; it also has the concept of ghost files which debian lacks [07:18] OK. So there is a tar and then how will I read that tar ? After extracting it ? [07:18] s/debian/dpkg/ [07:18] Ya I know the package file might not be on the system. In that case I think I would need to download the package file from internet ? [07:18] Chipzz: No, it's not possible in theory. I've worked on packages whose postinsts process existing files on the filesystem and incorporate state from other files, then write out a new conf file. [07:19] Chipzz: That package cannot have a pregenerated md5sum for all the files it generates. [07:19] gs_: in terms of libraries, I know of python-debian which you can use to inspect the contents of a .deb [07:19] RAOF: that statement is simply silly; you can't account for /home/* either [07:20] ajmitch: Could you please give me some link related to that library ? [07:20] Chipzz: True, but that's not owned by the package manager. [07:20] RAOF: you could argue that config files aren't either [07:20] Could you please provide me some suggestions regarding how to implement a system restore like application for ubuntu [07:21] I have two approaches [07:21] in one approach I will use a copy-on-write and save-on-delete approach [07:21] so that I will take care of all the files in system directories [07:21] gs_: I'd have to look on google for info about it, but the package is just named 'python-debian', I don't know what is available as a library for other languages [07:22] If you're allowed to use magical filesystems, then btrfs + apt-snapshot-btrfs does all this for you; it takes a snapshot of the system state on each apt transaction that you can roll back to. [07:22] ajmitch: ok I will search for that thanks for helping. [07:23] ok thats quite nice, how much space would that system occupy ? [07:23] But that would require user to reinstall the whole system with "/" on brtfs ? [07:24] It's copy-on-write, so roughly the changed set size. [07:24] It would indeed require / to be a btrfs partition. It also has other constraints (there need to be appropriately named subvolumes, home needs to be a subvolume) [07:25] ok, that would be not good as users need a reinstall for using the system [07:25] If I implement that approach in my program would that be possible [07:25] I can put hooks to the filesystem [07:26] so whenever a file is written I can make a copy [07:27] Or I can have this package approach [07:28] in this approach I will create a package whenever user creates a restore point [07:28] I will use this package to restore the system to an earlier state [07:28] if you're looking at creating a package, take a look at dpkg-repack [07:29] Ok thanks and could you please provide some feedback on my approach [07:29] I suspect it might be easier to do something similar to a combination of etckeeper and oneconf+snapshotting. [07:30] ie: store a list of all the packages which are installed + all the modified stuff (/etc /var) [07:32] RAOF : ok, like these files are in /var/lib/dpkg/info [07:32] ? [07:32] now for the modified stuff /etc /var is it better to create a separate package or implement a copy-on-write approach? [07:33] gs_: imo your approach is not the best approach anyway [07:33] files in /usr aren't interesting anyway [07:33] slangasek: you made a change to pygments back in jaunty that suggested python-chardet shouldn't be a recommends: https://launchpad.net/ubuntu/+source/pygments/0.10-1ubuntu2, python-chardet is now in main, do you still feel it shouldn't be a recommends? [07:34] if those change, the change is probably invalid, and you probably want to restore from the package anyway, so you probably shouldn't care about these [07:34] chipzz : So please could you provide me some suggestions in how can I improve this [07:34] micahg: I feel nothing about it, do whatever you think is best ;) [07:34] slangasek: thanks :) [07:34] you probably want to focus on config files, and maybe files in /var [07:35] I would look into ucf and try to integrate with that [07:35] ok so files in /var are more imprtant and /etc also [07:35] and figure something out for other files in /etc that aren't managed by ucf [07:36] * ajmitch rather likes etckeeper [07:36] sorry but what is ucf ? [07:36] dpkg --get-selections will give you a list of packages installed [07:36] apt-cache show ucf? [07:37] /srv, /usr/local and /opt are interesting candidates too [07:37] ok thats easier [07:38] but like if some of the files installed by a package are damaged then ? Do I need to recopy those files or reinstalling the package would be a better option ? [07:39] users aren't supposed to write in /usr, since that's owned by the package management system; if they do, they're probably wrong, for example they have compiled from source and installed in /usr, which is a cause of havoc anyway, and most likely the kind of situation you want to recover FROM, not TO [07:39] gs_: like I pointed out, if those files are damaged, you can restore them from the package; which is exactly why they are not interesting [07:41] Ok so I would ignore the files present in /usr [07:41] or better I could clear /usr to a fresh installed system state [07:42] and if the files in /bin or /sbin are damaged then ? [07:42] I would get a list of installed packages and then reinstall those packages ? [07:42] Better I need to see which packages have missing files [07:43] and so those only *system packages* need to be downloaded and reinstalled ? [07:48] Also is there any documentation describing exact steps performed by the system when any package is installed ? [07:48] or I could see that by browsing apt-get or dpkg code ? [08:57] How is the Ubuntu stance towards Vala? Good idea for apps primary targeting Ubuntu? [08:58] Don't want to alienate. The typical choices seem to be C++ or Python. [09:16] fhd: well, it's listed on developer.u.c - http://developer.ubuntu.com/resources/programming-languages/vala/ [09:17] fhd: I believe Unity lenses are typically written in Vala, for example [09:24] cjwatson: Java is also listed, haven't seen many Java apps in Ubuntu [09:25] cjwatson: But if the Unity guys use it... [09:45] fhd: it depends where you look [10:41] I can't understand why ruby-stomp has seeminly never been in Ubuntu. Is it blacklisted? [10:42] https://launchpad.net/ubuntu/+source/ruby-stomp , no publishing history [10:42] Been in sid since Jan 2009 === gs_ is now known as gs [10:44] Daviey: https://launchpad.net/ubuntu/+source/libstomp-ruby ; the source package got recently (this month) renamed from libstomp-ruby to ruby-stomp [10:44] Daviey: it's not blacklisted, but attempting to sync it says http://paste.ubuntu.com/720566/ [10:45] we have what might politely be called an abysmal lack of crowdsourcing for this kind of thing === gs is now known as gauravsaxena [10:45] so basically somebody needs to say "yes, dear archive admins, please throw away the existing Ubuntu-specific package and replace it with this one with a different source package name from Debian" [10:46] well, not Ubuntu-specific, Ubuntu-modified [10:47] cjwatson: it needs AA intervention, or can i just sync with --force? === Ursinha-afk is now known as Ursinha [10:48] (geser: thanks) [10:48] Daviey: you can syncpackage it if you've checked that none of the Ubuntu modifications are still needed [10:48] (although it'll land in the NEW queue, but that's trivial) [10:49] cjwatson: Great, thought so - thanks [10:49] it wasn't just an upstream update, James made some packaging changes too [10:50] Yeah, seems i sponsored it :) [10:51] unfortunately I'm not sure syncpackage notices the Ubuntu modifications to matching binary packages [10:51] which is IMO a syncpackage bug if true [10:52] yeah, doesn't require --force, buggily [10:54] Thanks. [10:55] <\sh> hmm...anybody with upload powers can use syncpackage now? (instead of using requestsync) [10:56] \sh: Yes, but requestsync is still needed for sponsored sync's [10:57] <\sh> Daviey, sure, what I mean is i.e. for universe uploaders who are doing the merge/sync run now [10:57] \sh: yup [10:57] <\sh> Daviey, nice :) [10:58] \sh: $ syncpackage -d (wheezy|sid) -r precise foobar [10:58] we should update docs and stuff [10:58] there are still some limitations, e.g. not usable for sponsored syncs [10:59] and no karma.. "oh well" [11:00] <\sh> Daviey, no need to sign ? or does it do it automagically? [11:01] no need to sign [11:01] it doesn't sign, it copies the publishing record from Debian [11:03] Incidently there is the 'beta' webui method, https://launchpad.net/ubuntu/precise/+localpackagediffs .. a bit whizzy for some. [11:05] <\sh> let's try :) [11:06] <\sh> so I need --force to overwrite ubuntu modifications [11:13] <\sh> cjwatson, what does this mean: syncpackage: Source package gauche-c-wrapper is blacklisted. [11:14] an obscure way of saying that it has Ubuntu modifications which need to be reviewed. Use --force [11:15] Daviey: please don't use or recommend that - it doesn't and can't apply Ubuntu-specific policy [11:15] (well, s/can't/won't/ perhaps) [11:15] cjwatson: wow, it doesn't do ACL? [11:15] there is more policy than ACL [11:15] it can't do things like handling packages with Ubuntu-specific modifications with more care [11:16] use the API tool and pretend the UI doesn't exist [11:17] cjwatson: You mean it doesn't give a warning to say, "Are you sure you want to overwrite ubuntu changes?" [11:17] no [11:18] essentially because the way to detect that isn't particularly consistent across derivative distributions and Launchpad officially doesn't know about it [11:20] Does syncpackage care greater than checking for 'ubuntu' in the version string? [11:20] that's what it does, but Launchpad doesn't do that [11:21] in general we can do much more sophisticated things using an API tool because we don't have to make them fully general for all derivative distributions [11:22] (+localpackagediffs was designed principally for Ubuntu derivatives and requested by Linaro, not for us) [11:22] oh, syncpackage also detects fakesync-requiring situations, I don't think +localpackagediffs does (or if it is it's less helpful about it) [11:23] and syncpackage allows you to sync from suites other than the single nominated "derivative parent" suite (currently Debian testing) [11:23] and deals with closing bugs which I don't think +localpackagediffs currently does [11:23] etc. [11:24] think it got that one [11:24] well, you can't nominate an additional bug [11:24] could be [11:25] pitti: hey, we saw some lang packs in -proposed, are they all good to go? [11:27] TLE: good for testing, anyway, yes [11:27] German looks fine [11:27] pitti: great, thanks [11:35] slangasek: re bug 859075 , I have laid no claim to it, though I do think its something wrong with the order in which we bring down the network and unmount things. [11:35] Launchpad bug 859075 in sysvinit (Ubuntu) "Oneiric does not shutdown" [High,Confirmed] https://launchpad.net/bugs/859075 [12:16] pitti, bdmurray: why do we still get reports like https://bugs.launchpad.net/ubuntu/+bug/882445? [12:16] Launchpad bug 882445 in Ubuntu "package openjdk-6-jre 6b23~pre10-0ubuntu5 failed to install/upgrade: ErrorMessage: dependency problems - leaving unconfigured" [Undecided,New] [12:16] we can write a pattern for it, to avoid further reports [12:17] I'm fairly sure I've seen that --fsys-tarfile bug somewhere [12:18] let's take bug 773172 [12:18] Launchpad bug 773172 in update-manager (Ubuntu) "corrupted filesystem tarfile - corrupted package archive" [Undecided,Expired] https://launchpad.net/bugs/773172 [12:21] doko: added bug pattern, closed as dupe [12:24] pitti, thanks === dendro-afk is now known as dendrobates [12:35] did postgresql change the default listen port for 9.1? [12:36] it was 5432 and now I can see 5433 [12:36] zyga: no; presumably you still have an 8.4 cluster around which is on 5432; check pg_lsclusters [12:36] ah [12:36] pitti, so after having both installed I need to tweak something to get the default port back [12:37] yeah, I have 5433 used now, I removed my 8.4 cluster earlier today [12:37] thanks === dendrobates is now known as dendro-afk [13:38] Anyone know of a prior example of an SRU introducing a new src package? [13:38] (as a dep) [13:38] Or rather, the SRU requiring a new source package which is a dep. [13:42] Daviey: meaning the src package would effectively be "NEW" for -proposed ? [13:43] SpamapS: yes sir [13:50] talking of this, can an AA process bin-NEW for my botan1.8 SRU? [13:54] Daviey: I guess you would need a good rationale for this [13:54] geser: that some upstreams are really bad at following their own policy? :) [13:55] right, soren? :) [14:00] Daviey: how big is this new dependency? Might it work embedded in the source? [14:01] SpamapS: I dont' see how that would be preferable. [14:01] soren: if its a 1 file python module or something that is better. [14:01] Daviey: We have had kernels come in this way. Backported kernels from newer releases back to the most recent LTS. === dendro-afk is now known as dendrobates [14:03] SpamapS: yeah, checked that.. it's not just one .py [14:03] SpamapS: but embedding a whole module, need to start worrying about upgrade paths. [14:04] SpamapS: Even then, it seems questionable. [14:04] Precise will have it in a separate package. That's what we'll test. [14:04] Right? [14:04] And once validated, will backport to Oneiric. [14:06] I'm just not sure I think breaking two rules (embedding "foreign" libraries in other source packages + not staying close to how you're solving the same problem in the dev release) is necessarily better than breaking something that isn't even a rule, AFAICT (uploading new source packages to -proposed). [14:09] yeah, I'm not aware of a rule against new source packages in -proposed; it's certainly unconventional but not forbidden TTBOMK [14:10] if the purpose of the fix meets the SRU rules, then I wouldn't exclude it simply on the basis of requiring a new package [14:10] although it would have to have a good reason [14:10] Yeah. [14:11] ...and avoiding embedding it in the source package that depends on it isn't that good a reason, IMO. [14:12] Didn't the openss{l,h} blacklist stuff come in its own source package? [14:12] yes [14:12] albeit through -security not -proposed, but whatever [14:13] Yeah, but that usually has a higher barrier of entry, not lower. [14:13] Anyway, I think we agree :) [14:36] SpamapS: well, a) one of the commentors is having the problem with USB disks, not network mounts, b) we've been through all this before with network-manager being killed before umountnfs.sh and that's been fixed - so if something's regressed I think it's on the NM side of the equaton === yofel_ is now known as yofel === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates [15:09] Hi, I'm new to Ubuntu development (bug fixing) and fixed a bug the other day, uploaded my branch to Bazaar and made a merge request. I'm just wondering what the next logical step would be? I read about the sponsoring process but have to admit I don't really get how it works in reality. I just don't know if I should simply wait for now or if there's something more I should do. Maybe someone more knowledgeable than m [15:09] e can point me in the right direction? [15:09] [15:10] slangasek: I do think that eventually we'll find the problem outside of sysvinit. I have it assigned to sysvinit because thats where the debugging has led the investigation thus far [15:10] SpamapS: ok [15:11] Wismon: is the package has a likely team or person who might upload it you can politely ping them [15:16] Riddell: Hmm, I think I found one person... Thank you, I'll try that! === beuno is now known as beuno-lunch [16:08] mterry: hiya [16:08] kirkland, hi! [16:08] mterry: fyi, ecryptfs-verify-private just landed in precise [16:08] kirkland, oh, that didn't get into oneiric? [16:08] mterry: nope, sorry [16:09] hmm [16:09] mterry: needed an FFE [16:09] mterry: i never filed it, don't know if anyone else did either [16:09] mterry: was it you who was asking for this? [16:09] mterry: or someone else? seb maybe? [16:10] that means it's probably easy to break your system in oneiric by enabling autologin (the patch I added to gnome-control-center used verify-private if available) === dendrobates is now known as dendro-afk === beuno-lunch is now known as beuno [17:33] @pilot in === udevbot_ changed the topic of #ubuntu-devel to: Precise open for uploads | Ubuntu 11.10 Released! | Development of Ubuntu (not support, not app development) | build failures -> http://bit.ly/or6CHJ | #ubuntu for support and general discussion for hardy -> oneiric | #ubuntu-app-devel for application development on Ubuntu | http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: barry [17:38] am i the only one having problems ssh to bazaar.launchpad.net ? [17:39] (ie, i can't push a branch) [17:39] $ ssh bazaar.launchpad.net [17:39] ssh_exchange_identification: Connection closed by remote host [17:41] smoser: it appears to be fine here ("No shells on this server.") [17:41] carp. [17:41] it doesn't like me from 2 different systems (same key/user, but its not just my laptop thats foobarred) [17:41] * micahg hugs barry for the mail to UDD [17:42] * barry is glad he remembered! [17:45] smoser: odd, i am getting the same.. I used to get No shells on this server. [17:45] dave@voodoo:/tmp/test$ bzr push lp:~davewalker/+junk/delete_me [17:45] Created new branch. [17:45] dave@voodoo:/tmp/test$ ssh davewalker@bazaar.launchpad.net [17:45] ssh_exchange_identification: Connection closed by remote host [17:45] others in #launchpad are echoing my issues. [17:46] smoser: but push seemed to work [17:46] it was refusing 30 seconds ago [17:46] but now seems good. === dendro-afk is now known as dendrobates === zyga is now known as zyga-afk === dendrobates is now known as dendro-afk === zyga-afk is now known as zyga [21:19] slangasek: I was just looking at bug 881579 and noticed that you did a merge today, but the bug is still present. It's a missing '\' in debian/samba.if-up [21:19] Launchpad bug 881579 in samba (Ubuntu Precise) "syntax error in /etc/network/if-up.d/samba" [High,Confirmed] https://launchpad.net/bugs/881579 [21:19] slangasek: I was going to fix it but if you're working on it anyway... [21:31] rbasak: hah, fail. Sorry for not noticing that. Feel free to fix, I've moved on to other things already [21:31] slangasek: well I'm going to need you to sponsor it anyway... :) [21:45] rbasak: ok, pushing [21:46] slangasek: thanks! === james is now known as Guest75970 [22:02] @pilot in === udevbot_ changed the topic of #ubuntu-devel to: Precise open for uploads | Ubuntu 11.10 Released! | Development of Ubuntu (not support, not app development) | build failures -> http://bit.ly/or6CHJ | #ubuntu for support and general discussion for hardy -> oneiric | #ubuntu-app-devel for application development on Ubuntu | http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots: barry, TheMus === AaronMT is now known as AaronMT|dinner === tkamppeter_ is now known as tkamppeter