<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=3220&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] Apt-get show one package per line?]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=3220</link>
		<description><![CDATA[The most recent posts in [SOLVED] Apt-get show one package per line?.]]></description>
		<lastBuildDate>Fri, 20 Dec 2019 12:24:45 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Apt-get show one package per line?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=19081#p19081</link>
			<description><![CDATA[<div class="quotebox"><cite>Geoff 42 wrote:</cite><blockquote><div><div class="quotebox"><cite>bgstack15 wrote:</cite><blockquote><div><p>Apt list --upgradable shows me a different list than what apt-get upgrade -V does.</p></div></blockquote></div><p>Is this partly due to the difference between <span class="bbc">apt-get upgrade</span> and <span class="bbc">apt-get dist-upgrade</span>? (or <span class="bbc">apt upgrade</span> and <span class="bbc">apt full-upgrade</span>)</p></div></blockquote></div><p>No, I don&#039;t think the differences between those different upgrade commands matters. I think &quot;apt list --upgradable&quot; does not do the full dependency resolution to determine that no, oddjob-mkhomedir is not actually upgradable; it will be held back.</p>]]></description>
			<author><![CDATA[dummy@example.com (bgstack15)]]></author>
			<pubDate>Fri, 20 Dec 2019 12:24:45 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=19081#p19081</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Apt-get show one package per line?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=19080#p19080</link>
			<description><![CDATA[<div class="quotebox"><cite>bgstack15 wrote:</cite><blockquote><div><p>Apt list --upgradable shows me a different list than what apt-get upgrade -V does.</p></div></blockquote></div><p>Is this partly due to the difference between <span class="bbc">apt-get upgrade</span> and <span class="bbc">apt-get dist-upgrade</span>? (or <span class="bbc">apt upgrade</span> and <span class="bbc">apt full-upgrade</span>)</p><p>I suppose, in this context that using <span class="bbc">-V</span> may be more accurate, in that it shows what it is actually about to do, rather than what it could potentially do, depending on which version of the command you later give.</p><p>Geoff</p>]]></description>
			<author><![CDATA[dummy@example.com (Geoff 42)]]></author>
			<pubDate>Fri, 20 Dec 2019 09:21:06 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=19080#p19080</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Apt-get show one package per line?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=19079#p19079</link>
			<description><![CDATA[<p>I think aptitude UI will be suitable solution for different cases.</p>]]></description>
			<author><![CDATA[dummy@example.com (ToxicExMachina)]]></author>
			<pubDate>Fri, 20 Dec 2019 04:16:59 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=19079#p19079</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Apt-get show one package per line?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=19077#p19077</link>
			<description><![CDATA[<p>Apt list --upgradable shows me a different list than what apt-get upgrade -V does. For example, it shows that oddjob-mkhomedir is upgradable, but apt-get upgrade omits oddjob-mkhomedir because of a systemd dependency (I made a dummy package for oddjob-mkhomedir-0.0.1 a while back for my own purposes). But yes, that output looks a little bit better. I realize apt repositories don&#039;t have names, so I guess I want to see the server the package comes from.</p>]]></description>
			<author><![CDATA[dummy@example.com (bgstack15)]]></author>
			<pubDate>Fri, 20 Dec 2019 02:48:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=19077#p19077</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Apt-get show one package per line?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=19073#p19073</link>
			<description><![CDATA[<p>Isn&#039;t that what <span class="bbc">apt list --upgradable</span> does? It lists the repository with the versions.<br />The info fits on single lines if your terminal is wide enough ;-)</p><p>Geoff</p>]]></description>
			<author><![CDATA[dummy@example.com (Geoff 42)]]></author>
			<pubDate>Thu, 19 Dec 2019 16:37:26 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=19073#p19073</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Apt-get show one package per line?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=19067#p19067</link>
			<description><![CDATA[<p>Yes, it&#039;s actually incredibly useful that it shows the version numbers. My requirement however was merely one package per line.</p><p>My messing around with awk had produced really weird results, where the y/n prompt would occur, but the last ~50 lines of text including the prompt text would only appear after my response.</p><p>So now I am going to go read the man page to see if I can get it to show me, on those individual lines, what repo each package is coming from. I realize that&#039;s auxiliary to the main purpose of this thread, but it is a continuation of the thought that I totally haven&#039;t read the man page for apt-get.</p>]]></description>
			<author><![CDATA[dummy@example.com (bgstack15)]]></author>
			<pubDate>Wed, 18 Dec 2019 21:38:28 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=19067#p19067</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Apt-get show one package per line?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=19060#p19060</link>
			<description><![CDATA[<div class="quotebox"><cite>bgstack15 wrote:</cite><blockquote><div><p>@Head_on_a_Stick solved it. That&#039;s good enough. Wow. Apparently I didn&#039;t read the right man pages or right sections of the man pages. This -V is such a game-changer.</p><p>edit: Showing the version numbers is even a nice bonus!</p></div></blockquote></div><p>Flag </p><div class="codebox"><pre><code> -V, --verbose-versions </code></pre></div><p> show full versions for upgraded and installed packages.</p>]]></description>
			<author><![CDATA[dummy@example.com (Ogis1975)]]></author>
			<pubDate>Wed, 18 Dec 2019 12:58:23 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=19060#p19060</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Apt-get show one package per line?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=19059#p19059</link>
			<description><![CDATA[<div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><div class="codebox"><pre><code>empty@E485:~ $ sudo apt upgrade -V
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
   libruby2.5 (2.5.5-3 =&gt; 2.5.5-3+deb10u1)
   ruby2.5 (2.5.5-3 =&gt; 2.5.5-3+deb10u1)
   ruby2.5-dev (2.5.5-3 =&gt; 2.5.5-3+deb10u1)
   ruby2.5-doc (2.5.5-3 =&gt; 2.5.5-3+deb10u1)
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 6,402 kB of archives.
After this operation, 1,024 B disk space will be freed.
Do you want to continue? [Y/n]</code></pre></div></div></blockquote></div><p>Show off! <img src="https://dev1galaxy.org/img/smilies/tongue.png" width="15" height="15" alt="tongue" /></p><p>#1</p>]]></description>
			<author><![CDATA[dummy@example.com (MiyoLinux)]]></author>
			<pubDate>Wed, 18 Dec 2019 10:05:18 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=19059#p19059</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Apt-get show one package per line?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=19052#p19052</link>
			<description><![CDATA[<p>@Head_on_a_Stick solved it. That&#039;s good enough. Wow. Apparently I didn&#039;t read the right man pages or right sections of the man pages. This -V is such a game-changer.</p><p>edit: Showing the version numbers is even a nice bonus!</p>]]></description>
			<author><![CDATA[dummy@example.com (bgstack15)]]></author>
			<pubDate>Wed, 18 Dec 2019 02:26:21 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=19052#p19052</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Apt-get show one package per line?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=19049#p19049</link>
			<description><![CDATA[<div class="codebox"><pre><code>empty@E485:~ $ sudo apt upgrade -V
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
   libruby2.5 (2.5.5-3 =&gt; 2.5.5-3+deb10u1)
   ruby2.5 (2.5.5-3 =&gt; 2.5.5-3+deb10u1)
   ruby2.5-dev (2.5.5-3 =&gt; 2.5.5-3+deb10u1)
   ruby2.5-doc (2.5.5-3 =&gt; 2.5.5-3+deb10u1)
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 6,402 kB of archives.
After this operation, 1,024 B disk space will be freed.
Do you want to continue? [Y/n]</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Tue, 17 Dec 2019 17:09:32 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=19049#p19049</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Apt-get show one package per line?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=19048#p19048</link>
			<description><![CDATA[<p>How about :-</p><div class="quotebox"><blockquote><div><p># apt update<br />Get:1 <a href="http://deb.devuan.org/merged" rel="nofollow">http://deb.devuan.org/merged</a> ascii InRelease [25.6 kB]<br />...<br />Reading state information... Done<br />7 packages can be upgraded. Run &#039;apt list --upgradable&#039; to see them.<br /># apt list --upgradable<br />Listing... Done<br />git/stable-security,stable-proposed-updates 1:2.11.0-3+deb9u5 amd64 [upgradable from: 1:2.11.0-3+deb9u4]<br />intel-microcode/stable-security,stable-proposed-updates 3.20191115.2~deb9u1 amd64 [upgradable from: 3.20191112.1~deb9u1]<br />sa-compile/stable-security,stable-security,stable-proposed-updates,stable-proposed-updates 3.4.2-1~deb9u2 all [upgradable from: 3.4.2-1~deb9u1]<br />spamassassin/stable-security,stable-security,stable-proposed-updates,stable-proposed-updates 3.4.2-1~deb9u2 all [upgradable from: 3.4.2-1~deb9u1]<br />spamc/stable-security,stable-proposed-updates 3.4.2-1~deb9u2 amd64 [upgradable from: 3.4.2-1~deb9u1]<br />thunderbird/stable-security 1:68.3.0-2~deb9u1 amd64 [upgradable from: 1:68.2.2-1~deb9u1]<br />thunderbird-l10n-en-gb/stable-security,stable-security 1:68.3.0-2~deb9u1 all [upgradable from: 1:68.2.2-1~deb9u1]</p></div></blockquote></div><p>Is that the sort of thing you are after?</p><p>Geoff</p>]]></description>
			<author><![CDATA[dummy@example.com (Geoff 42)]]></author>
			<pubDate>Tue, 17 Dec 2019 16:25:11 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=19048#p19048</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Apt-get show one package per line?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=19047#p19047</link>
			<description><![CDATA[<p>How about aptitude? Maybe with this tool is possible to show one package per line?</p>]]></description>
			<author><![CDATA[dummy@example.com (Ogis1975)]]></author>
			<pubDate>Tue, 17 Dec 2019 12:25:04 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=19047#p19047</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Apt-get show one package per line?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=19046#p19046</link>
			<description><![CDATA[<p>For this to work, you need to install the package <span class="bbc">apt-show-versions</span></p><div class="codebox"><pre><code>apt install apt-show-versions</code></pre></div><p>The following command will show each package that can be upgraded on a single line...along with version numbers.</p><div class="codebox"><pre><code>apt-show-versions -u</code></pre></div><p>However, it still may be confusing. <img src="https://dev1galaxy.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" />&#160; <img src="https://dev1galaxy.org/img/smilies/tongue.png" width="15" height="15" alt="tongue" /></p><p>So, you might try this. It will list each package that can be upgraded on a single line, but no version numbers...</p><div class="codebox"><pre><code>apt-show-versions -u | cut -d: -f1</code></pre></div><p>...or do as golinux said, and upgrade through synaptic...which shows the available upgrades for each package on a single line. <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (MiyoLinux)]]></author>
			<pubDate>Tue, 17 Dec 2019 07:35:10 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=19046#p19046</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Apt-get show one package per line?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=19045#p19045</link>
			<description><![CDATA[<p>Output formatting would need to shorten filenames to useless fragments or would need ridiculously long lines terminals which will hurt reading a lot if line lengths raise noticeably above 100 characters:</p><div class="codebox"><pre><code>$ apt-cache pkgnames | awk &#039;{ print length,$0 }&#039; | sort -n | tail
53 ruby-rails-assets-markdown-it--markdown-it-for-inline
54 libmono-system-windows-forms-datavisualization4.0a-cil
55 libmoosex-traitfor-meta-class-betteranonclassnames-perl
55 libperl-critic-policy-variables-prohibitlooponhash-perl
56 libcatalyst-authentication-credential-authen-simple-perl
56 libcatalyst-plugin-authentication-credential-openid-perl
58 node-babel-plugin-transform-es3-member-expression-literals
59 libmono-system-runtime-serialization-formatters-soap4.0-cil
60 librust-wasm-bindgen+xxx-debug-only-print-generated-code-dev
60 node-babel-helper-builder-binary-assignment-operator-visitor</code></pre></div><p>If the filenames may be on one line like in <span class="bbc">apt-cache policynode-babel-helper-builder-binary-assignment-operator-visitor </span>, it may be somewhat readable:</p><div class="codebox"><pre><code>$ apt-cache policy node-babel-helper-builder-binary-assignment-operator-visitor
node-babel-helper-builder-binary-assignment-operator-visitor:
  Installed: (none)
  Candidate: 6.26.0+dfsg-3
  Version table:
     6.26.0+dfsg-3 500
        500 http://deb.devuan.org/merged beowulf/main armhf Packages</code></pre></div><p>Simple post processing of <span class="bbc">apt-get upgrade</span>&#039;s output from <span class="bbc">^The following packages will be upgraded:$</span> to the end of the indented block following it would be no big deal. Maybe just throwing it as one line at <span class="bbc">apt-get policy $THAT_LINE</span> would give a lot of version information, but sometimes more than one &quot;candidate&quot; for a package will show up and how do we know which one <span class="bbc">apt-get</span> will choose?</p><p>Post processing a dry run of the upgrade process may be a way?</p><p>I currently have no deb-ish system with updates waiting to be installed, so no easy way to look at a dry run&#039;s output. :-(</p>]]></description>
			<author><![CDATA[dummy@example.com (yeti)]]></author>
			<pubDate>Tue, 17 Dec 2019 06:09:02 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=19045#p19045</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Apt-get show one package per line?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=19044#p19044</link>
			<description><![CDATA[<p>Yes, it would be nice to have a built-in option. As is, one has to resort to manual output filtering, e.g. by adding</p><div class="codebox"><pre><code> | sed &quot;/^  /{s/\\b /\n  /g}&quot;</code></pre></div><p> to the command. That merely &quot;pretty-prints&quot; and doesn&#039;t provide the version details.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Tue, 17 Dec 2019 04:41:22 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=19044#p19044</guid>
		</item>
	</channel>
</rss>
