<?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: Migrating aptitudes knowledge about auto-installed packages</title>
	<atom:link href="http://blog.incase.de/index.php/2007/08/13/noodles-emptiness/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.incase.de/index.php/2007/08/13/noodles-emptiness/</link>
	<description>Sven's occasional log</description>
	<lastBuildDate>Mon, 23 Aug 2010 22:28:38 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: sven</title>
		<link>http://blog.incase.de/index.php/2007/08/13/noodles-emptiness/comment-page-1/#comment-1899</link>
		<dc:creator>sven</dc:creator>
		<pubDate>Wed, 15 Aug 2007 10:31:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.incase.de/index.php/2007/08/13/noodles-emptiness/#comment-1899</guid>
		<description>@martin:

That might work, but certainly only if you first install the packages and then copy the file over. If you have a package marked as auto-installed and later call &lt;em&gt;aptitude install&lt;/em&gt; on it, it removes the auto-installation mark from then package.</description>
		<content:encoded><![CDATA[<p>@martin:</p>
<p>That might work, but certainly only if you first install the packages and then copy the file over. If you have a package marked as auto-installed and later call <em>aptitude install</em> on it, it removes the auto-installation mark from then package.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: martin</title>
		<link>http://blog.incase.de/index.php/2007/08/13/noodles-emptiness/comment-page-1/#comment-1898</link>
		<dc:creator>martin</dc:creator>
		<pubDate>Wed, 15 Aug 2007 09:54:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.incase.de/index.php/2007/08/13/noodles-emptiness/#comment-1898</guid>
		<description>Hmm, i just copied the aptitude statefile over from my old 32bit system to my new 64 system.... I don&#039;t remember the details, but it worked like it should. I guess you could even get away only copying the file and then using aptitude to install all the packages too...</description>
		<content:encoded><![CDATA[<p>Hmm, i just copied the aptitude statefile over from my old 32bit system to my new 64 system&#8230;. I don&#8217;t remember the details, but it worked like it should. I guess you could even get away only copying the file and then using aptitude to install all the packages too&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sven</title>
		<link>http://blog.incase.de/index.php/2007/08/13/noodles-emptiness/comment-page-1/#comment-1895</link>
		<dc:creator>sven</dc:creator>
		<pubDate>Tue, 14 Aug 2007 17:05:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.incase.de/index.php/2007/08/13/noodles-emptiness/#comment-1895</guid>
		<description>@stew

Ouch, you are right. I didn&#039;t notice since I don&#039;t have any packages on hold (I checked after your comment).

As for the other comments about aptitude already supporting all that&#039;s needed, I will explain the commandline shown as the manpage for aptitude in Etch is a bit hard to read (see bug#415468). Also the available search tags are not documented in the manpage at all, but in the seperate reference manual.

-F %p

tells &lt;em&gt;aptitude search&lt;/em&gt;  to only list the package names.

~i shows only installed packages
!~M shows only packages which are not auto-installed.</description>
		<content:encoded><![CDATA[<p>@stew</p>
<p>Ouch, you are right. I didn&#8217;t notice since I don&#8217;t have any packages on hold (I checked after your comment).</p>
<p>As for the other comments about aptitude already supporting all that&#8217;s needed, I will explain the commandline shown as the manpage for aptitude in Etch is a bit hard to read (see bug#415468). Also the available search tags are not documented in the manpage at all, but in the seperate reference manual.</p>
<p>-F %p</p>
<p>tells <em>aptitude search</em>  to only list the package names.</p>
<p>~i shows only installed packages<br />
!~M shows only packages which are not auto-installed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stew</title>
		<link>http://blog.incase.de/index.php/2007/08/13/noodles-emptiness/comment-page-1/#comment-1894</link>
		<dc:creator>stew</dc:creator>
		<pubDate>Tue, 14 Aug 2007 14:44:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.incase.de/index.php/2007/08/13/noodles-emptiness/#comment-1894</guid>
		<description>your method of finding installed packages: 

&quot;COLUMNS=200 dpkg -l &#124; grep -E &#039;^ii&#039;&#124; awk &#039;{print $2};&#039; `&quot;

will miss packages that are installed, but on hold. (which would have &#039;hi&#039; and not &#039;ii&#039;)</description>
		<content:encoded><![CDATA[<p>your method of finding installed packages: </p>
<p>&#8220;COLUMNS=200 dpkg -l | grep -E &#8216;^ii&#8217;| awk &#8216;{print $2};&#8217; `&#8221;</p>
<p>will miss packages that are installed, but on hold. (which would have &#8216;hi&#8217; and not &#8216;ii&#8217;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gilles Mocellin</title>
		<link>http://blog.incase.de/index.php/2007/08/13/noodles-emptiness/comment-page-1/#comment-1893</link>
		<dc:creator>Gilles Mocellin</dc:creator>
		<pubDate>Mon, 13 Aug 2007 20:58:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.incase.de/index.php/2007/08/13/noodles-emptiness/#comment-1893</guid>
		<description>Hum, aptitude has all the required options to make this selection :
# aptitude -F &quot;%p&quot; search ~i\!~M</description>
		<content:encoded><![CDATA[<p>Hum, aptitude has all the required options to make this selection :<br />
# aptitude -F &#8220;%p&#8221; search ~i\!~M</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas Janssen</title>
		<link>http://blog.incase.de/index.php/2007/08/13/noodles-emptiness/comment-page-1/#comment-1892</link>
		<dc:creator>Andreas Janssen</dc:creator>
		<pubDate>Mon, 13 Aug 2007 18:48:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.incase.de/index.php/2007/08/13/noodles-emptiness/#comment-1892</guid>
		<description>Try this:

aptitude search &quot;~M&quot; -F %p &gt; list

will search all packages set to auto, and only show the
package names. 

cat list &#124; xargs aptitude markauto

should import the information.</description>
		<content:encoded><![CDATA[<p>Try this:</p>
<p>aptitude search &#8220;~M&#8221; -F %p &gt; list</p>
<p>will search all packages set to auto, and only show the<br />
package names. </p>
<p>cat list | xargs aptitude markauto</p>
<p>should import the information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Romain Francoise</title>
		<link>http://blog.incase.de/index.php/2007/08/13/noodles-emptiness/comment-page-1/#comment-1891</link>
		<dc:creator>Romain Francoise</dc:creator>
		<pubDate>Mon, 13 Aug 2007 16:35:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.incase.de/index.php/2007/08/13/noodles-emptiness/#comment-1891</guid>
		<description>aptitude search &#039;~M&#039;?</description>
		<content:encoded><![CDATA[<p>aptitude search &#8216;~M&#8217;?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
