Hello list I have centos-release-5-7.el5.centos and today I noticed that there are some updates with yum.
I try to update but something hapend with php-pear:
file /usr/share/pear/.channels/__uri.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from pa ckage php-pear-ole-0.5-2.el5.rf.noarch file /usr/share/pear/.channels/pear.php.net.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pear-ole-0.5-2.el5.rf.noarch file /usr/share/pear/.channels/pecl.php.net.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pear-ole-0.5-2.el5.rf.noarch file /usr/share/pear/.depdb from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pea r-ole-0.5-2.el5.rf.noarch file /usr/share/pear/.channels/__uri.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from pa ckage php-pear-excel-0.9.0-1.el5.rf.noarch file /usr/share/pear/.channels/pear.php.net.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pear-excel-0.9.0-1.el5.rf.noarch file /usr/share/pear/.channels/pecl.php.net.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pear-excel-0.9.0-1.el5.rf.noarch file /usr/share/pear/.depdb from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pea r-excel-0.9.0-1.el5.rf.noarch file /usr/share/pear/.channels/__uri.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from pa ckage php-pear-log-1.9.3-1.el5.rf.noarch file /usr/share/pear/.channels/pear.php.net.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pear-log-1.9.3-1.el5.rf.noarch file /usr/share/pear/.channels/pecl.php.net.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pear-log-1.9.3-1.el5.rf.noarch file /usr/share/pear/.depdb from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pea r-log-1.9.3-1.el5.rf.noarch file /usr/share/pear/.channels/__uri.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from pa ckage php-pear-mail_mime-1.3.1-1.el5.rf.noarch file /usr/share/pear/.channels/pear.php.net.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pear-mail_mime-1.3.1-1.el5.rf.noarch file /usr/share/pear/.channels/pecl.php.net.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pear-mail_mime-1.3.1-1.el5.rf.noarch file /usr/share/pear/.depdb from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pea r-mail_mime-1.3.1-1.el5.rf.noarch
I have never Install a package out of yum so this conflict is very strange to me. I try to clean up yum, and update with --skip-broken with no luck.
Is good to install php packages excluding php-pear? Actually I dont use it.
Can somebody advice me?
Thank you in advance
Hi Nikos you say, you don't use php-pear. Just remove it.
yum remove php-pear yum upgrade
suomi
On 03/09/2012 10:16 AM, Nikos Gatsis - Qbit wrote:
Hello list I have centos-release-5-7.el5.centos and today I noticed that there are some updates with yum.
I try to update but something hapend with php-pear:
file /usr/share/pear/.channels/__uri.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from pa ckage php-pear-ole-0.5-2.el5.rf.noarch file /usr/share/pear/.channels/pear.php.net.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pear-ole-0.5-2.el5.rf.noarch file /usr/share/pear/.channels/pecl.php.net.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pear-ole-0.5-2.el5.rf.noarch file /usr/share/pear/.depdb from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pea r-ole-0.5-2.el5.rf.noarch file /usr/share/pear/.channels/__uri.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from pa ckage php-pear-excel-0.9.0-1.el5.rf.noarch file /usr/share/pear/.channels/pear.php.net.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pear-excel-0.9.0-1.el5.rf.noarch file /usr/share/pear/.channels/pecl.php.net.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pear-excel-0.9.0-1.el5.rf.noarch file /usr/share/pear/.depdb from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pea r-excel-0.9.0-1.el5.rf.noarch file /usr/share/pear/.channels/__uri.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from pa ckage php-pear-log-1.9.3-1.el5.rf.noarch file /usr/share/pear/.channels/pear.php.net.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pear-log-1.9.3-1.el5.rf.noarch file /usr/share/pear/.channels/pecl.php.net.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pear-log-1.9.3-1.el5.rf.noarch file /usr/share/pear/.depdb from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pea r-log-1.9.3-1.el5.rf.noarch file /usr/share/pear/.channels/__uri.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from pa ckage php-pear-mail_mime-1.3.1-1.el5.rf.noarch file /usr/share/pear/.channels/pear.php.net.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pear-mail_mime-1.3.1-1.el5.rf.noarch file /usr/share/pear/.channels/pecl.php.net.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pear-mail_mime-1.3.1-1.el5.rf.noarch file /usr/share/pear/.depdb from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pea r-mail_mime-1.3.1-1.el5.rf.noarch
I have never Install a package out of yum so this conflict is very strange to me. I try to clean up yum, and update with --skip-broken with no luck.
Is good to install php packages excluding php-pear? Actually I dont use it.
Can somebody advice me?
Thank you in advance
On 03/09/2012 03:16 AM, Nikos Gatsis - Qbit wrote:
Hello list I have centos-release-5-7.el5.centos and today I noticed that there are some updates with yum.
I try to update but something hapend with php-pear:
file /usr/share/pear/.channels/__uri.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from pa ckage php-pear-ole-0.5-2.el5.rf.noarch file /usr/share/pear/.channels/pear.php.net.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pear-ole-0.5-2.el5.rf.noarch file /usr/share/pear/.channels/pecl.php.net.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pear-ole-0.5-2.el5.rf.noarch file /usr/share/pear/.depdb from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pea r-ole-0.5-2.el5.rf.noarch file /usr/share/pear/.channels/__uri.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from pa ckage php-pear-excel-0.9.0-1.el5.rf.noarch file /usr/share/pear/.channels/pear.php.net.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pear-excel-0.9.0-1.el5.rf.noarch file /usr/share/pear/.channels/pecl.php.net.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pear-excel-0.9.0-1.el5.rf.noarch file /usr/share/pear/.depdb from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pea r-excel-0.9.0-1.el5.rf.noarch file /usr/share/pear/.channels/__uri.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from pa ckage php-pear-log-1.9.3-1.el5.rf.noarch file /usr/share/pear/.channels/pear.php.net.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pear-log-1.9.3-1.el5.rf.noarch file /usr/share/pear/.channels/pecl.php.net.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pear-log-1.9.3-1.el5.rf.noarch file /usr/share/pear/.depdb from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pea r-log-1.9.3-1.el5.rf.noarch file /usr/share/pear/.channels/__uri.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from pa ckage php-pear-mail_mime-1.3.1-1.el5.rf.noarch file /usr/share/pear/.channels/pear.php.net.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pear-mail_mime-1.3.1-1.el5.rf.noarch file /usr/share/pear/.channels/pecl.php.net.reg from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pear-mail_mime-1.3.1-1.el5.rf.noarch file /usr/share/pear/.depdb from install of php-pear-1.4.9-8.el5.noarch conflicts with file from package php-pea r-mail_mime-1.3.1-1.el5.rf.noarch
I have never Install a package out of yum so this conflict is very strange to me. I try to clean up yum, and update with --skip-broken with no luck.
Is good to install php packages excluding php-pear? Actually I dont use it.
Can somebody advice me?
Thank you in advance
The issue you are having is that several php-pear-*.rf packages installed that are conflicting with the base CentOS php-pear rpm.
The ".rf" designator means that the conflicting php-pear-* packages in question are from the repoforge/rpmforge 3rd part repository.
If you do not need those packages then remove them.
If you do need them, I would look for those packages on EPEL, as the php-pear-* packages there do not conflict with the main php-pear package from CentOS.
Hello Nikos,
On Fri, 2012-03-09 at 11:16 +0200, Nikos Gatsis - Qbit wrote:
I have never Install a package out of yum so this conflict is very strange to me.
I try to clean up yum, and update with --skip-broken with no luck.
The .rf packages come from the Repoforge (formerly RPMForge) repo. The conflict you see is caused by similar packages being provided by multiple repos. You can only fix that by excluding them from all but one repo.
Is good to install php packages excluding php-pear? Actually I dont use it.
The fact that you have so many PEAR packages on your system suggest someone on your system might be using them. Don't blow them away unless you want to break existing PHP websites that use them.
All that said, for me the easiest approach managing PEAR packages is just using PEAR itself to install and update modules. Install the php-pear rpm once, then exclude it from the updates in your base repo config.
(If you take this approach yourself make a list of the installed pear module rpms before you uninstall them with yum. After uninstalling the rpms you have to reinstall the modules using "pear install".)
Regards, Leonard.