<?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: Clone Your Ubuntu installation</title>
	<atom:link href="http://www.debianadmin.com/clone-your-ubuntu-installation.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.debianadmin.com/clone-your-ubuntu-installation.html</link>
	<description>Debian/Ubuntu Linux System Administration Tutorials,Howtos,Tips</description>
	<lastBuildDate>Thu, 19 Nov 2009 13:24:32 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Erik Vandamme</title>
		<link>http://www.debianadmin.com/clone-your-ubuntu-installation.html/comment-page-1#comment-3289</link>
		<dc:creator>Erik Vandamme</dc:creator>
		<pubDate>Sun, 28 Jun 2009 11:05:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/clone-your-ubuntu-installation.html#comment-3289</guid>
		<description>I get errors running any of the: 
dpkg –get-selections &#124; grep install &#124; awk -F” ” ‘{print $1}’ &gt; pkg_fil
Ubuntu Intrepid 8.10, trying to store system before upgrade to 9.10</description>
		<content:encoded><![CDATA[<p>I get errors running any of the:<br />
dpkg –get-selections | grep install | awk -F” ” ‘{print $1}’ &gt; pkg_fil<br />
Ubuntu Intrepid 8.10, trying to store system before upgrade to 9.10</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daeng Bo</title>
		<link>http://www.debianadmin.com/clone-your-ubuntu-installation.html/comment-page-1#comment-1651</link>
		<dc:creator>Daeng Bo</dc:creator>
		<pubDate>Sun, 25 May 2008 14:41:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/clone-your-ubuntu-installation.html#comment-1651</guid>
		<description>sudo dpkg –get-selections &gt; packages.txt
sudo dpkg –set-selections &amp;lt packages.txt ## The less-than sign got eaten before, along with everything after it.
sudo apt-get dselect-upgrade

That system works well and is easy to use. No regexp required.</description>
		<content:encoded><![CDATA[<p>sudo dpkg –get-selections &gt; packages.txt<br />
sudo dpkg –set-selections &amp;lt packages.txt ## The less-than sign got eaten before, along with everything after it.<br />
sudo apt-get dselect-upgrade</p>
<p>That system works well and is easy to use. No regexp required.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nimo</title>
		<link>http://www.debianadmin.com/clone-your-ubuntu-installation.html/comment-page-1#comment-1650</link>
		<dc:creator>Nimo</dc:creator>
		<pubDate>Mon, 14 May 2007 13:31:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/clone-your-ubuntu-installation.html#comment-1650</guid>
		<description>Hi,

that sounds good, I was looking for something like that, but as a real basic user, I&#039;d have two questions :
1 - what if we have uninstalled something from the vanilla ubuntu installation ? Will it get uninstalled as well with these scripts ? Or just ignored by the script and therefore left on the target system ?
2 - I see several scripts here above, in the article and the comments, all Chinese to me. I&#039;m good only at copy-pasting, is there one that you gurus agree is better than the others ? (as in, more robust ?)

many thanks in advance, cheers</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>that sounds good, I was looking for something like that, but as a real basic user, I&#8217;d have two questions :<br />
1 &#8211; what if we have uninstalled something from the vanilla ubuntu installation ? Will it get uninstalled as well with these scripts ? Or just ignored by the script and therefore left on the target system ?<br />
2 &#8211; I see several scripts here above, in the article and the comments, all Chinese to me. I&#8217;m good only at copy-pasting, is there one that you gurus agree is better than the others ? (as in, more robust ?)</p>
<p>many thanks in advance, cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luis Morales</title>
		<link>http://www.debianadmin.com/clone-your-ubuntu-installation.html/comment-page-1#comment-1649</link>
		<dc:creator>Luis Morales</dc:creator>
		<pubDate>Sat, 12 May 2007 20:14:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/clone-your-ubuntu-installation.html#comment-1649</guid>
		<description>I use the scripts and have some troubles, but the idea is great to clonning ubuntu instalations. So, i use this scripts as root user and work fine:

Extract the packages:
dpkg --get-selections &#124; grep install &#124; awk -F&quot; &quot; &#039;{print $1}&#039; &gt; pkg_files

To install:
cat pkg_files &#124; xargs apt-get install -y

regards,</description>
		<content:encoded><![CDATA[<p>I use the scripts and have some troubles, but the idea is great to clonning ubuntu instalations. So, i use this scripts as root user and work fine:</p>
<p>Extract the packages:<br />
dpkg &#8211;get-selections | grep install | awk -F&#8221; &#8221; &#8216;{print $1}&#8217; &gt; pkg_files</p>
<p>To install:<br />
cat pkg_files | xargs apt-get install -y</p>
<p>regards,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: polarizer</title>
		<link>http://www.debianadmin.com/clone-your-ubuntu-installation.html/comment-page-1#comment-1648</link>
		<dc:creator>polarizer</dc:creator>
		<pubDate>Tue, 03 Apr 2007 14:45:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/clone-your-ubuntu-installation.html#comment-1648</guid>
		<description>Sound easy to me. Thx you fpr sharing this. I&#039;ll give it a try.

polarizers 2 cents</description>
		<content:encoded><![CDATA[<p>Sound easy to me. Thx you fpr sharing this. I&#8217;ll give it a try.</p>
<p>polarizers 2 cents</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chuck Tellechea</title>
		<link>http://www.debianadmin.com/clone-your-ubuntu-installation.html/comment-page-1#comment-1647</link>
		<dc:creator>Chuck Tellechea</dc:creator>
		<pubDate>Mon, 05 Feb 2007 08:05:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/clone-your-ubuntu-installation.html#comment-1647</guid>
		<description>I don&#039;t know why but this, from above, did not work for me:
sudo dpkg --get-selections &#124; grep &#039;[[:space:]]install$=&#039;&#124; awk &#039;{print $1}&#039; &gt; installedpackages

However, this worked great:
sudo dpkg --get-selections &#124; perl -e &#039;@lines = ;foreach(@lines){ $_ =~ m/(^[a-z,A-Z,0-9,-_]+)\s+.*/;print &quot;$1\n&quot;;}&#039; &gt; installedpackages</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know why but this, from above, did not work for me:<br />
sudo dpkg &#8211;get-selections | grep &#8216;[[:space:]]install$=&#8217;| awk &#8216;{print $1}&#8217; &gt; installedpackages</p>
<p>However, this worked great:<br />
sudo dpkg &#8211;get-selections | perl -e &#8216;@lines = ;foreach(@lines){ $_ =~ m/(^[a-z,A-Z,0-9,-_]+)\s+.*/;print &#8220;$1\n&#8221;;}&#8217; &gt; installedpackages</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GermanyZulu</title>
		<link>http://www.debianadmin.com/clone-your-ubuntu-installation.html/comment-page-1#comment-1646</link>
		<dc:creator>GermanyZulu</dc:creator>
		<pubDate>Tue, 09 Jan 2007 22:28:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/clone-your-ubuntu-installation.html#comment-1646</guid>
		<description>(QUOTE)
      What about using a more simple approach?

      sudo dpkg –get-selections &gt; packages.txt

      Copy packages.txt to the remote machine and do:

      sudo dpkg –set-selections
(/QUOTE)

It took me a while to find the answer to this but the last step of this process is:

      sudo apt-get dselect-upgrade

-GZ</description>
		<content:encoded><![CDATA[<p>(QUOTE)<br />
      What about using a more simple approach?</p>
<p>      sudo dpkg –get-selections &gt; packages.txt</p>
<p>      Copy packages.txt to the remote machine and do:</p>
<p>      sudo dpkg –set-selections<br />
(/QUOTE)</p>
<p>It took me a while to find the answer to this but the last step of this process is:</p>
<p>      sudo apt-get dselect-upgrade</p>
<p>-GZ</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Excds</title>
		<link>http://www.debianadmin.com/clone-your-ubuntu-installation.html/comment-page-1#comment-1645</link>
		<dc:creator>Excds</dc:creator>
		<pubDate>Fri, 05 Jan 2007 10:11:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/clone-your-ubuntu-installation.html#comment-1645</guid>
		<description>What about using a more simple approach?

sudo dpkg --get-selections &gt; packages.txt

Copy packages.txt to the remote machine and do:

sudo dpkg --set-selections</description>
		<content:encoded><![CDATA[<p>What about using a more simple approach?</p>
<p>sudo dpkg &#8211;get-selections &gt; packages.txt</p>
<p>Copy packages.txt to the remote machine and do:</p>
<p>sudo dpkg &#8211;set-selections</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://www.debianadmin.com/clone-your-ubuntu-installation.html/comment-page-1#comment-1644</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Thu, 04 Jan 2007 09:09:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.debianadmin.com/clone-your-ubuntu-installation.html#comment-1644</guid>
		<description>Not an expert with regular expressions but found that grep &#039;[[:space:]]install$=&#039; worked when the &#039;=&#039; was removed.

Very useful article though

Thanks</description>
		<content:encoded><![CDATA[<p>Not an expert with regular expressions but found that grep &#8216;[[:space:]]install$=&#8217; worked when the &#8216;=&#8217; was removed.</p>
<p>Very useful article though</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
