Operating System - Linux
1753797 Members
7214 Online
108799 Solutions
New Discussion юеВ

Linux kernel upgradation problem

 
Asim_5
Frequent Advisor

Linux kernel upgradation problem

i have a linux 4 AS(Linux dhcppc10 2.6.9-5.EL)
i am feeling problems while updating kernel.
my current kernel version is (kernel-2.6.9-5.EL).
i want to upgrade it to kernel-2.6.9-67.EL.x86_64.rpm.
when i run this rpm i got some dependies issue in /boot file regarding mkinitrd with same version to be installed.as i have another file with .img in /boot.

when i install this i got another dependies error
i.e

Preparing... ########################################### [100%]
file /sbin/grubby from install of mkinitrd-4.2.1.6-1_BB1 conflicts with
file from package mkinitrd-4.1.18-2
file /sbin/mkinitrd from install of mkinitrd-4.2.1.6-1_BB1 conflicts with file from package mkinitrd-4.1.18-2
file /sbin/nash from install of mkinitrd-4.2.1.6-1_BB1 conflicts with file from package mkinitrd-4.1.18-2
file /sbin/new-kernel-pkg from install of mkinitrd-4.2.1.6-1_BB1 conflict.


why its giving error on boot loader mkinitrd in /boot

kindly help me in this issue to install kernel upgrade.
4 REPLIES 4
Ivan Ferreira
Honored Contributor

Re: Linux kernel upgradation problem

The problem probably is that you are running rpm -ivh for all packages.

Upgrade first your dependencies, for example:

rpm -Uvh mknitrd*rpm

After that, install the new kernel package:

rpm -ivh kernel*rpm
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Asim_5
Frequent Advisor

Re: Linux kernel upgradation problem

when i upgrade by using the command u have mentined i still got other dependencies problem.
i am attaching my console output,may be u find any clue to problem.
really apprecitae ur co-operation
Ivan Kuznetsov
Frequent Advisor

Re: Linux kernel upgradation problem

Hello

You need to install mkinitrd-*.x86_64.rpm, not source RPM (mkinitrd-*.src.rpm)

rpm -Uvh mkinitrd-4.2.1.6-1.x86_64.rpm

WBR, Ivan Kuznetsov
skt_skt
Honored Contributor

Re: Linux kernel upgradation problem

make sure you are having a 64 bit kernel
Linux hostname 2.6.9-55.ELsmp #1 SMP Fri Apr 20 16:36:54 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

# getconf LONG_BIT
64

befor installing the new kernel(-ivh) [installing the kernel helps to roll back to the previous kernel if required by updating the grub.conf file] update/upgrade all other packages/errdata applicable to the system.

Did u remember about the kernel-utils packge which also need to be upgarded)(-Uvh). My observation is util should beofore the kernel.


keep us posted..