Operating System - Linux
1748181 Members
3367 Online
108759 Solutions
New Discussion юеВ

Re: Regarding downgrade package

 
SOLVED
Go to solution
Minoru Asano
Frequent Advisor

Regarding downgrade package

Hello,

A customer would like to downgrade kernel package to old one.

[ENVIRONMENT]
RHEL AS 4 update4

[SITUATION]
He has some trouble, so he has a plan to downgrade kernel package
and related package.

[QUESTION]
- Could you tell me how to downgrade kernel package ?
Is there any special method to downgrade kernel package ?
He has a plan to delete kernel package by using rpm -e command, and install old package simply.


To make sure, I attach the package list which is already installed, and downgrade list.

Thank you for advice.
Best Regards.
/Minoru
3 REPLIES 3
Stuart Browne
Honored Contributor
Solution

Re: Regarding downgrade package

Don't remove the running kernel's package. This will cause you grief.

Install the older package, modify '/boot/grub/grub.conf' and change the 'devault=' line to point to the appropriate kernel instance (0-counted from the top).

Reboot.
One long-haired git at your service...
dirk dierickx
Honored Contributor

Re: Regarding downgrade package

well, afaik, by default the older kernels do not get deleted, so they are still there. you can check which are installed by simply doing 'ls /boot'.

then when rebooting the machine grub will allow you to pick one of the previous kernels as well.
Stuart Browne
Honored Contributor

Re: Regarding downgrade package

This is true.

rpm -q kernel{,-smp}

will also show you all kernel & SMP kernel's currently installed..
One long-haired git at your service...