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