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.
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