package-cleanup after F21

Igor Gnatenko i.gnatenko.brain at gmail.com
Tue Aug 11 15:48:37 UTC 2015


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 at thelounge.net> 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 at 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 at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/devel
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

-- 

-Igor Gnatenko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20150811/4b656186/attachment.html>


More information about the devel mailing list