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
On 11/03/2014 02:35 PM, reynierpm@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
On Sun, Nov 2, 2014 at 10:10 PM, Peter peter@pajamian.dhs.org wrote:
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
Yes I have latest PHP release 5.5.18 not present at CentOS repo so it's not possible to remove that repo since I'll need in the future for updates otherwise I'll have a lot of conflicts between versions at CentOS repo and REMI versions.
, 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".
Any other workaround that wouldn't be remove the repository?
On Mon, Nov 03, 2014 at 07:58:06AM -0430, reynierpm@gmail.com wrote:
Yes I have latest PHP release 5.5.18 not present at CentOS repo so it's not possible to remove that repo since I'll need in the future for updates otherwise I'll have a lot of conflicts between versions at CentOS repo and REMI versions.
php-5.5.18 is also available at the IUS repo which has a better reputation than Remi.
John
On Mon, Nov 3, 2014 at 8:01 AM, John R. Dennison jrd@gerdesas.com wrote:
php-5.5.18 is also available at the IUS repo which has a better reputation than Remi.
Hi John, in order to remove all packages from REMI repo and move, following your suggestion, to IUS, what should I do? Basically, though, what I have from REMI is PHP, perhaps httpd and phpMyAdmin so any chance to select only REMI dependencies and remove them?
This is what I've installed:
# rpm -qa |grep -i remi php-cli-5.5.18-1.el6.remi.x86_64 php-pdo-5.5.18-1.el6.remi.x86_64 php-mcrypt-5.5.18-1.el6.remi.x86_64 php-tcpdf-6.0.097-1.el6.remi.noarch php-pecl-jsonc-1.3.6-1.el6.remi.5.5.1.x86_64 php-pecl-memcache-3.0.8-2.el6.remi.5.5.x86_64 php-phpseclib-crypt-base-0.3.8-1.el6.remi.noarch php-recode-5.5.18-1.el6.remi.x86_64 php-process-5.5.18-1.el6.remi.x86_64 php-pear-1.9.5-3.el6.remi.noarch php-pecl-igbinary-1.2.1-1.el6.remi.5.5.x86_64 php-pgsql-5.5.18-1.el6.remi.x86_64 php-mysqlnd-5.5.18-1.el6.remi.x86_64 php-opcache-5.5.18-1.el6.remi.x86_64 php-bcmath-5.5.18-1.el6.remi.x86_64 php-common-5.5.18-1.el6.remi.x86_64 php-fpm-5.5.18-1.el6.remi.x86_64 libmemcached-last-libs-1.0.18-2.el6.remi.x86_64 php-pecl-msgpack-0.5.5-4.el6.remi.1.x86_64 php-gd-5.5.18-1.el6.remi.x86_64 php-pecl-sqlite-2.0.0-0.4.svn332053.el6.remi.5.5.x86_64 php-pecl-apcu-4.0.7-1.el6.remi.5.5.x86_64 php-channel-phpseclib-1.3-1.el6.remi.noarch php-phpseclib-crypt-aes-0.3.8-1.el6.remi.noarch php-tcpdf-dejavu-sans-fonts-6.0.097-1.el6.remi.noarch phpMyAdmin-4.2.10.1-1.el6.remi.noarch php-5.5.18-1.el6.remi.x86_64 php-pecl-zip-1.12.4-1.el6.remi.5.5.x86_64 gd-last-2.1.0-3.el6.remi.x86_64 php-pecl-mongo-1.5.7-1.el6.remi.5.5.x86_64 php-phpseclib-crypt-rijndael-0.3.8-1.el6.remi.noarch php-php-gettext-1.0.11-4.el6.remi.noarch php-soap-5.5.18-1.el6.remi.x86_64 php-xml-5.5.18-1.el6.remi.x86_64 php-pecl-memcached-2.2.0-2.el6.remi.5.5.x86_64 php-mbstring-5.5.18-1.el6.remi.x86_64 php-tidy-5.5.18-1.el6.remi.x86_64
How to remove all of them or I need to do it in one line as per example: remove -e package1 package2 and so on?
On Mon, Nov 3, 2014 at 8:35 AM, reynierpm@gmail.com reynierpm@gmail.com wrote:
On Mon, Nov 3, 2014 at 8:01 AM, John R. Dennison jrd@gerdesas.com wrote:
php-5.5.18 is also available at the IUS repo which has a better reputation than Remi.
Hi John, in order to remove all packages from REMI repo and move, following your suggestion, to IUS, what should I do? Basically, though, what I have from REMI is PHP, perhaps httpd and phpMyAdmin so any chance to select only REMI dependencies and remove them?