[CentOS] php-pear problem on yum update

Fri Mar 9 11:37:15 UTC 2012
Johnny Hughes <johnny at centos.org>

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.

EPEL:
http://fedoraproject.org/wiki/EPEL


 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20120309/e5020207/attachment-0005.sig>