[CentOS] Conflicts updating packages, hot to get ride of them without mess up all my OS?

Mon Nov 3 02:40:22 UTC 2014
Peter <peter at pajamian.dhs.org>

On 11/03/2014 02:35 PM, reynierpm at gmail.com wrote:
> Transaction Check Error:
>   file /usr/lib64/libevent-2.0.so.5 from install of
> libevent-2.0.19-1.rhel6.x86_64 conflicts with file from package
> libevent-last-2.0.21-4.el6.remi.x86_64
>   file /usr/lib64/libevent_core-2.0.so.5 from install of
> libevent-2.0.19-1.rhel6.x86_64 conflicts with file from package
> libevent-last-2.0.21-4.el6.remi.x86_64
>   file /usr/lib64/libevent_extra-2.0.so.5 from install of
> libevent-2.0.19-1.rhel6.x86_64 conflicts with file from package
> libevent-last-2.0.21-4.el6.remi.x86_64

remi is known to mess things up like that if you don't install it
properly.  First thing I would do is "yum remove remi-release" unless
you have something you specifically need the remi repo for, then I would
try this:

yum shell
remove libevent-last
install libevent
run

Pay particular attention to make sure it isn't removing a bunch of extra
packages on your system, it should just remove libevent-last and replace
it with libevent, if it tries to do more then don't accept the changes,
report back here instead.

When that's done you should be able to issue a "yum update".


Peter