Re: Installed by dependency or not

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

 



On Tue, 2016-08-16 at 10:57 -0700, stan wrote:
> On Tue, 16 Aug 2016 13:04:42 +0200
> Frank Elsner <frank@xxxxxxxxxxxxxxxxxxxxx> wrote:
> 
> > 
> > how to determine whether a packet was installed by dependency 
> > or by an explicit "dnf install ..."?
> 
> Maybe someone more knowledgeable than me will chime in, but I don't
> think there is a way.  dnf knows when removing a package leaves behind
> what it calls leaves, packages that have nothing depending on them, but
> I don't think it keeps track of installation method beyond repository
> of origin.
> 
> If it is a single package, you could try a  dnf remove  to see what it
> wants to remove for dependencies.  Those packages would have installed
> the package you want to remove if it wasn't already installed (pulled
> it in as a dependency).
> 
> Packages that have a *lot* of dependencies when you try to remove them,
> were probably installed as part of the base installation.

>From dnf(1):

dnf history userinstalled
              List names of all packages installed by a user. The
output can be used as the %packages section in a kickstart file.

However it's far from clear what that actually means as there is no
other information about it.

poc
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux