<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Would be awesome if any updates or progress on this could be posted to this mailing list as this discussion seems to have turned out very positive and hopefully this will come to fruition and this ship doesnt sink here.<BR>
<BR>
@Michael,<BR>
Do you its possible something may be ready for testing in Karmic +1, possibly a PPA? Or would we be looking at a time frame longer than that?<BR><BR>
<BR>
<BR>
<BR>
<BR>
> Date: Fri, 18 Sep 2009 13:59:33 +0100<BR>> From: hughsient@gmail.com<BR>> To: packagekit@lists.freedesktop.org<BR>> Subject: Re: [packagekit] Packagekit and Ubuntu<BR>> <BR>> 2009/9/18 Michael Vogt <mvo@ubuntu.com>:<BR>> > In some (rare) cases the sane default is to not allow the package to<BR>> > get installed. This was the case for the virtualbox package at some<BR>> > point where a new version would destroy the old snapshots. So using<BR>> > sane defaults sometimes means a package can not be installed at<BR>> > all. Admittedly those are rare cases, but we do want to support them<BR>> > with our tools.<BR>> <BR>> Sure, in that case I would argue to abort the install with<BR>> ERROR_CODE_NEED_NATIVE_TOOL which prompts the user to use the native<BR>> tool to do this as it's dangerous. I don't think asking the user to<BR>> use a command line tool is insane when we are not supporting all the<BR>> options and functionality of apt-get.<BR>> <BR>> > I agree with that for 99% of the users, but I would like to support<BR>> > 100% of our users. If its useful for more experienced users or setups,<BR>> > then I don't see why we have to limit ourselfs (this assumes of course<BR>> > that it does not make the api totally horrible, but I don't think that<BR>> > this is the case).<BR>> <BR>> Right, if the code addition is small (or well contained) then it's fine for me.<BR>> <BR>> > This is a good example and it shows a weakness. I do think it can be<BR>> > adressed by e.g. forcing codecs (or fonts) to<BR>> > DEBIAN_FRONTEND=noninteractive and only allow different settings for<BR>> > the "do-anything" case.<BR>> <BR>> Right, the issue is that transactions can be started in an interactive<BR>> mode, and then become non-interactive (for instance when we do fast<BR>> user switching) and vice versa, so it's difficult to know upfront what<BR>> policy to choose. This is why I think an explicit policy is the best<BR>> plan (see below).<BR>> <BR>> > If the user decides to get automated updates in the background then<BR>> > this is fine. If the users wants updates in a interactive way, I think<BR>> > we should not disallow debconf prompts for him, they may be good and<BR>> > useful (or may not, but its hard to predict that).<BR>> <BR>> Sure, I would be happy to add an option to /etc/PackageKit/apt.conf,<BR>> UseDebconfFrontend, but obviously default to false for desktop use<BR>> cases.<BR>> <BR>> > I will have to look into the code to see how to map it to PK. The<BR>> > support in aptdaemon is relatively unobtrusive. There is no need for a<BR>> > vte root window.<BR>> <BR>> That's good to know. If more people knew that synaptic was running<BR>> with a hidden vte running as root, then more security guys would start<BR>> running around with their arms in the air.<BR>> <BR>> > With debconf, the transaction may hang because it is waiting for input<BR>> > from the user. Usually debconf questions are asked upfront, but it may<BR>> > happen that they are asked during install (because the maintianer<BR>> > scripts do odd things). I take from the above that this is still oK?<BR>> <BR>> Sure upfront questions are great. We already do upfront questions like<BR>> GPG signing in Fedora.<BR>> <BR>> >> 2. Don't let them bully you into making PK just as bad as what was<BR>> >> previously done<BR>> ><BR>> > You use strong word here (I'm not a native speaker, so I may be<BR>> > wrong). I don't think we "bully" you, we ask about features and we<BR>> > offer help to implement them to make PK map to the deb world. The fact<BR>> > that Sebastian went through the pain of doing aptdaemon shows IMO that<BR>> > it is a important requirement.<BR>> <BR>> Sure, bully is a strong word, but there's a lot of powerful ego<BR>> (myself included) in open source projects. Luckily, I'm a cheery sort<BR>> of person who very rarely gets angry. :-)<BR>> <BR>> > How much it hurts the API remains to be seen while implementing it. So<BR>> > far PK did not receive a warm reception in the deb world because it<BR>> > does not map well to the requirements of the deb world.<BR>> <BR>> Right, and that's probably partially my fault for not running a<BR>> deb-based distro from day to day.<BR>> <BR>> > Again, some debconf questions are bad, but that does not mean we<BR>> > should throw it out entirely. The admin/distros are still free to set<BR>> > it to noninteractive. But I think the default tool to install packages<BR>> > should be able to deal with all valid (deb) packages. And that<BR>> > includes debconf questions. The fact that it does not currently is the<BR>> > only reason we do not ship it by default (and that debian does not<BR>> > have it at all).<BR>> <BR>> Right. And the shipping by default bit is the important part for me.<BR>> It's very hard to convince applications to use PackageKit, when you<BR>> can't say "it's present on all distros" and instead you're saying<BR>> "it's on some distros". Classic chicken and egg.<BR>> <BR>> > Thanks, I think we should continue the discussion ones there is some<BR>> > code to show. I'm pretty happy with the discussion.<BR>> <BR>> Cool, I think this is an important discussion too, and I do value your input.<BR>> <BR>> > The Debian/Ubuntu packaging tools evolve as well :) There should be no<BR>> > need for that anymore. While it still may be for some really old<BR>> > package its a deprecated "feature" that a terminal needs to be<BR>> > available (this was different in the past, but that is past now).<BR>> <BR>> That's good to hear.<BR>> <BR>> Richard.<BR>> _______________________________________________<BR>> PackageKit mailing list<BR>> PackageKit@lists.freedesktop.org<BR>> http://lists.freedesktop.org/mailman/listinfo/packagekit<BR><BR><br /><hr />Check on MSN NZ Money for a hand <a href='http://money.msn.co.nz' target='_new'>Feeling the financial pinch?</a></body>
</html>