PDA

View Full Version : Question about yum-utils' package-cleanup



That Lame Thing
24th February 2010, 07:05 PM
I recently realized yum-utils has a package cleanup feature. To my present understanding, this could be used for removing (or to aid in removing) dependencies which aren't being used (much like autoremove, only perhaps with extra steps).

Am I correct, and if so, since it seems to involve any RPM that isn't required by another, would that remove things I want to keep (such as programs or whatever which may not be required by anything else)?

Thanks, Yum is still kinda confusing to me, having mostly used debian-based distros until Fedora.

Hlingler
24th February 2010, 07:11 PM
package-cleanup has several functions, and one is to "clean up" orphans. However, note that just because a particular package is not required (in the RPM dependency chain) does not mean that it is not useful (to you). Exercise caution when using such automated tools.

V

P.S. See also: http://forums.fedoraforum.org/showthread.php?t=241072

That Lame Thing
25th February 2010, 01:54 AM
I see... That's pretty much what I was expecting, so I'll just try and avoid removing things when I can, but I do hope yum will get a feature like autoremove.