[CentOS] Error install php-pear-db

Tue Jan 15 15:59:22 UTC 2008
Craig White <craig at tobyhouse.com>

On Mon, 2008-01-14 at 17:48 -0400, Jhamil Mercado wrote:
> I have a Centos 5.1  server that I need to install some pear modules
> php-pear y php-pear-db, i have this error:
> 
> 
> =============================================================================
>  Package                 Arch       Version          Repository        Size
> =============================================================================
> Installing:
>  php-pear                noarch     1:1.4.9-4        base              355 k
>  php-pear-db             noarch     1.7.13-1.el5.rf  dag               147 k
> 
> Transaction Summary
> =============================================================================
> Install      2 Package(s)
> Update       0 Package(s)
> Remove       0 Package(s)
> 
> Total download size: 502 k
> Is this ok [y/N]: y
> Downloading Packages:
> Running Transaction Test
> Finished Transaction Test
> 
> 
> Transaction Check Error:
>  file /usr/share/pear/.channels/__uri.reg conflicts between attempted
> installs of php-pear-1.4.9-4 and php-pear-db-1.7.13-1.el5.rf
>  file /usr/share/pear/.channels/pear.php.net.reg conflicts between
> attempted installs of php-pear-1.4.9-4 and php-pear-db-1.7.13-1.el5.rf
>  file /usr/share/pear/.channels/pecl.php.net.reg conflicts between
> attempted installs of php-pear-1.4.9-4 and php-pear-db-1.7.13-1.el5.rf
>  file /usr/share/pear/.depdb conflicts between attempted installs of
> php-pear-1.4.9-4 and php-pear-db-1.7.13-1.el5.rf
> 
> Error Summary
> 
> 
> 
> howto i resolv this problem?
----
yum-priorities solved the problem for me. It is probably less than an
ideal solution but it works.

yum install yum-priorities

Give CentOS repos a higher priority than rf repo

Craig