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 - 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 06-29-2011, 03:55 AM   #1
mgloc
LQ Newbie
 
Registered: Jun 2011
Location: Ulm, Germany
Distribution: RHEL6, Fedora15, Ubuntu 10.04
Posts: 4

Rep: Reputation: Disabled
rhel rpm rollback


Hi,

I'm completly new to linux, so please bare with me

At work I'm using a type of RHEL server distro, a bit customized for my company. We need some solution to rollback updates on it if necessary.

I googled the problem a bit, and saw there is rpm --rollback which sounds like exactly what I need. Problem is, on my system rpm doesn't recognize this rollback option. RPM version 4.8.0. Some website mentioned it redhat removed it in it's distro to make users use up2date. On my system up2date command is not recognized at all, and I don't see it available in repos.

Yum seems to work fine. It can even undo package installation with it's dependencies. However, it always fails to undo package update. If I understand correctly its because it doesn't have the older version of the package, but I don't know how to update and keep backup of the old package.

Any hints how to solve this?

I was thinking maybe I could install rpm from somewhere else, a version that has rollback working. Not sure where to find a suitable package tho. Or somehow install up2date.

Any and all help much appreciated.
 
Old 06-29-2011, 08:47 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Which distro & version exactly:
Code:
cat /etc/*release*
FYI, RHEL 4.x used up2date, RHEL 5.x uses yum (& RHEL 6?)
http://kbase.redhat.com/faq/docs/DOC-2531
 
Old 06-30-2011, 01:08 AM   #3
mgloc
LQ Newbie
 
Registered: Jun 2011
Location: Ulm, Germany
Distribution: RHEL6, Fedora15, Ubuntu 10.04
Posts: 4

Original Poster
Rep: Reputation: Disabled
Looks like I'm using Red Hat Enterprise Linux Server release 6.0 (Santiago)
 
  


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
Best way to rollback software in rpm? exceed1 Linux - Software 2 05-22-2010 09:25 AM
how to do rollback with the same package name using RPM amit_pansuria General 2 05-28-2008 01:08 PM
LXer: RPM Rollback in Fedora Core 4/5 LXer Syndicated Linux News 0 01-22-2006 10:16 PM
Rollback of gcc failed and rpm is not working syavne Fedora 2 12-01-2005 05:52 AM
RPM Rollback (Patch installation) adme Linux - General 3 04-15-2003 03:27 PM

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

All times are GMT -5. The time now is 11:16 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