How to roll back to an earlier version?

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
thedust2010
Forum User
Forum User
Posts: 13
Joined: Mon Aug 04, 2008 1:00 pm

How to roll back to an earlier version?

Unread post by thedust2010 »

We installed psa-atmail 1.03 to take care of an IE bug only to find that 1.03 is completely riddled with bugs. We would like to roll back to 1.02. Is such a thing possible? I am thinking it's a little tough to do without removing it entirely and reinstalling, am I right? Any help is appreciated. Thanks in advance.
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4155
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: How to roll back to an earlier version?

Unread post by mikeshinn »

With rpms, theres two ways to do it. The brute force way:

rpm -Uvh --oldpackage name-of-old.rpm

The surgeon way:

rpm -Uvh --repackage new-package-you-dont-want.rpm

rpm -e --repackage foo

rpm -Uvh --rollback '16 hours ago'

Heres a good article explaining this concept:

http://www.linuxjournal.com/article/7034
bsk1n
New Forum User
New Forum User
Posts: 2
Joined: Mon Sep 14, 2009 9:51 pm

Re: How to roll back to an earlier version?

Unread post by bsk1n »

yum remove psa-atmail-1.03-2.el5.art

Then login to Plesk go to the Plesk Updater and install the atmail component again. It will install the standard Plesk version:

psa-atmail-1.02-cos5.build92090714.19
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: How to roll back to an earlier version?

Unread post by scott »

rpm -Uvh --oldpackage <packagename>
Post Reply