Re: DNF could improve messages about package auto-removal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2015-12-04 at 15:43 -0500, DJ Delorie wrote:
> > If the package yumdb entry (now dnfdb) says it was installed as a
> > dependency
> 
> This is the part I assumed was there.
> 
> Is there a separate dnf command to list all installed-as-dependencies
> that nothing depends on any more?

You can use "dnf list autoremove" to list the packages dnf thinks it
can remove (because they were installed as deps and nothing requires
them any more)

Then you can use "dnf mark install $pkg" to mark them as installed, and
they will disappear from the "autoremove" list.

Note that packages installed by PackageKit are not marked as installed,
so dnf always thinks it can remove them.



-- 
Mathieu
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux