LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-05-2009, 01:33 PM   #1
abhijeetdutta
Member
 
Registered: Aug 2009
Posts: 139

Rep: Reputation: 16
roll back of rhel server


Hi

What are the steps too roll back rhel server if we update through yum update...

regards
 
Old 11-05-2009, 01:49 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,818

Rep: Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978
Quote:
Originally Posted by abhijeetdutta View Post
Hi

What are the steps too roll back rhel server if we update through yum update...

regards
You can read the man page on up2date, and look at the rollback feature. Or you can read the RedHat knowledgebase on their website, or contact tech support. Since you're paying for RHEL, you've got those options available.
 
Old 11-05-2009, 02:00 PM   #3
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668
Quote:
Originally Posted by TB0ne View Post
You can read the man page on up2date, and look at the rollback feature. Or you can read the RedHat knowledgebase on their website, or contact tech support. Since you're paying for RHEL, you've got those options available.
He said Yum and you replied Up2date. RHEL5 and later use yum not up2date.

Also your advice was off the mark anyway. There is no defined way to roll back unless you have RedHat Satellite Server which is an extra fee.
 
Old 11-05-2009, 02:04 PM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668
As to original question:
If you don't have RedHat Satellite to roll back you'd have to have copies of the earlier packages the remove the new ones and reinstall those. This can become a bit hairy with yum as it matches dependencies so may install things you don't expect. You can do dry run with yum to see what it would install and make sure you have the earlier versions available.

You can modify the yum configuration cache setting so it saves copies of all new download (headers and rpms) but this won't save things you've already installed so you'd need to plan ahead for those.
 
Old 11-05-2009, 02:40 PM   #5
abhijeetdutta
Member
 
Registered: Aug 2009
Posts: 139

Original Poster
Rep: Reputation: 16
Thanks!!Jlightner.....this the thinks i want to know....
 
Old 11-05-2009, 02:50 PM   #6
abhijeetdutta
Member
 
Registered: Aug 2009
Posts: 139

Original Poster
Rep: Reputation: 16
any more suggestions.....
 
Old 11-05-2009, 03:33 PM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 23,818

Rep: Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978Reputation: 6978
Quote:
Originally Posted by jlightner View Post
He said Yum and you replied Up2date. RHEL5 and later use yum not up2date.
Good catch...
Quote:
Also your advice was off the mark anyway. There is no defined way to roll back unless you have RedHat Satellite Server which is an extra fee.
Well, all the OP asked was about rolling back. At that point, you have to assume the OP has knowledge of what they're asking for. Probably a dangerous assumption sometimes, though.
 
Old 11-05-2009, 05:36 PM   #8
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
It can get ugly so be careful.

Yum itself is pretty tough to do the job. You can use yummex or smartPM(my preferred choice). They are GUIs that allow you to see the older packages in the repo. They allow you to install the older packages and drag the associated dependencies with it. Be aware that rpm based distros are very tightly interdependent, which means changing one rpm CAN involve changubg (for dependencies) a hundred (or more) rpms.
 
Old 11-06-2009, 07:36 AM   #9
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668
Have you used Yummex or SmartPM on RHEL5? I see links for el5 packages for SmartPM on RHEL5 at Dag Wieers site. However, on searching for SmartPM and RHEL5 I didn't get any obvious hits.

http://dag.wieers.com/rpm/packages/smart/
 
Old 11-06-2009, 08:52 AM   #10
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
I have used Yummex on Centos5(RHEL clone) and Smart is my preferred PM on it or Fedora.
 
Old 11-06-2009, 09:11 AM   #11
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668Reputation: 1668
Right but both of those have more or less public repositories. RHEL on the other hand requires you to use channel subscriptions to get to the repositories. That's why I was asking if he had used it specifically on RHEL5.
 
Old 11-06-2009, 09:38 AM   #12
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Yummex is just a gui frontend for yum, so I am 100% sure that it will work. One does find a lot of posts around the net of people using smartpm on RHEL and as there are not any posts with problems setting it up(that I could find), I assume it is pretty much just handled(much the same as yum just handles it).
 
Old 11-06-2009, 02:43 PM   #13
abhijeetdutta
Member
 
Registered: Aug 2009
Posts: 139

Original Poster
Rep: Reputation: 16
thanks all...for giving nice reponse i let you know all people after doing mentioned stuff...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to roll back kernel? Geminias Linux - Newbie 2 09-14-2006 04:04 PM
updates and roll back imagineaxion Ubuntu 1 09-02-2006 08:31 AM
Roll back to stable ? tuxuser19 Debian 1 12-10-2005 06:59 AM
Any way to roll back? FKK Linux - Newbie 1 11-12-2005 03:44 AM
Kernel Roll Back jannino Linux - General 1 04-22-2005 11:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration