Re: Safe way to remove old kernels

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

 



On Tue, Jul 19, 2005 at 02:16:09AM -0230, Shane Lahey wrote:
> MM> Install the "yum-utils" package from Fedora Extras, and run:
> MM>   sudo package-cleanup --oldkernels
> MM> (assuming you have sudo privileges, of course).
> 
> Im still new to Fedora Core myself, diden't realize there was a
> package-cleanup.  Would it be better to use the package-cleanup rather
> than 'rpm -e', or do they both do the same thing?


yum-utils is new, so it's no surprise it's not widely known. Ultimately, it
does the same thing as rpm -e, but it's less prone to typos (oops! I removed
all my kernels!) and has more features. Well, one feature -- it can
conveniently remove all kernels but the latest N (defaults to 2) in one
swoop.

It's actually a kind of catch-all utility -- in addition to the kernel
cleanup feature, it has a "--problems" mode where it reports any dependency
issues in your currently installed packages, and a "--leaves" mode which
reports packages which are installed but not required by anything else. (By
default, only libraries.)

-- 
Matthew Miller           mattdm@xxxxxxxxxx        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>
Current office temperature: 80 degrees Fahrenheit.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux