Re: Removing old kernels with yum?

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

 



On or about 2005-05-27 15:35, Truls Gulbrandsen whipped out a trusty #2 pencil and scribbled:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Howarth wrote:
| WipeOut wrote:
|
|> Hi,
|>
|> How do I remove old kernels with yum??
|>
|> If I do a..
|> # yum list "kernel*"
|>
|> I get..
|> Installed Packages
|> kernel.i686 2.6.10-1.741_FC3 installed
|> kernel.i686 2.6.9-1.681_FC3 installed
|> kernel.i686 2.6.10-1.760_FC3 installed
|> kernel.i686 2.6.11-1.14_FC3 installed
|> kernel.i686 2.6.11-1.27_FC3 installed
|> kernel.i686 2.6.9-1.678_FC3 installed
|> kernel.i686 2.6.9-1.667 installed
|> kernel.i686 2.6.10-1.737_FC3 installed
|> kernel-smp.i686 2.6.9-1.667 installed
|> kernel-smp.i686 2.6.10-1.760_FC3 installed
|> kernel-smp.i686 2.6.11-1.27_FC3 installed
|> kernel-smp.i686 2.6.10-1.737_FC3 installed
|> kernel-smp.i686 2.6.10-1.741_FC3 installed
|> kernel-smp.i686 2.6.11-1.14_FC3 installed
|> kernel-smp.i686 2.6.9-1.678_FC3 installed
|> kernel-smp.i686 2.6.9-1.681_FC3 installed
|> kernel-utils.i386 1:2.4-13.1.49_FC3 installed
|>
|> So if I try..
|> # yum remove kernel.i686
|> it wants to remove all of them..
|>
|> I have tried specifying the version a couple of ways but then it
|> doesn't find anything to remove..
|>
|> So how do I do it?
|
|
| Use rpm instead of yum:
|
| # rpm -e kernel-2.6.9-1.667 kernel-smp-2.6.9-1.667 ...
|
| Paul.
|
I also think you could try " yum remove kernel.i686* " and " yum remove
kernel-smp.i686* "


Truls

OTOH, you *will* get much better results if you put a \ in front of the asterisks.


--
Fritz Whittington
US terrorist threat warning system: Green (low) the year has magically turned back to 2000; Blue (guarded) be careful; Yellow (elevated) be anxious; Orange (high) something evil this way comes; and Red (severe) how well do you really know your spouse?


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


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

  Powered by Linux