Re: Removing old kernels with yum?

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

 



-----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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFCl4R5ickK29LSyG8RAh/jAJ9dOrXr+w13VpW53DFRMZ1VrHuFFgCfd81a
n43ri92F7UotPmb9t3OSW5A=
=DJN3
-----END PGP SIGNATURE-----
begin:vcard
fn:Truls Gulbrandsen
n:Gulbrandsen;Truls
org:Oslo Philharmonic Orchestra
adr:;;;Oslo;;;Norway
email;internet:trulsg@xxxxxxxxxxxx
tel;cell:+47 928 24 434
x-mozilla-html:FALSE
url:http://www.oslophil.com
version:2.1
end:vcard


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

  Powered by Linux