gohlip wrote:I have read these links and that's why I posted this topic and that's why I have the impression "urpme --auto-orphans" should not be performed. Yet other commands like "urpmi --clean" also seems 'suspect' after reading about it (does not clean but sweep it under the carpet, so to speak).
What are you talking about? It does not sweep anything under the carpet, it does exactly what the manual says:
- Code: Select all
--clean
Remove all packages from the cache in directory /var/cache/urpmi/rpms.
It's not needed for normal operation, only if you have used --noclean before on purpose and want to remove the downloaded packages.
gohlip wrote:then
- Code: Select all
[pop@localhost ~]$ kdesu kate /var/lib/rpm/installed-through-deps.list
and removed lib64tk8.5 and tk manually.
- Code: Select all
[pop@localhost ~]$ sudo urpme --auto-orphans
[sudo] password for pop:
No orphans to remove
Done.
Well, actually you should have done an
- Code: Select all
urpmi lib64tk8.5 tk
to mark them as manually installed and wanted, and as a result removing them from the list ...
But still, I wonder if "urpme --auto-orphans" should be performed, though in my case, it seems to do no harm and cleaned up those unwanted thingies, (like er...dkms modules for removed kernels, lots other thingies which I cannot remember). But if I do encounter major issues, I'll let you know. And... I'll still appreciate some more input.
Cheers.
As a general rule, no it should not, as it does not "clean" anything, or removed unwanted things. It also doesn't removed compiled dkms modules, only the rpm packages out of which the modules where compiled, which are much smaller. Seems you're like one of those guys who would also blindly run CCleaner or similar tools like TuneUp on windows, without really knowing what they do, what harm they can do to a clean and proper installation, just to "... clean registry and optimize your computer and improve performance" balh blew bleh ...
Honestly, disabling services for bootup or on desktop start, minimizing memory footprint or buying an SSD would be much more effective and measurable than just removing some packages from your system, which don't do any harm. But so be it ...