Re: How to tell how a package was installed?

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

 



On Wed, 1 Jan 2020 at 06:42, Manuel Reimer <mail+fedora@xxxxxxxxxxx> wrote:
Hello,

I've freshly installed an Fedora VM.

I assume you installed Fedora Workstation, which provides Gnome 3 and
LibreOffice
 

If I run "dnf history userinstalled", then I only get 19 packages listed.

That's way less than I would have expected.

For example I have LibreOffice right with my fresh installation. It is
not listed as "userinstalled".

From "man dnf":

       dnf history userinstalled
              Show  all  installonly packages, packages installed outside of DNF and packages not installed as depen‐
              dency. I.e. it lists packages that will stay on the system when Auto Remove Command or  Remove  Command
              along  with  clean_requirements_on_remove  configuration  option set to True is executed. Note the same
              results can be accomplished with dnf repoquery --userinstalled, and the repoquery command is more  pow‐
              erful in formatting of the output.

This points you to "dnf repoquery"


Even though it is not listed, "dnf autoremove" doesn't ask me to
uninstall LibreOffice. So somehow it was installed in a way that makes
"dnf autoremove" know that LibreOffice was "user installed".

What exactly does qualify LibreOffice, Firefox and others to not get
listed in "dnf autoremove"? Some kind of group? How to find out such
information?

Try:  dnf repoquery --queryformat "%{name}: %{reason}" --installed

You will see that libreoffice packages have reason "dependency".  Packages
you installed have reason "user".   There are also packages with reason "group",
"unknown", and "weak-dependency".

--
George N. White III

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
[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