LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-20-2017, 03:18 AM   #1
mailtoani1995
LQ Newbie
 
Registered: Mar 2017
Posts: 1

Rep: Reputation: Disabled
help me


Hi,Actually i need to unistall a pathch in Linux (RHEL 5) .Can anyone help me with this by saying the command i ned to use to uninstall it and where to use it

Last edited by mailtoani1995; 03-20-2017 at 03:22 AM.
 
Old 03-20-2017, 03:34 AM   #2
hydrurga
Senior Member
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 18.3 MATE
Posts: 3,751
Blog Entries: 2

Rep: Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292Reputation: 1292
Hi, mailtoani1995, and welcome to LQ.

I hope someone may come along soon with an answer to your query, but given that RHEL is a paid commercial product, I would advise you in the first place to contact RHEL who will give you the support that you need.

Can I also advise you to provide details of which patch you are talking about, and also to give your threads more meaningful names in the future: a title such as "Uninstall patch in RHEL 5" would have been more useful.

Many thanks.
 
Old 03-20-2017, 07:26 AM   #3
bsth123
Member
 
Registered: Feb 2017
Distribution: Kubuntu, Debian, FreeBSD
Posts: 195

Rep: Reputation: Disabled
I found this with google.

Code:
Reversing patches

Last updated March 15, 2016.

You can reverse a patch if you have finished testing it, or if you want to see whether a problem 
has been introduced by a particular patch. You should also reverse a patch prior to adding a newer,
updated version of the same patch. To reverse the patch, use the patch command with the -R option:

patch -p1 -R < path/file.patch
(If your patch was applied with the -p0 option, use that instead.)

Or:

git apply -R path/file.patch

hth

Last edited by bsth123; 03-20-2017 at 07:32 AM.
 
Old 03-20-2017, 07:45 AM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 6,152
Blog Entries: 12

Rep: Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105
Hi and welcome to LQ.

If you do not have a subscription for support on RHEL5 then you should not be using it, or relying on it as a server. Note also that RHEL5 is going on extended support as of early this year, therefore right now. RHEL7 is the most recent version.

As hydrurga says, you should be contacting Redhat and you should also use better thread title when you post your next thread. While bsth123's reply may be correct, it may also be incorrect because we really have no idea what you've done to this system, how long it has been in service, if you have downloaded a trial version of RHEL and are experimenting, or if this is a production server which should have a support contract, be that current or expired. If something like an expired service contract on a true RHEL production server, then I do not recommend you tinker with it, but instead see about getting paid support and getting the correct, answer for your specific case from Redhat. Otherwise you may be risking the stability of an operational server.

Now, if instead you are experimenting with RHEL and are asking questions about it. Perhaps consider CentOS as a free alternative to RHEL.

It would be helpful if you updated your question as well as changed your thread title, you can do both of those, and advised people more details of your exact problem and why you feel you need to uninstall a patch.
 
1 members found this post helpful.
  


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



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration