Specify version in yum update

Hello All,

I am trying to upgrade redhat from 5.6 to 5.8.
When i use
Code:
yum update -y
it installs 5.9
I dont want 5.9, instead i would like to upgrade to 5.8
is there anyway to specify a version when you are doing
Code:
yum update

update then downgrade? yum(8): Yellowdog Updater Modified - Linux man page

1 Like

Thank you for your help.
it did not work, i tried to yum downgrade 5.8.0.3 and i have received

This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Downgrade Process
No package 5.8.0.3 available.
Nothing to do

is there anyway during yum update i can specify the version?
Thanks

I think you have to identify the full package name to yum.

Assuming you have the release gpg key:

init 3
yum update yum
yum clean all
yum --releasever=<release_number_you_want_to_sync_to> distro-sync