reynierpm at gmail.com
2014-Nov-03 01:35 UTC
[CentOS] Conflicts updating packages, hot to get ride of them without mess up all my OS?
Apparently I install some packages in the wrong way and now I'm having some problems updating my OS. This is what I'm doing: # yum update --enablerepo=remi,remi-php5 Loaded plugins: fastestmirror, security Setting up Update Process Loading mirror speeds from cached hostfile epel/metalink 2.3 kB 00:00 * base: centos.xpg.com.br * epel: mirror.globo.com * extras: centos.xpg.com.br * remi: mirror.pw * updates: centos.ar.host-engine.com base 3.7 kB 00:00 epel 4.4 kB 00:00 epel/primary_db 6.3 MB 01:55 extras 3.3 kB 00:00 mariadb 1.9 kB 00:00 nginx 2.9 kB 00:00 pgdg92 3.7 kB 00:00 remi 2.9 kB 00:00 remi/primary_db 1.0 MB 00:06 updates 3.4 kB 00:00 Resolving Dependencies --> Running transaction check ---> Package libevent.x86_64 0:1.4.13-4.el6 will be updated --> Processing Dependency: libevent-1.4.so.2()(64bit) for package: 1:nfs-utils-1.2.3-54.el6.x86_64 ---> Package libevent.x86_64 0:2.0.19-1.rhel6 will be an update ---> Package phpMyAdmin.noarch 0:4.2.10.1-1.el6.remi will be updated ---> Package phpMyAdmin.noarch 0:4.2.11-1.el6.remi will be an update ---> Package scl-utils.x86_64 0:20120927-8.el6 will be updated ---> Package scl-utils.x86_64 0:20120927-23.el6_6 will be an update ---> Package tzdata.noarch 0:2014h-1.el6 will be updated ---> Package tzdata.noarch 0:2014i-1.el6 will be an update ---> Package tzdata-java.noarch 0:2014h-1.el6 will be updated ---> Package tzdata-java.noarch 0:2014i-1.el6 will be an update ---> Package wget.x86_64 0:1.12-5.el6 will be updated ---> Package wget.x86_64 0:1.12-5.el6_6.1 will be an update --> Running transaction check ---> Package compat-libevent14.x86_64 0:1.4.13-1.rhel6 will be installed --> Finished Dependency Resolution But I get this error: Total size: 5.5 M Is this ok [y/N]: y Downloading Packages: Running rpm_check_debug Running Transaction Test 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 Error Summary ------------- So my question is how to get ride _secure_ of this conflicts and continue updating my system as I'm do it before this? What packages should I remove and if by remove them I won't take my whole system down and mess up, any advice? Thanks
Peter
2014-Nov-03 02:40 UTC
[CentOS] Conflicts updating packages, hot to get ride of them without mess up all my OS?
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_64remi 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