[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Safe way to remove old kernels
- From: Matthew Miller <mattdm mattdm org>
- To: For users of Fedora Core releases <fedora-list redhat com>
- Subject: Re: Safe way to remove old kernels
- Date: Tue, 19 Jul 2005 01:00:21 -0400
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 mattdm org <http://www.mattdm.org/>
Boston University Linux ------> <http://linux.bu.edu/>
Current office temperature: 80 degrees Fahrenheit.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]