<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: PackageKit and debconf (progress)</title>
	<atom:link href="http://blogs.gnome.org/hughsie/2009/10/15/packagekit-and-debconf-progress/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.gnome.org/hughsie/2009/10/15/packagekit-and-debconf-progress/</link>
	<description>Blog about geeky stuff</description>
	<lastBuildDate>Sun, 29 Jan 2012 09:38:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: hughsie</title>
		<link>http://blogs.gnome.org/hughsie/2009/10/15/packagekit-and-debconf-progress/comment-page-1/#comment-3152</link>
		<dc:creator>hughsie</dc:creator>
		<pubDate>Fri, 16 Oct 2009 08:18:27 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/hughsie/?p=417#comment-3152</guid>
		<description>No, asking questions before the transaction starts would not be blocking and is the best way of doing it in my opinion. It is what we do on Fedora with GPG signing, and SUSE does with EULAs.</description>
		<content:encoded><![CDATA[<p>No, asking questions before the transaction starts would not be blocking and is the best way of doing it in my opinion. It is what we do on Fedora with GPG signing, and SUSE does with EULAs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hughsie</title>
		<link>http://blogs.gnome.org/hughsie/2009/10/15/packagekit-and-debconf-progress/comment-page-1/#comment-3151</link>
		<dc:creator>hughsie</dc:creator>
		<pubDate>Fri, 16 Oct 2009 08:13:11 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/hughsie/?p=417#comment-3151</guid>
		<description>I didn&#039;t leave dpkg as an afterthought, I can assure you. When doing my initial research (several weeks of work) I studied the design of apt and dpkg as well as about 8 other packaging systems.

When I did my research, and subsequent initial prototype, the conclusions I came to were that I wanted to focus on a modern task-driven user interaction, not dictated by &quot;the way things have been for the last 10 years&quot;. I wanted to get the UI interaction correct (for instance allowing unattended updated when the session is idle) and the security model usable (users can install signed updates from signed metadata without authentication by default) before I supported niche parts of specific backends.

In the case of debconf, I agree to some people it&#039;s useful. It&#039;s also been abused in the past, and allows packagers to do some quite insane things. Allowing the transaction to block waiting for input at random places breaks a lot of the UI interactions we are working towards, and would make the design, frankly, as bad as previous &quot;slap a front end on apt&quot; efforts.

By doing this out-of-band solution, as dantti is doing, we can still keep the core of PackageKit well designed with abstract APIs that clients to use, without forcing every application using PackageKit to keep open a vte widget and inhibiting logout and shutdown. There are lots of reasons that PackageKit can&#039;t (and won&#039;t) support this mode of operation, and I&#039;ve covered the rationale many times over on the mailing list.

I also don&#039;t think PackageKit is a &quot;hack&quot;, and I do believe it lets us do some cool things that have never been possible before. If you study the design of PackageKit, you&#039;ll hopefully see it fits in the &quot;sweet-spot&quot; of an abstraction that can be used by &#039;n&#039; frontends on &#039;n&#039; backends, and allows application authors to add support for a single system that works anywhere.

If you have specific concerns, I urge you to join the PackageKit mailing list and we can discuss more there. If you&#039;re a Debian user, I&#039;m sure dantti would appreciate any help with the code, or a new tester. Thanks.</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t leave dpkg as an afterthought, I can assure you. When doing my initial research (several weeks of work) I studied the design of apt and dpkg as well as about 8 other packaging systems.</p>
<p>When I did my research, and subsequent initial prototype, the conclusions I came to were that I wanted to focus on a modern task-driven user interaction, not dictated by &#8220;the way things have been for the last 10 years&#8221;. I wanted to get the UI interaction correct (for instance allowing unattended updated when the session is idle) and the security model usable (users can install signed updates from signed metadata without authentication by default) before I supported niche parts of specific backends.</p>
<p>In the case of debconf, I agree to some people it&#8217;s useful. It&#8217;s also been abused in the past, and allows packagers to do some quite insane things. Allowing the transaction to block waiting for input at random places breaks a lot of the UI interactions we are working towards, and would make the design, frankly, as bad as previous &#8220;slap a front end on apt&#8221; efforts.</p>
<p>By doing this out-of-band solution, as dantti is doing, we can still keep the core of PackageKit well designed with abstract APIs that clients to use, without forcing every application using PackageKit to keep open a vte widget and inhibiting logout and shutdown. There are lots of reasons that PackageKit can&#8217;t (and won&#8217;t) support this mode of operation, and I&#8217;ve covered the rationale many times over on the mailing list.</p>
<p>I also don&#8217;t think PackageKit is a &#8220;hack&#8221;, and I do believe it lets us do some cool things that have never been possible before. If you study the design of PackageKit, you&#8217;ll hopefully see it fits in the &#8220;sweet-spot&#8221; of an abstraction that can be used by &#8216;n&#8217; frontends on &#8216;n&#8217; backends, and allows application authors to add support for a single system that works anywhere.</p>
<p>If you have specific concerns, I urge you to join the PackageKit mailing list and we can discuss more there. If you&#8217;re a Debian user, I&#8217;m sure dantti would appreciate any help with the code, or a new tester. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Faidon Liambotis</title>
		<link>http://blogs.gnome.org/hughsie/2009/10/15/packagekit-and-debconf-progress/comment-page-1/#comment-3149</link>
		<dc:creator>Faidon Liambotis</dc:creator>
		<pubDate>Thu, 15 Oct 2009 17:39:56 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/hughsie/?p=417#comment-3149</guid>
		<description>I have something that I don&#039;t understand as well.

How can you design a software like PackageKit and have APT/dpkg integration be an after-thought? It&#039;s not like there are many packaging tools out there that high up in the scale of popularity.

You can&#039;t just design a GUI and then expect 10 years old core distribution tools to adapt to /your/ design, by doing hacks like having extra daemons and D-Bus interfaces. It just seems wrong, doesn&#039;t it?</description>
		<content:encoded><![CDATA[<p>I have something that I don&#8217;t understand as well.</p>
<p>How can you design a software like PackageKit and have APT/dpkg integration be an after-thought? It&#8217;s not like there are many packaging tools out there that high up in the scale of popularity.</p>
<p>You can&#8217;t just design a GUI and then expect 10 years old core distribution tools to adapt to /your/ design, by doing hacks like having extra daemons and D-Bus interfaces. It just seems wrong, doesn&#8217;t it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dantti</title>
		<link>http://blogs.gnome.org/hughsie/2009/10/15/packagekit-and-debconf-progress/comment-page-1/#comment-3148</link>
		<dc:creator>dantti</dc:creator>
		<pubDate>Thu, 15 Oct 2009 17:03:10 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/hughsie/?p=417#comment-3148</guid>
		<description>yes,
the transaction is installPackages which involves downloading + installing, the blocking thing that Richard said is that if the transaction stops in the middle and waits for the user it&#039;s blocking, with this Dbus front end it would be &quot;half&quot; blocking since the biggest problem is when an automatic update starts and there might be no one there to answer the questions, in that case a noninteractive frontend could be used.
Yes, there is the up-front feature, (that i don&#039;t know much well), the thing is we would need to cancel the transaction so the user can answer the questions then start it again so it can finish them.
For sure things might get better with more eyes on it, but the DBus frontend will help this process a lot.</description>
		<content:encoded><![CDATA[<p>yes,<br />
the transaction is installPackages which involves downloading + installing, the blocking thing that Richard said is that if the transaction stops in the middle and waits for the user it&#8217;s blocking, with this Dbus front end it would be &#8220;half&#8221; blocking since the biggest problem is when an automatic update starts and there might be no one there to answer the questions, in that case a noninteractive frontend could be used.<br />
Yes, there is the up-front feature, (that i don&#8217;t know much well), the thing is we would need to cancel the transaction so the user can answer the questions then start it again so it can finish them.<br />
For sure things might get better with more eyes on it, but the DBus frontend will help this process a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nona</title>
		<link>http://blogs.gnome.org/hughsie/2009/10/15/packagekit-and-debconf-progress/comment-page-1/#comment-3147</link>
		<dc:creator>nona</dc:creator>
		<pubDate>Thu, 15 Oct 2009 14:47:15 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/hughsie/?p=417#comment-3147</guid>
		<description>There&#039;s something I don&#039;t understand.

Debian has a facility to ask all debconf questions up front: the package apt-utils has a tool apt-extracttemplates, that extracts the (localized) debconf questions from the deb packages in advance, so you can ask all of them _before you start installing them_.

Why is that not used? Is it because a PackageKit &quot;transaction&quot; is downloading+installing, and what I suggest would ask the questions after downloading? Would asking the questions before installation still be considered &quot;blocking&quot;?</description>
		<content:encoded><![CDATA[<p>There&#8217;s something I don&#8217;t understand.</p>
<p>Debian has a facility to ask all debconf questions up front: the package apt-utils has a tool apt-extracttemplates, that extracts the (localized) debconf questions from the deb packages in advance, so you can ask all of them _before you start installing them_.</p>
<p>Why is that not used? Is it because a PackageKit &#8220;transaction&#8221; is downloading+installing, and what I suggest would ask the questions after downloading? Would asking the questions before installation still be considered &#8220;blocking&#8221;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul W. Frields</title>
		<link>http://blogs.gnome.org/hughsie/2009/10/15/packagekit-and-debconf-progress/comment-page-1/#comment-3145</link>
		<dc:creator>Paul W. Frields</dc:creator>
		<pubDate>Thu, 15 Oct 2009 14:15:04 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.gnome.org/hughsie/?p=417#comment-3145</guid>
		<description>This is a fantastic piece of news for PackageKit. The way you and Daniel worked together in the upstream list turned out to be really constructive and I&#039;m glad a solution was found that can help Debian take advantage of the power and simplicity of PK.</description>
		<content:encoded><![CDATA[<p>This is a fantastic piece of news for PackageKit. The way you and Daniel worked together in the upstream list turned out to be really constructive and I&#8217;m glad a solution was found that can help Debian take advantage of the power and simplicity of PK.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- This Quick Cache file was built for (  blogs.gnome.org/hughsie/2009/10/15/packagekit-and-debconf-progress/feed/ ) in 1.18898 seconds, on Feb 10th, 2012 at 5:03 am UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 10th, 2012 at 6:03 am UTC -->
