<?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: Remove old Debian packages</title>
	<atom:link href="http://blog.nachtarbeiter.net/2006/11/11/remove-old-debian-packages/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.nachtarbeiter.net/2006/11/11/remove-old-debian-packages/</link>
	<description></description>
	<lastBuildDate>Tue, 10 Jan 2012 13:12:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Patrick</title>
		<link>http://blog.nachtarbeiter.net/2006/11/11/remove-old-debian-packages/comment-page-1/#comment-5436</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Mon, 27 Nov 2006 09:21:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nachtarbeiter.net/?p=388#comment-5436</guid>
		<description>No. &lt;code&gt;sudo apt-get autoremove&lt;/code&gt; is different. &lt;code&gt;deborphan&lt;/code&gt; searches for packages that have no dependency at all. In Edgy &lt;code&gt;apt&lt;/code&gt; keeps track of packages, that were installed as dependencies. If you use the option &lt;code&gt;autoremove&lt;/code&gt;, &lt;code&gt;apt&lt;/code&gt; will use this information collected earlier to remove all packages, that were installed as dependencies and that are no longer needed. Optionally it takes a parameter and removes only the packages, that were installed as dependencies of a particular program. 

See https://wiki.ubuntu.com/AptAutoRemove for a discussion of this feature.

In fact, &lt;code&gt;autoremove&lt;/code&gt; is much more powerful then &lt;code&gt;deborphan&lt;/code&gt;. While the packages &lt;code&gt;deborphan&lt;/code&gt; declares as unused are mostly libraries (it can&#039;t know, if a tool was installed as a dependency, because it has no database),  &lt;code&gt;autoremove&lt;/code&gt; is likely to remove packages of programs, that were installed as dependencies of other program packages, too.

To be fair, I wasn&#039;t aware of &lt;code&gt;autoremove&lt;/code&gt; since it was introduced in Edgy and does not seem to be available upstream (in Debian). Depending on your situation, &lt;code&gt;autoremove&lt;/code&gt; might be better than &lt;code&gt;deborphan&lt;/code&gt; or not.</description>
		<content:encoded><![CDATA[<p>No. <code>sudo apt-get autoremove</code> is different. <code>deborphan</code> searches for packages that have no dependency at all. In Edgy <code>apt</code> keeps track of packages, that were installed as dependencies. If you use the option <code>autoremove</code>, <code>apt</code> will use this information collected earlier to remove all packages, that were installed as dependencies and that are no longer needed. Optionally it takes a parameter and removes only the packages, that were installed as dependencies of a particular program. </p>
<p>See <a href="https://wiki.ubuntu.com/AptAutoRemove" rel="nofollow">https://wiki.ubuntu.com/AptAutoRemove</a> for a discussion of this feature.</p>
<p>In fact, <code>autoremove</code> is much more powerful then <code>deborphan</code>. While the packages <code>deborphan</code> declares as unused are mostly libraries (it can&#8217;t know, if a tool was installed as a dependency, because it has no database),  <code>autoremove</code> is likely to remove packages of programs, that were installed as dependencies of other program packages, too.</p>
<p>To be fair, I wasn&#8217;t aware of <code>autoremove</code> since it was introduced in Edgy and does not seem to be available upstream (in Debian). Depending on your situation, <code>autoremove</code> might be better than <code>deborphan</code> or not.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Timo</title>
		<link>http://blog.nachtarbeiter.net/2006/11/11/remove-old-debian-packages/comment-page-1/#comment-5264</link>
		<dc:creator>Timo</dc:creator>
		<pubDate>Sat, 11 Nov 2006 11:55:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.nachtarbeiter.net/?p=388#comment-5264</guid>
		<description>I think
&lt;code&gt;sudo apt-get autoremove&lt;/code&gt;
does the same and can be done with onboard tools in edgy. I did that some days ago and it freed 180MB of my hard disk.</description>
		<content:encoded><![CDATA[<p>I think<br />
<code>sudo apt-get autoremove</code><br />
does the same and can be done with onboard tools in edgy. I did that some days ago and it freed 180MB of my hard disk.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

