LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 09-19-2005, 12:00 PM   #1
erinlang101
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Rep: Reputation: 0
how to rollback


Hello,

I have a little experience with Red Hat. I have a question about rollback.

I have hunted high and low but am unable to find any guide or such on how to use the rpm rollback feature in up2date. Many talk about using it but none never explain how. Such as what is the command I type to use it?

What do i type at the prompt to invoke it?

I have Red Hat ES 4 running on 2 servers. There are a few updates i need to do and they involve httpd. We have live apps running on theses servers using the httpd, and i want to make certain that if any thing goes wrong after update I can rollback to previous rpm setup.

Can anyone point me in right direction?

I searched Red Hat site but no mention of how to use rollback.

Any help much appreciated.
 
Old 09-19-2005, 06:44 PM   #2
jillande
Member
 
Registered: Oct 2003
Location: fargoh eh.
Distribution: slackware
Posts: 94

Rep: Reputation: 15
i think to do rollbacks, you use up2date --undo. not sure, i've never done it. whenever updates go amok, i uninstall the rpms with --nodeps and then reinstall.

i do believe that in order for rollbacks to work, you must enable them in /etc/sysconfig/rhn/up2date. i.e. enableRollbacks=1.
 
Old 09-20-2005, 09:31 AM   #3
erinlang101
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Original Poster
Rep: Reputation: 0
Rollback

Thanks for reply....

I was able to find out that the --undo commands is one of the commands you can issue if the job your are trying to reverse was the one you just did.

I did finally find somthing that does a descent job of explaining use of the rollback feature. It suprises me that there is not alot of mention about this nice feature. I remember how painful it could be to have to do all this yourself. With this feature can make it much easier.

Anyway if anyone else needs info on it here is link i found on linux journal for it. Enjoy

http://www.linuxjournal.com/node/7034/print
 
  


Reply



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
urpmi rollback? Blackhawkckc Mandriva 11 03-15-2005 03:45 PM
Rollback Kernel? mrurmil Fedora 2 01-26-2005 09:44 AM
rollback actions DriveMeCrazy AIX 6 05-16-2004 05:16 AM
How to rollback versions coop Linux - Newbie 0 09-21-2003 10:35 PM
Update2 Rollback monte Linux - Newbie 1 05-18-2003 08:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 09:33 PM.

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