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. -- /\oo/\ / /()\ \ David Mackintosh | dave at xdroop.com | http://www.xdroop.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20070924/82ab6c76/attachment-0001.sig>
On 9/24/07, David Mackintosh <David.Mackintosh at 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. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell
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. -- /\oo/\ / /()\ \ David Mackintosh | dave at xdroop.com | http://www.xdroop.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20070924/e6671860/attachment-0001.sig>
On 9/24/07, David Mackintosh <David.Mackintosh at 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