Re: RPM needs to go on a diet.

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

 



On Thu, 2005-02-17 at 14:45 -0500, Jeff Spaleta wrote:
>On Thu, 17 Feb 2005 14:33:24 -0500, Jeff Johnson <n3npq@xxxxxxxxx> wrote:
>> Or have every possible bleeping kernel already pre-installed and never
>> remove anything.
>> Unfortunately, that exercises known deficiencies with both rpm and
>> hardlinks, and is
>> slower than optimal, so take valium and be patient.
>
>
>The question becomes... can  someone expose reasonable sane default
>behavior of some tool to do old kernel pruning... to avoid normal
>fedora users from encountering these deficiencies when you have 17 or
>so update kernels installed.

This is a script I've been using on two Rawhide boxes.  (Well, actually,
it's the version I use on this box; the version on the other box is
different and a bit better, but it's not online right now.)  It displays
a list of installed kernels, except for the newest kernel and the
currently running kernel, and lets you pick the ones you want to remove.

It's graphical (uses Zenity), but could easily be changed to be
console-only if someone really wanted to.  The other version I have knew
how to remove some related packages like kernel-devel, but it also
wasn't quite as bright about some other things; it's been a while, I
forget what all the differences between the two scripts were.

This is definitely not the ideal tool for the problem, but it's
something other Rawhide users might find useful, so here it is.

>
>-jef
>
-- 
Sean Middleditch <elanthis@xxxxxxxxxxxxxxx>

Attachment: remove-kernels.sh
Description: application/shellscript


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux