View Full Version : how can i upgrade Fed 12 kernel- to kernel- only?

26th July 2010, 10:56 AM
if i use yum update option it upgrades to latest kernel but i only want to upgrade to kernel-

regards saad

26th July 2010, 10:59 AM
Would yum install work better in this situation?
su -c 'yum install kernel-x.x.x-x'

26th July 2010, 03:13 PM
thanks Glenn for your time, but

Loaded plugins: presto, refresh-packagekit
fedora/metalink | 12 kB 00:00
fedora | 4.2 kB 00:00
fedora/primary_db | 9.7 MB 02:20
updates/metalink | 8.5 kB 00:00
updates | 4.5 kB 00:00
updates/primary_db | 4.7 MB 00:50
Setting up Install Process
No package kernel- available.
Nothing to do

it didnt find that specific kernel, so problem remains there.

regards Saad

26th July 2010, 07:02 PM
1) manually download the kernel desired (there are three kernels for FC12 so you have decide which one you need/want)
2) use rpm to install it
3) edit /etc/yum.conf and add the line:


That will keep it at the version desired.


26th July 2010, 07:24 PM
You can find/download the specific kernel you want from this (http://koji.fedoraproject.org/koji/buildinfo?buildID=142413) koji build server page. Packages from koji are not yet signed, so need to installed with the appropriate command line options. Examples:

For rpm:
# rpm -Uvh --nosignature kernel-
For yum:
# yum --nogpgcheck localinstall kernel-

Of course, as already pointed out, pick the kernel version/flavor/arch that's correct for your system. And, in case you also have either/or kernel-headers and kernel-devel installed, in the /etc/yum.conf file, make that: exclude=kernel*

27th July 2010, 08:51 AM
And, in case you also have either/or kernel-headers and kernel-devel installed, in the /etc/yum.conf file, make that: exclude=kernel*

sorry but what does that mean??

and problem is that i have to install nctuns-6.0 which only works on fedora 12 kernel- and i certainly have no idea if this kernel version has got variants to choose from.

anyone in this forum who has installed nctuns 6.0 on fedora 12??:confused:

27th July 2010, 09:51 AM
Have you managed to get the kernel version you want? If not here's what to do. Open a terminal and log in as root
su -
Get the kernel rpm.
wget http://kojipkgs.fedoraproject.org/packages/kernel/
This is from the link that PabloTwo provided (koji). Now follow his instructions for installing the kernel and remember that he's mentioned "the version you want". That means that you need to make sure you want If you want a slightly different kernel change my wget command to reflect your needs.

Edit: What is nctuns ?

27th July 2010, 08:57 PM
sorry but what does that mean??
Are you asking that about the whole line (exclude=kernel*), or my addition of the asterisk (*) to that line as it was suggested, and explained, to you in post #4 of this thread by SiliconSlick?

Adding that line to your /etc/yum.conf file will prevent yum from updating the kernel package. The asterisk (glob, or wildcard) will match anything...i.e. kernel, kernel-headers, kernel-devel.

17th August 2010, 02:32 PM
thank you all for your time and help!