<p dir="ltr">Leaves and autoremove a bit different stuff.. You'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 <<a href="mailto:h.reindl@thelounge.net">h.reindl@thelounge.net</a>> 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>
> On Tue, 11 Aug 2015 17:15:58 +0200, Reindl Harald wrote:<br>
><br>
>> so, upgraded to F23 with "dnf distro-sync" and how do dnf-developers and<br>
>> the people decided to replace yum at the moment imagine cleanup setups now?<br>
>><br>
>> in fact after *every* dist-upgrade there are obsolete packages left<br>
>> because changed dependencies<br>
>><br>
>> [root@rawhide data]# package-cleanup --leaves<br>
>> Yum-utils package has been deprecated, use dnf instead.<br>
>> See 'man yum2dnf' for more information.<br>
> ^^^^^^^^^^^^^^^^^<br>
> ^^^<br>
> ^^<br>
> ^<br>
> (!) Scroll down to the bottom<br>
<br>
"dnf list autoremove" gives *nothing* while "dnf remove wget" as one of<br>
many samples could be removed without any deps - so i guess that's just<br>
working with the yumdb/dnfdb and is in *no way* compareable with<br>
"package-cleanup --leaves --all"<br>
<br>
"package-cleanup --leaves --all" 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>