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 -- ------------------------------------------------------------------------ *?????? ????? - Gatsis Nikos* Web developer tel.: 2108256721 - 2108256722 fax: 2108256712 email: ngatsis at qbit.gr http://www.qbit.gr
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 advanceThe 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-0004.sig>
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. -- mount -t life -o ro /dev/dna /genetic/research
Thank you all for answering Finally I exclude php-pear for updating. Leonard you are right, for some reason rpm forge has install some packs for pear. I'll leave it as is, I cant afford causing problems. We have a lot of web pages and databases running so we cant take any risk. Thank you again On 09/03/2012 7:00 ??, centos-request at centos.org wrote:> 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.-- ------------------------------------------------------------------------ *?????? ????? - Gatsis Nikos* Web developer tel.: 2108256721 - 2108256722 fax: 2108256712 email: ngatsis at qbit.gr http://www.qbit.gr