<?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: Keep a Backup of Installed Packages</title>
	<atom:link href="http://www.nixtutor.com/linux/keep-a-backup-of-installed-packages/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nixtutor.com/linux/keep-a-backup-of-installed-packages/</link>
	<description>Helping you Learn Linux</description>
	<lastBuildDate>Sun, 14 Feb 2010 17:54:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: zone</title>
		<link>http://www.nixtutor.com/linux/keep-a-backup-of-installed-packages/comment-page-1/#comment-3244</link>
		<dc:creator>zone</dc:creator>
		<pubDate>Sat, 06 Feb 2010 17:07:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.nixtutor.com/?p=904#comment-3244</guid>
		<description>nice article...learning a lot from here...</description>
		<content:encoded><![CDATA[<p>nice article&#8230;learning a lot from here&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Sanborn</title>
		<link>http://www.nixtutor.com/linux/keep-a-backup-of-installed-packages/comment-page-1/#comment-742</link>
		<dc:creator>Mark Sanborn</dc:creator>
		<pubDate>Mon, 03 Aug 2009 15:29:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.nixtutor.com/?p=904#comment-742</guid>
		<description>Rob,
If you use extra repositories it would be a good idea to back it up.</description>
		<content:encoded><![CDATA[<p>Rob,<br />
If you use extra repositories it would be a good idea to back it up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.nixtutor.com/linux/keep-a-backup-of-installed-packages/comment-page-1/#comment-739</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Mon, 03 Aug 2009 07:31:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.nixtutor.com/?p=904#comment-739</guid>
		<description>Sorry to sound like an obvious noob but in order for the restore to work you would also need a backup of the sources.list correct?</description>
		<content:encoded><![CDATA[<p>Sorry to sound like an obvious noob but in order for the restore to work you would also need a backup of the sources.list correct?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Sanborn</title>
		<link>http://www.nixtutor.com/linux/keep-a-backup-of-installed-packages/comment-page-1/#comment-487</link>
		<dc:creator>Mark Sanborn</dc:creator>
		<pubDate>Mon, 29 Jun 2009 01:55:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.nixtutor.com/?p=904#comment-487</guid>
		<description>Good question, I will see if I can dig up some information for you. :)</description>
		<content:encoded><![CDATA[<p>Good question, I will see if I can dig up some information for you. <img src='http://www.nixtutor.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anechoic</title>
		<link>http://www.nixtutor.com/linux/keep-a-backup-of-installed-packages/comment-page-1/#comment-476</link>
		<dc:creator>anechoic</dc:creator>
		<pubDate>Sat, 27 Jun 2009 03:08:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.nixtutor.com/?p=904#comment-476</guid>
		<description>the line:
&#039;dpkg –get-selections &gt; installed-software.log&#039;

should be:
&#039;dpkg --get-selections &gt; installed-software.log&#039;

the M dash &#039;–&#039; is replaced with two &#039;--&#039;

:)

***also, you can export markings in Synaptic which pr0lly does the same thing under the hood</description>
		<content:encoded><![CDATA[<p>the line:<br />
&#8216;dpkg –get-selections &gt; installed-software.log&#8217;</p>
<p>should be:<br />
&#8216;dpkg &#8211;get-selections &gt; installed-software.log&#8217;</p>
<p>the M dash &#8216;–&#8217; is replaced with two &#8216;&#8211;&#8217;</p>
<p> <img src='http://www.nixtutor.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>***also, you can export markings in Synaptic which pr0lly does the same thing under the hood</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johannes</title>
		<link>http://www.nixtutor.com/linux/keep-a-backup-of-installed-packages/comment-page-1/#comment-465</link>
		<dc:creator>Johannes</dc:creator>
		<pubDate>Thu, 25 Jun 2009 13:13:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.nixtutor.com/?p=904#comment-465</guid>
		<description>And do you know how to do this on a FreeBSD machine? I think it&#039;s possible too, but I don&#039;t know how.

Nice site! Thanks for posting!</description>
		<content:encoded><![CDATA[<p>And do you know how to do this on a FreeBSD machine? I think it&#8217;s possible too, but I don&#8217;t know how.</p>
<p>Nice site! Thanks for posting!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: R</title>
		<link>http://www.nixtutor.com/linux/keep-a-backup-of-installed-packages/comment-page-1/#comment-462</link>
		<dc:creator>R</dc:creator>
		<pubDate>Thu, 25 Jun 2009 03:30:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.nixtutor.com/?p=904#comment-462</guid>
		<description>Super handy</description>
		<content:encoded><![CDATA[<p>Super handy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sufehmi</title>
		<link>http://www.nixtutor.com/linux/keep-a-backup-of-installed-packages/comment-page-1/#comment-461</link>
		<dc:creator>sufehmi</dc:creator>
		<pubDate>Thu, 25 Jun 2009 00:56:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.nixtutor.com/?p=904#comment-461</guid>
		<description>I usually also backup the /etc

So when we restore, the reinstalled software will be already configured as it were

backup :
tar cvf config.tar /etc

restore :
tar xvf config.tar</description>
		<content:encoded><![CDATA[<p>I usually also backup the /etc</p>
<p>So when we restore, the reinstalled software will be already configured as it were</p>
<p>backup :<br />
tar cvf config.tar /etc</p>
<p>restore :<br />
tar xvf config.tar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Siilex</title>
		<link>http://www.nixtutor.com/linux/keep-a-backup-of-installed-packages/comment-page-1/#comment-459</link>
		<dc:creator>Siilex</dc:creator>
		<pubDate>Wed, 24 Jun 2009 22:05:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.nixtutor.com/?p=904#comment-459</guid>
		<description>The solution proposed for Debian lists too many packages.
I usually use this, which is an improvement:
dpkg --get-selections &#124; grep &quot;\binstall\$&quot; &#124; cut -f 1 &#124; while read f ; do c=$(apt-cache rdepends &quot;$f&quot; --installed &#124; wc -l) ; if (($c == 2)) ; then echo -e &quot;$f&quot; ; fi ; done
This oneliner shows the &#039;root&#039; packages between installed ones. &#039;Root&#039; means they do not have other packages depending on them.
This makes the minimal subset of &#039;apt-get install&#039; targets to get a system like the actual.
Please, notice metapackages are always shown as root, because nobody depends on them. So the result still has some redundancy.
Enjoy it.</description>
		<content:encoded><![CDATA[<p>The solution proposed for Debian lists too many packages.<br />
I usually use this, which is an improvement:<br />
dpkg &#8211;get-selections | grep &#8220;\binstall\$&#8221; | cut -f 1 | while read f ; do c=$(apt-cache rdepends &#8220;$f&#8221; &#8211;installed | wc -l) ; if (($c == 2)) ; then echo -e &#8220;$f&#8221; ; fi ; done<br />
This oneliner shows the &#8216;root&#8217; packages between installed ones. &#8216;Root&#8217; means they do not have other packages depending on them.<br />
This makes the minimal subset of &#8216;apt-get install&#8217; targets to get a system like the actual.<br />
Please, notice metapackages are always shown as root, because nobody depends on them. So the result still has some redundancy.<br />
Enjoy it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Floehr</title>
		<link>http://www.nixtutor.com/linux/keep-a-backup-of-installed-packages/comment-page-1/#comment-458</link>
		<dc:creator>Eric Floehr</dc:creator>
		<pubDate>Wed, 24 Jun 2009 21:14:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.nixtutor.com/?p=904#comment-458</guid>
		<description>Fedora has a daily cron task to take an installed package snapshot, and saves to /var/log/rpmpkgs, so just backup that file every day.</description>
		<content:encoded><![CDATA[<p>Fedora has a daily cron task to take an installed package snapshot, and saves to /var/log/rpmpkgs, so just backup that file every day.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
