urig
urig

Reputation: 16831

How to rollback an RPM to an older version?

What is the most efficient approach, when using RPM (RedHat Package Manager), to be able to "roll back" from a new version to an old version?

Ex: On Monday I install v1.7 of my RPM. On Tuesday I upgrade to v1.8 of the same RPM. On Wednesday I discover a problem with v1.8 and would like to go back to v1.7.

What's the best strategy to do that?

An obvious solution is to keep copies of both package versions on the machine somewhere and do this by uninstalling v1.8 and installing 1.7.

Might there be a better way of doing this? Might RPM have some better, built-in, way of managing the version archives?

Upvotes: 1

Views: 5935

Answers (1)

c4f4t0r
c4f4t0r

Reputation: 1641

If you are using yum, you can use this how-to http://www.indiangnu.org/2011/yum-rollback-and-repackage/

Upvotes: 1

Related Questions