Safe way to remove old kernels

Shane Lahey s.lahey at nl.rogers.com
Tue Jul 19 04:46:09 UTC 2005


Hello Matthew,

Monday, July 18, 2005, 11:49:28 PM, you wrote:

MM> On Mon, Jul 18, 2005 at 08:45:05PM -0500, John Best wrote:
>> It appears I have been "collecting" kernels since installing FC4.  I
>> presently show 4 copies in /lib/modules all of which were installed via
>> up2date via the YUM repositories.. (Except for the initial FC4 install)
>> Is there a proper way to remove them? such as yum remove ,etc...
>> Thanks...

MM> Install the "yum-utils" package from Fedora Extras, and run:

MM>   sudo package-cleanup --oldkernels

MM> (assuming you have sudo privileges, of course).

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


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?

-- 
Best regards,
 Shane

Shane Lahey <s.lahey at nl.rogers.com>





More information about the fedora-list mailing list