<?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: Finding (and purging) orphaned packages</title>
	<atom:link href="http://colin.guthr.ie/2009/10/finding-and-purging-orphaned-packages/feed/" rel="self" type="application/rss+xml" />
	<link>http://colin.guthr.ie/2009/10/finding-and-purging-orphaned-packages/</link>
	<description>Illegitimi non carborundum</description>
	<lastBuildDate>Tue, 27 Jul 2010 12:14:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Colin</title>
		<link>http://colin.guthr.ie/2009/10/finding-and-purging-orphaned-packages/comment-page-1/#comment-216</link>
		<dc:creator>Colin</dc:creator>
		<pubDate>Wed, 21 Oct 2009 16:28:53 +0000</pubDate>
		<guid isPermaLink="false">http://colin.guthr.ie/?p=158#comment-216</guid>
		<description>You may know already, but teuf just added Pascal&#039;s patch in urpmi 6.31 so it will go into Mandriva 2010 \o/</description>
		<content:encoded><![CDATA[<p>You may know already, but teuf just added Pascal&#8217;s patch in urpmi 6.31 so it will go into Mandriva 2010 \o/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yoho</title>
		<link>http://colin.guthr.ie/2009/10/finding-and-purging-orphaned-packages/comment-page-1/#comment-201</link>
		<dc:creator>yoho</dc:creator>
		<pubDate>Wed, 14 Oct 2009 20:31:46 +0000</pubDate>
		<guid isPermaLink="false">http://colin.guthr.ie/?p=158#comment-201</guid>
		<description>Hey ! I&#039;ve just opened a bug report (wish) about this a while ago !! Thanks for addressing this ! https://qa.mandriva.com/show_bug.cgi?id=51418</description>
		<content:encoded><![CDATA[<p>Hey ! I&#8217;ve just opened a bug report (wish) about this a while ago !! Thanks for addressing this ! <a href="https://qa.mandriva.com/show_bug.cgi?id=51418" rel="nofollow">https://qa.mandriva.com/show_bug.cgi?id=51418</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick Brown</title>
		<link>http://colin.guthr.ie/2009/10/finding-and-purging-orphaned-packages/comment-page-1/#comment-196</link>
		<dc:creator>Nick Brown</dc:creator>
		<pubDate>Tue, 13 Oct 2009 13:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://colin.guthr.ie/?p=158#comment-196</guid>
		<description>Great work Pascal! Can we expect this in next version of the urpmi package?</description>
		<content:encoded><![CDATA[<p>Great work Pascal! Can we expect this in next version of the urpmi package?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pascal Terjan</title>
		<link>http://colin.guthr.ie/2009/10/finding-and-purging-orphaned-packages/comment-page-1/#comment-195</link>
		<dc:creator>Pascal Terjan</dc:creator>
		<pubDate>Tue, 13 Oct 2009 09:59:53 +0000</pubDate>
		<guid isPermaLink="false">http://colin.guthr.ie/?p=158#comment-195</guid>
		<description>That&#039;s why this one is for urpmq, to give you the information, and not in urpme</description>
		<content:encoded><![CDATA[<p>That&#8217;s why this one is for urpmq, to give you the information, and not in urpme</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bernard</title>
		<link>http://colin.guthr.ie/2009/10/finding-and-purging-orphaned-packages/comment-page-1/#comment-189</link>
		<dc:creator>Bernard</dc:creator>
		<pubDate>Mon, 12 Oct 2009 07:43:35 +0000</pubDate>
		<guid isPermaLink="false">http://colin.guthr.ie/?p=158#comment-189</guid>
		<description>All these methods give you hints on packages that might be orphans but I&#039;d never go on and remove all orphan reported packages blindly. The provided script mostly reports rpm that where not installed from rpm media such as skype or other such softwares.</description>
		<content:encoded><![CDATA[<p>All these methods give you hints on packages that might be orphans but I&#8217;d never go on and remove all orphan reported packages blindly. The provided script mostly reports rpm that where not installed from rpm media such as skype or other such softwares.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Colin</title>
		<link>http://colin.guthr.ie/2009/10/finding-and-purging-orphaned-packages/comment-page-1/#comment-188</link>
		<dc:creator>Colin</dc:creator>
		<pubDate>Mon, 12 Oct 2009 07:34:06 +0000</pubDate>
		<guid isPermaLink="false">http://colin.guthr.ie/?p=158#comment-188</guid>
		<description>Nice work Pascal :) Thanks for including this functionality (and turbocharging it) in urpmq!</description>
		<content:encoded><![CDATA[<p>Nice work Pascal <img src='http://colin.guthr.ie/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Thanks for including this functionality (and turbocharging it) in urpmq!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pascal Terjan</title>
		<link>http://colin.guthr.ie/2009/10/finding-and-purging-orphaned-packages/comment-page-1/#comment-186</link>
		<dc:creator>Pascal Terjan</dc:creator>
		<pubDate>Mon, 12 Oct 2009 07:24:38 +0000</pubDate>
		<guid isPermaLink="false">http://colin.guthr.ie/?p=158#comment-186</guid>
		<description>I just tried adding it inside urpmq, and it speedups it a bit :

[pterjan@plop perl-install]$ time urpmq --not-available &gt; /dev/null
2.36user 0.31system 0:03.31elapsed 80%CPU (0avgtext+0avgdata 0maxresident)k
152inputs+0outputs (1major+23031minor)pagefaults 0swaps

[pterjan@plop perl-install]$ time sh o.sh &gt; /dev/null
5.82user 0.38system 0:07.71elapsed 80%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+1872outputs (0major+30996minor)pagefaults 0swaps

sub _search_not_available_packages {
    my ($urpm) = @_;
    my %available;
    foreach my $p (@{$urpm-&gt;{depslist}}) {
           $available{$p-&gt;name.&quot;-&quot;.$p-&gt;version.&quot;-&quot;.$p-&gt;release.&quot;.&quot;.$p-&gt;arch} = 1;
   }
    my $db = urpm::db_open_or_die_($urpm);
    $db-&gt;traverse(sub {
        my ($p) = @_;
        my $s = $p-&gt;name.&quot;-&quot;.$p-&gt;version.&quot;-&quot;.$p-&gt;release.&quot;.&quot;.$p-&gt;arch;
        $available{$s} &#124;&#124; print &quot;$s\n&quot;;
    });
}</description>
		<content:encoded><![CDATA[<p>I just tried adding it inside urpmq, and it speedups it a bit :</p>
<p>[pterjan@plop perl-install]$ time urpmq &#8211;not-available &gt; /dev/null<br />
2.36user 0.31system 0:03.31elapsed 80%CPU (0avgtext+0avgdata 0maxresident)k<br />
152inputs+0outputs (1major+23031minor)pagefaults 0swaps</p>
<p>[pterjan@plop perl-install]$ time sh o.sh &gt; /dev/null<br />
5.82user 0.38system 0:07.71elapsed 80%CPU (0avgtext+0avgdata 0maxresident)k<br />
0inputs+1872outputs (0major+30996minor)pagefaults 0swaps</p>
<p>sub _search_not_available_packages {<br />
    my ($urpm) = @_;<br />
    my %available;<br />
    foreach my $p (@{$urpm-&gt;{depslist}}) {<br />
           $available{$p-&gt;name.&#8221;-&#8221;.$p-&gt;version.&#8221;-&#8221;.$p-&gt;release.&#8221;.&#8221;.$p-&gt;arch} = 1;<br />
   }<br />
    my $db = urpm::db_open_or_die_($urpm);<br />
    $db-&gt;traverse(sub {<br />
        my ($p) = @_;<br />
        my $s = $p-&gt;name.&#8221;-&#8221;.$p-&gt;version.&#8221;-&#8221;.$p-&gt;release.&#8221;.&#8221;.$p-&gt;arch;<br />
        $available{$s} || print &#8220;$s\n&#8221;;<br />
    });<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Colin</title>
		<link>http://colin.guthr.ie/2009/10/finding-and-purging-orphaned-packages/comment-page-1/#comment-179</link>
		<dc:creator>Colin</dc:creator>
		<pubDate>Sun, 11 Oct 2009 16:30:19 +0000</pubDate>
		<guid isPermaLink="false">http://colin.guthr.ie/?p=158#comment-179</guid>
		<description>Nope. That gives completely different output.

e.g. one of the listed packages is libportaudio0 but this is still provided by the media and I have it installed.

[colin@jimmy ~]$ rpm -q libportaudio0
libportaudio0-18.1-11mdv2010.0
[colin@jimmy ~]$ urpmq -r libportaudio0
libportaudio0-18.1-11mdv2010.0

So.like I say, this is doing something different.</description>
		<content:encoded><![CDATA[<p>Nope. That gives completely different output.</p>
<p>e.g. one of the listed packages is libportaudio0 but this is still provided by the media and I have it installed.</p>
<p>[colin@jimmy ~]$ rpm -q libportaudio0<br />
libportaudio0-18.1-11mdv2010.0<br />
[colin@jimmy ~]$ urpmq -r libportaudio0<br />
libportaudio0-18.1-11mdv2010.0</p>
<p>So.like I say, this is doing something different.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: blino</title>
		<link>http://colin.guthr.ie/2009/10/finding-and-purging-orphaned-packages/comment-page-1/#comment-176</link>
		<dc:creator>blino</dc:creator>
		<pubDate>Sun, 11 Oct 2009 13:30:26 +0000</pubDate>
		<guid isPermaLink="false">http://colin.guthr.ie/?p=158#comment-176</guid>
		<description>Or just &quot;urpmi_rpm-find-leaves -g&quot; ?</description>
		<content:encoded><![CDATA[<p>Or just &#8220;urpmi_rpm-find-leaves -g&#8221; ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Akari (akari) 's status on Sunday, 11-Oct-09 12:20:40 UTC - Identi.ca</title>
		<link>http://colin.guthr.ie/2009/10/finding-and-purging-orphaned-packages/comment-page-1/#comment-175</link>
		<dc:creator>Akari (akari) 's status on Sunday, 11-Oct-09 12:20:40 UTC - Identi.ca</dc:creator>
		<pubDate>Sun, 11 Oct 2009 12:20:47 +0000</pubDate>
		<guid isPermaLink="false">http://colin.guthr.ie/?p=158#comment-175</guid>
		<description>[...] Planet !Mandriva: http://colin.guthr.ie/2009/10/finding-and-purging-orphaned-packages/ !gnu [...]</description>
		<content:encoded><![CDATA[<p>[...] Planet !Mandriva: <a href="http://colin.guthr.ie/2009/10/finding-and-purging-orphaned-packages/" rel="nofollow">http://colin.guthr.ie/2009/10/finding-and-purging-orphaned-packages/</a> !gnu [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
