Hi Folks,
I have some users who have a 64-bit CentOS 4.x install (current), which was installed with @Everything and then some annoying packages strategically removed (mrtg, pegasus*, mailman...) and they have decided they have a need for php5.
I find on the web this instruction for doing this:
http://www.centos.org/centos/4/centosplus/Readme.txt
So I try to do this, and I get:
# rpm -e php-domxml # yum --enablerepo=centosplus upgrade php* [...] --> Processing Dependency: php = 4.3.9-3.22.9 for package: php-pear --> Finished Dependency Resolution Error: Missing Dependency: php = 4.3.9-3.22.9 is needed by package php-pear
So I try to remove this blocking package:
# rpm -e php-pear error: Failed dependencies: php-pear is needed by (installed) php-4.3.9-3.22.9.x86_64
I try to get cute:
# rpm -e --force php-pear rpm: only installation, upgrading, rmsource and rmspec may be forced
(Heh.)
So I can't be the first person to go down this road. Can anyone provide a hint as to how to get out of the hole I've dug for myself?
Thanks for your time.
On 9/24/07, David Mackintosh David.Mackintosh@xdroop.com wrote:
So I can't be the first person to go down this road. Can anyone provide a hint as to how to get out of the hole I've dug for myself?
Thanks for your time.
In theory 'yum --enablerepo centosplus install php php-pear' should work.
You can also do 'rpm -e --nodeps php-pear' although if you're going this route, I'd remove all the php bits and install fresh.
On Mon, Sep 24, 2007 at 01:25:21PM -0400, David Mackintosh wrote:
I have some users who have a 64-bit CentOS 4.x install (current), which was installed with @Everything and then some annoying packages strategically removed (mrtg, pegasus*, mailman...) and they have decided they have a need for php5.
So I browsed back through the previous day's CentOS list traffic, and I find an email that sounds suspiciously close to my problem, with advice to check out
http://wiki.centos.org/Repositories/CentOSPlus/CentOSWebStack
So I have followed those recommendations about the yum-priorities-plugin and now I'm in a deeper hole than I was when I started:
--> Finished Dependency Resolution Error: Missing Dependency: php = 4.3.9-3.22.9 is needed by package php-pear Error: Missing Dependency: perl(:MODULE_COMPAT_5.8.8) is needed by package perl-DBD-Pg Error: Missing Dependency: perl(:MODULE_COMPAT_5.8.8) is needed by package perl-DBD-MySQL
If anyone has any advice about either situation I'd appreciate it but I may have to resort to uninstalling everything and starting again.
On 9/24/07, David Mackintosh David.Mackintosh@xdroop.com wrote:
On Mon, Sep 24, 2007 at 01:25:21PM -0400, David Mackintosh wrote:
I have some users who have a 64-bit CentOS 4.x install (current), which was installed with @Everything and then some annoying packages strategically removed (mrtg, pegasus*, mailman...) and they have decided they have a need for php5.
So I browsed back through the previous day's CentOS list traffic, and I find an email that sounds suspiciously close to my problem, with advice to check out
http://wiki.centos.org/Repositories/CentOSPlus/CentOSWebStack
So I have followed those recommendations about the yum-priorities-plugin and now I'm in a deeper hole than I was when I started:
--> Finished Dependency Resolution Error: Missing Dependency: php = 4.3.9-3.22.9 is needed by package php-pear Error: Missing Dependency: perl(:MODULE_COMPAT_5.8.8) is needed by package perl-DBD-Pg Error: Missing Dependency: perl(:MODULE_COMPAT_5.8.8) is needed by package perl-DBD-MySQL
If anyone has any advice about either situation I'd appreciate it but I may have to resort to uninstalling everything and starting again.
Check this out http://www.go2linux.org/selectively-update-from-centos-plus-repository
but what I had to do, was to put the same priority to CentOSPlus, run
yum install perl
and then back the priority to 2 again, and then install the rest of packages I needed.
let me know if that helps.
regards,
Guillermo http://www.go2linux.org
I hate to say this, but when it comes to apache and php I find building them from the source on apache.org and php.net to be a lot less painful because of the dependency problems that seem to plague php. The final straw was when Nessus said one of them was vulnerable and no updates were on the repositories. Depending on how elaborate a web server you're planning to run (and mine is very elaborate) it might serve you well to not use yum for this.
Geoff
Sent from my BlackBerry wireless handheld.
-----Original Message----- From: "Guillermo Garron" guillermo.fedora@gmail.com
Date: Tue, 25 Sep 2007 22:14:24 To:"CentOS mailing list" centos@centos.org Subject: Re: [CentOS] CentOS Plus PHP5 upgrade.
On 9/24/07, David Mackintosh David.Mackintosh@xdroop.com wrote:
On Mon, Sep 24, 2007 at 01:25:21PM -0400, David Mackintosh wrote:
I have some users who have a 64-bit CentOS 4.x install (current), which was installed with @Everything and then some annoying packages strategically removed (mrtg, pegasus*, mailman...) and they have decided they have a need for php5.
So I browsed back through the previous day's CentOS list traffic, and I find an email that sounds suspiciously close to my problem, with advice to check out
http://wiki.centos.org/Repositories/CentOSPlus/CentOSWebStack
So I have followed those recommendations about the yum-priorities-plugin and now I'm in a deeper hole than I was when I started:
--> Finished Dependency Resolution Error: Missing Dependency: php = 4.3.9-3.22.9 is needed by package php-pear Error: Missing Dependency: perl(:MODULE_COMPAT_5.8.8) is needed by package perl-DBD-Pg Error: Missing Dependency: perl(:MODULE_COMPAT_5.8.8) is needed by package perl-DBD-MySQL
If anyone has any advice about either situation I'd appreciate it but I may have to resort to uninstalling everything and starting again.
Check this out http://www.go2linux.org/selectively-update-from-centos-plus-repository
but what I had to do, was to put the same priority to CentOSPlus, run
yum install perl
and then back the priority to 2 again, and then install the rest of packages I needed.
let me know if that helps.
regards,
Guillermo http://www.go2linux.org _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos