Cleaning up unneeded packages and setting solver to do so also?
by panorain from LinuxQuestions.org on (#6PZ5A)
Hi, I am using openSUSE Tumbleweed 20240812.
The operating system appears to have an extensive list of unneeded packages installed, I passed: Code::~> sudo zypper packages --unneededOutput is here, > [URL="https://paste.opensuse.org/pastes/c1b9e5139658"]
Are these packages that I can remove by using: Code:zypper remove --clean-deps package-name fairly safely from the machine? What about the *.lang packages?
-
Looking a bit more deeply into Code:/etc/zypp/zypp.conf line #458 - #473 explains:
##
## EXPERTS ONLY: Cleanup when deleting packages. Whether the solver should
## per default try to remove packages exclusively required by the ones it's
## asked to delete.
##
## This option should be used on a case by case basis, enabled via
## command line options or switches the applications offer. Changing
## the global default on a system where unattended actions are performed,
## may easily damage your system.
##
## CHANGING THE DEFAULT IS NOT RECOMMENDED.
##
## Valid values: boolean
## Default value: false
##
# solver.cleandepsOnRemove = false
-
I now ask about setting the solver to Code:solver.cleandepsOnRemove = true after reading this. This is not a headless machine. What sort of problems will be happening?
-
I have now set Code:solver.onlyRequires = true in attempt to cause less of the above from occurring in the future. Can you tell any more about this by chance?
-Thanks again for your assistance.
The operating system appears to have an extensive list of unneeded packages installed, I passed: Code::~> sudo zypper packages --unneededOutput is here, > [URL="https://paste.opensuse.org/pastes/c1b9e5139658"]
Are these packages that I can remove by using: Code:zypper remove --clean-deps package-name fairly safely from the machine? What about the *.lang packages?
-
Looking a bit more deeply into Code:/etc/zypp/zypp.conf line #458 - #473 explains:
##
## EXPERTS ONLY: Cleanup when deleting packages. Whether the solver should
## per default try to remove packages exclusively required by the ones it's
## asked to delete.
##
## This option should be used on a case by case basis, enabled via
## command line options or switches the applications offer. Changing
## the global default on a system where unattended actions are performed,
## may easily damage your system.
##
## CHANGING THE DEFAULT IS NOT RECOMMENDED.
##
## Valid values: boolean
## Default value: false
##
# solver.cleandepsOnRemove = false
-
I now ask about setting the solver to Code:solver.cleandepsOnRemove = true after reading this. This is not a headless machine. What sort of problems will be happening?
-
I have now set Code:solver.onlyRequires = true in attempt to cause less of the above from occurring in the future. Can you tell any more about this by chance?
-Thanks again for your assistance.