[mdlug] Package update question
Raymond McLaughlin
driveray at ameritech.net
Tue Nov 18 15:13:05 EST 2008
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
More information about the mdlug
mailing list