Page 1 of 1

Missing Dependency - php-common

Posted: Wed Apr 06, 2011 6:16 am
by kram
Recived a notice in ASL today to apply updates.

After running Yum Update I go tthe following error.

--> Running transaction check
---> Package libedit.i386 0:3.0-2.20090923cvs.el5.art set to be updated
--> Processing Dependency: php-common = 5.2.17-1.el5.art for package: php-mhash
--> Finished Dependency Resolution
php-mhash-5.2.17-1.el5.art.i386 from installed has depsolving problems
--> Missing Dependency: php-common = 5.2.17-1.el5.art is needed by package php-mhash-5.2.17-1.el5.art.i386 (installed)
Error: Missing Dependency: php-common = 5.2.17-1.el5.art is needed by package php-mhash-5.2.17-1.el5.art.i386 (installed)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest

Any suggestions?

Re: Missing Dependency - php-common

Posted: Wed Apr 06, 2011 8:13 am
by breun
Looking at the repository it indeed looks like there are no packages for php-mhash for PHP 5.3.6. They might be coming later?

Re: Missing Dependency - php-common

Posted: Wed Apr 06, 2011 8:41 am
by scott
Yup, that was removed from 5.3: http://php.net/releases/5_3_0.php

Re: Missing Dependency - php-common

Posted: Wed Apr 06, 2011 8:55 am
by breun
Seems like the hash functions are part of PHP core since 5.3. So I guess you can just remove php-mhash and upgrade. Or aren't these functions backwards compatible? If they are maybe the PHP core package should have something like Obsoletes: php-mhash (and Provides: php-mhash? I'm not too familiar with these things.) in its spec file, so php-mhash is removed automatically on upgrades?

Re: Missing Dependency - php-common

Posted: Wed Apr 06, 2011 9:40 am
by scott
Sure, all good ideas. I think we'll wait a bit for any other minor changes before making an update.

Re: Missing Dependency - php-common

Posted: Wed Apr 06, 2011 11:06 am
by kram
So I guess, I should wait before I apply the update?

Re: Missing Dependency - php-common

Posted: Wed Apr 06, 2011 11:20 am
by scott
I ment to the package, it takes hours to build for all distros & architectures (even across the cluster). I'd rather wait to see if there are any more changes to add so we dont end up doing this multiple times.

Re: Missing Dependency - php-common

Posted: Fri Apr 08, 2011 8:22 am
by laughingbuddha
Yeah I've been having the same issue the last few days.

I'll hold off the updates till you give the ok Scott.

Re: Missing Dependency - php-common

Posted: Tue Apr 19, 2011 1:07 pm
by laughingbuddha
Has there been any progress on this issue? I haven't been able to run any yum updates since it began.

Re: Missing Dependency - php-common

Posted: Tue Apr 19, 2011 1:53 pm
by breun
Why don't you just remove php-mhash yourself and then try the upgrade again?

Re: Missing Dependency - php-common

Posted: Tue Apr 19, 2011 2:05 pm
by scott
next update should be out today. It should fix the obsoleted packages and handle upgrades of the php53 branch added in CentOS 5.6

Re: Missing Dependency - php-common

Posted: Tue Apr 19, 2011 3:25 pm
by laughingbuddha
Excellant, thanks Scott.