[mdlug] Package update question

Wojtak, Greg GregWojtak at quickenloans.com
Tue Nov 18 15:35:28 EST 2008


I concur.  Although rpm has a rollback functionality, though I have
never tested it, I have not heard [m]any success stories in using it.

-----Original Message-----
From: mdlug-bounces at mdlug.org [mailto:mdlug-bounces at mdlug.org] On Behalf
Of Raymond McLaughlin
Sent: Tuesday, November 18, 2008 3:13 PM
To: MDLUG's Main discussion list
Subject: Re: [mdlug] Package update question

Michael ORourke wrote:
> Lug nuts,
> 
> This question came up the other day and I was wondering
> if you guys had any solutions to this scenario...
> Lets say you have a pair of servers which are used for
> development and production.  Both servers are running the
> same versions of all the installed packages and are running
> fine.  Then you do an update via yum on the development
> server, before updating the production server, but find
> out that one of the updates breaks an application. 
> Assuming that you have identified the package that is
> causing the problem, how do you backout just that one
> package?  Or would you have to uninstall the broken package
> then reinstall the old version manually?  Of course, you
> could check which version of the package the production
> server is running, so you know which one to reinstall.
> 
> -Mike

I would not bother with uninstalling the application. If yum here is a 
front end to rpm I would obtain an rpm of an earlier, preferably 
desired, version and do:
   $ rpm -ivh --force package.xx.yy.zz.rpm
to force installation of the old version.

This what I have done a time or two, and it has worked. YMMV.

Raymond McLaughlin
_______________________________________________
mdlug mailing list
mdlug at mdlug.org
http://mdlug.org/mailman/listinfo/mdlug



More information about the mdlug mailing list