<p dir="ltr">Leaves and autoremove a bit different stuff.. You&#39;d want to use <a href="https://github.com/rpm-software-management/dnf-plugins-extras/blob/master/plugins/leaves.py">https://github.com/rpm-software-management/dnf-plugins-extras/blob/master/plugins/leaves.py</a></p>
<br><div class="gmail_quote"><div dir="ltr">On Tue, Aug 11, 2015, 6:46 PM Reindl Harald &lt;<a href="mailto:h.reindl@thelounge.net">h.reindl@thelounge.net</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Am 11.08.2015 um 17:34 schrieb Michael Schwendt:<br>
&gt; On Tue, 11 Aug 2015 17:15:58 +0200, Reindl Harald wrote:<br>
&gt;<br>
&gt;&gt; so, upgraded to F23 with &quot;dnf distro-sync&quot; and how do dnf-developers and<br>
&gt;&gt; the people decided to replace yum at the moment imagine cleanup setups now?<br>
&gt;&gt;<br>
&gt;&gt; in fact after *every* dist-upgrade there are obsolete packages left<br>
&gt;&gt; because changed dependencies<br>
&gt;&gt;<br>
&gt;&gt; [root@rawhide data]# package-cleanup --leaves<br>
&gt;&gt; Yum-utils package has been deprecated, use dnf instead.<br>
&gt;&gt; See &#39;man yum2dnf&#39; for more information.<br>
&gt;    ^^^^^^^^^^^^^^^^^<br>
&gt;    ^^^<br>
&gt;    ^^<br>
&gt;    ^<br>
&gt;    (!) Scroll down to the bottom<br>
<br>
&quot;dnf list autoremove&quot; gives *nothing* while &quot;dnf remove wget&quot; as one of<br>
many samples could be removed without any deps - so i guess that&#39;s just<br>
working with the yumdb/dnfdb and is in *no way* compareable with<br>
&quot;package-cleanup --leaves --all&quot;<br>
<br>
&quot;package-cleanup --leaves --all&quot; for years now works perfectly, lists<br>
*any* package which could be unnstalled and so takes care in combination<br>
with own metapackages listing wanted programs as Requires to keep<br>
systems *absolutely* clean<br>
<br>
<br>
<br>
<br>
<br>
--<br>
devel mailing list<br>
<a href="mailto:devel@lists.fedoraproject.org" target="_blank">devel@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/devel</a><br>
Fedora Code of Conduct: <a href="http://fedoraproject.org/code-of-conduct" rel="noreferrer" target="_blank">http://fedoraproject.org/code-of-conduct</a></blockquote></div><div dir="ltr">-- <br></div><p dir="ltr">-Igor Gnatenko</p>