The dash is included, but the <angle brackets> are not. Before you try removing the package, you can check if it's installed by typing 'rpm -q kernel-<new_kernel_version_number>'. The following example from my computer might give you some idea of how this works:
[me@mycomp ~]$ rpm -q kernel
kernel-2.6.9-1.667
kernel-2.6.10-1.737_FC3
[me@mycomp ~]$ rpm -q kernel-2.6.9-1.667
kernel-2.6.9-1.667
[me@mycomp ~]$ rpm -q kernel-2.6.10-1.737
package kernel-2.6.10-1.737 is not installed
[me@mycomp ~]$ rpm -q kernel-2.6.10-1.737_FC3
kernel-2.6.10-1.737_FC3
[me@mycomp ~]$ rpm -q kernel-2.6.14
package kernel-2.6.14 is not installed
The upshot is, if you type 'rpm -q kernel' it should tell you all the kernels you have installed. If you then type 'yum remove kernel-package' where kernel-package is the name of the kernel you wish to remove (exactly in the form returned by rpm -q) then it should uninstall for you fairly simply.
|