PDA

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


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

regards saad

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

comsian
26th July 2010, 04: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-2.6.31.6 available.
Nothing to do

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

regards Saad

SiliconSlick
26th July 2010, 08:02 PM
1) manually download the kernel desired (there are three 2.6.31.6 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:

exclude=kernel

That will keep it at the version desired.

SS

PabloTwo
26th July 2010, 08: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-2.6.31.6-145.fc12.i686.rpm
For yum:
# yum --nogpgcheck localinstall kernel-2.6.31.6-145.fc12.i686.rpm

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*

comsian
27th July 2010, 09: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-2.6.31.6 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:

glennzo
27th July 2010, 10: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 -
<password>
Get the kernel rpm.
wget http://kojipkgs.fedoraproject.org/packages/kernel/2.6.31.6/145.fc12/i686/kernel-2.6.31.6-145.fc12.i686.rpm
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 2.6.31.6-146.fc12.rpm. If you want a slightly different kernel change my wget command to reflect your needs.

Edit: What is nctuns ?

PabloTwo
27th July 2010, 09: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.

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

Yaroslavskiy Photos - Taipei Travel Photos - Bismil Instagram Photos