Specify version in yum update | Unix Linux Forums | Red Hat

  Go Back    


Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

Specify version in yum update

Red Hat


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-08-2013
adam25ca adam25ca is offline
Registered User
 
Join Date: Oct 2011
Last Activity: 9 January 2013, 9:22 AM EST
Posts: 9
Thanks: 3
Thanked 1 Time in 1 Post
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
Sponsored Links
    #2  
Old 01-08-2013
DGPickett DGPickett is offline Forum Advisor  
Registered User
 
Join Date: Oct 2010
Last Activity: 4 April 2014, 4:57 PM EDT
Location: Southern NJ, USA (Nord)
Posts: 4,359
Thanks: 8
Thanked 534 Times in 513 Posts
update then downgrade? yum(8): Yellowdog Updater Modified - Linux man page
The Following User Says Thank You to DGPickett For This Useful Post:
adam25ca (01-09-2013)
Sponsored Links
    #3  
Old 01-09-2013
adam25ca adam25ca is offline
Registered User
 
Join Date: Oct 2011
Last Activity: 9 January 2013, 9:22 AM EST
Posts: 9
Thanks: 3
Thanked 1 Time in 1 Post
did not work

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
    #4  
Old 01-10-2013
DGPickett DGPickett is offline Forum Advisor  
Registered User
 
Join Date: Oct 2010
Last Activity: 4 April 2014, 4:57 PM EDT
Location: Southern NJ, USA (Nord)
Posts: 4,359
Thanks: 8
Thanked 534 Times in 513 Posts
I think you have to identify the full package name to yum.
Sponsored Links
    #5  
Old 01-10-2013
fpmurphy's Avatar
fpmurphy fpmurphy is offline Forum Staff  
who?
 
Join Date: Dec 2003
Last Activity: 18 April 2014, 4:35 PM EDT
Location: /dev/ph
Posts: 4,712
Thanks: 54
Thanked 411 Times in 382 Posts
Assuming you have the release gpg key:

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

Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Yum update using expect meor Shell Programming and Scripting 2 11-07-2012 07:37 PM
Downgrade kernel version with yum Hannibal2010 Red Hat 4 07-25-2011 09:45 AM
Yum Update and Kernels lforum Red Hat 1 09-04-2010 09:50 AM
Centos commands: Yum Upgrade versus Yum update mojoman UNIX for Dummies Questions & Answers 3 01-28-2010 11:21 AM
Yum Update praneel2k Red Hat 2 05-26-2009 07:25 AM



All times are GMT -4. The time now is 10:03 PM.