<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=7103&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / How to import a synaptic exported package list?]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=7103</link>
		<description><![CDATA[The most recent posts in How to import a synaptic exported package list?.]]></description>
		<lastBuildDate>Sat, 15 Mar 2025 13:44:07 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: How to import a synaptic exported package list?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=54946#p54946</link>
			<description><![CDATA[<p>I like fsmithred&#039;s &#039;modular&#039; approach since I don&#039;t really have the badwidth to deal with one-liners of more than two words (got the desease from Bush jr.)</p><p>&#039;dpkg --get-selections&#039; <br />&#039;dpkg --clear-selections&#039;<br />&#039;dpkg --set-selections&#039; </p><p>I have never used dkpg, so if I understand correctly, in the order </p><p>--get-selections&#160; lists the actually installed operative package names, much as would Suse Yast&#039;s &#039;export&#039; option.</p><p>--clear-selections&#160; ..having a problem with this.&#160; How do you mark for deinstallation on a list that is given only later (next)?</p><p>--set-selections executes the listed package-name according to the trailing mode-spec (one of install, hold, deinstall or purge).</p>]]></description>
			<author><![CDATA[dummy@example.com (torquebar)]]></author>
			<pubDate>Sat, 15 Mar 2025 13:44:07 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=54946#p54946</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to import a synaptic exported package list?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=54936#p54936</link>
			<description><![CDATA[<p>Thank you all, I&#039;m not getting the email alerts (or I missed the first and only one). Woud be nice if incorporated into Synaptic like Suse put it into Yast.</p>]]></description>
			<author><![CDATA[dummy@example.com (torquebar)]]></author>
			<pubDate>Sat, 15 Mar 2025 10:54:12 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=54936#p54936</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to import a synaptic exported package list?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=54840#p54840</link>
			<description><![CDATA[<p>I suggest to insert some filters</p><div class="codebox"><pre><code>apt list | \
grep &#039;installed&#039; | grep -v -e &#039;installed,local&#039; -e &#039;installed,automatic&#039; -e ^lib | \
awk -F&quot;/&quot; &#039;{ print $1 }&#039;  &gt; package-list</code></pre></div><p>^lib : removes all libraries (should be installed automatically), but also &quot;libreoffice&quot;.<br />&#039;installed,local&#039; : packages not in the current sources.list. I would want to check those.</p><p><strong>Edit:</strong> <br />Forgot to mention: To apply to a new installation</p><div class="codebox"><pre><code>apt-get install $(cat package-list| tr -d &#039;\n&#039;)</code></pre></div><p>tr -d &#039;\n&#039; deletes end-of-line characters.</p><p>I like fsmithred&#039;s &#039;dpkg --get-selections&#039; version; it includes de-installation of packages, which it not covered here.</p>]]></description>
			<author><![CDATA[dummy@example.com (delgado)]]></author>
			<pubDate>Sun, 09 Mar 2025 12:09:53 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=54840#p54840</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to import a synaptic exported package list?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=54839#p54839</link>
			<description><![CDATA[<p>Thank you for that precision</p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Sun, 09 Mar 2025 11:31:04 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=54839#p54839</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to import a synaptic exported package list?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=54838#p54838</link>
			<description><![CDATA[<p>To use one of the methods Andre linked, you need to get a list of just package names (filter out the versions) like this (or equivalet.): </p><p>SOMETHING BETTER THAN THIS!!!&#160; I didn&#039;t realize that &#039;apt list&#039; just lists everything in the repo. You do not want to install more than 59,000 packages. See Delgado&#039;s post below or use &#039;dpkg -l&#039; to see what&#039;s installed. (The awk would need to be modified.) </p><div class="codebox"><pre><code>apt list | awk -F&quot;/&quot; &#039;{ print $1 }&#039;  &gt; package-list</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sun, 09 Mar 2025 11:21:37 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=54838#p54838</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to import a synaptic exported package list?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=54836#p54836</link>
			<description><![CDATA[<p>Check this:</p><p><a href="https://askubuntu.com/questions/541781/how-to-install-a-list-of-packages-using-apt-get" rel="nofollow">https://askubuntu.com/questions/541781/ … ng-apt-get</a></p><p>Could this be an answer? (I haven&#039;t tried it)</p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Sun, 09 Mar 2025 09:36:46 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=54836#p54836</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to import a synaptic exported package list?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=54835#p54835</link>
			<description><![CDATA[<p>I don&#039;t know if that&#039;s meant for making install lists.&#160; Feeding the list to apt install is possible, but might not be the best way. In the past, I&#039;ve used &#039;dpkg --get-selections&#039; &#039;dpkg --clear-selections&#039;&#160; and &#039;dpkg --set-selections&#039; to make an install list and use it on another machine.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sun, 09 Mar 2025 09:30:23 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=54835#p54835</guid>
		</item>
		<item>
			<title><![CDATA[How to import a synaptic exported package list?]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=54833#p54833</link>
			<description><![CDATA[<p>I want to import the package list exported by synaptic on another computer with</p><div class="codebox"><pre><code>apt list &gt; packlist-box-A.txt</code></pre></div><p>The man page is quite simple and short, it explains the list option but not its reverse.</p><p>(Edited and Un-edited mistakenly by fsmithred. Sorry about that.)</p>]]></description>
			<author><![CDATA[dummy@example.com (torquebar)]]></author>
			<pubDate>Sun, 09 Mar 2025 00:38:32 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=54833#p54833</guid>
		</item>
	</channel>
</rss>
