Missing Dependency - php-common

Support/Development for PHP
kram
Forum Regular
Forum Regular
Posts: 243
Joined: Sat Dec 11, 2004 2:33 pm
Location: South Africa

Missing Dependency - php-common

Unread post 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?
Mark Brindley
2Large Networks - Web solutions that work
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: Missing Dependency - php-common

Unread post 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?
Lemonbit Internet Dedicated Server Management
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Missing Dependency - php-common

Unread post by scott »

Yup, that was removed from 5.3: http://php.net/releases/5_3_0.php
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: Missing Dependency - php-common

Unread post 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?
Lemonbit Internet Dedicated Server Management
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Missing Dependency - php-common

Unread post by scott »

Sure, all good ideas. I think we'll wait a bit for any other minor changes before making an update.
kram
Forum Regular
Forum Regular
Posts: 243
Joined: Sat Dec 11, 2004 2:33 pm
Location: South Africa

Re: Missing Dependency - php-common

Unread post by kram »

So I guess, I should wait before I apply the update?
Mark Brindley
2Large Networks - Web solutions that work
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Missing Dependency - php-common

Unread post 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.
laughingbuddha
Forum Regular
Forum Regular
Posts: 512
Joined: Mon Mar 10, 2008 9:12 pm
Location: Southampton, UK

Re: Missing Dependency - php-common

Unread post 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.
Matt

"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"

about.me/mattauckland
twitter.com/mattauckland
laughingbuddha
Forum Regular
Forum Regular
Posts: 512
Joined: Mon Mar 10, 2008 9:12 pm
Location: Southampton, UK

Re: Missing Dependency - php-common

Unread post by laughingbuddha »

Has there been any progress on this issue? I haven't been able to run any yum updates since it began.
Matt

"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"

about.me/mattauckland
twitter.com/mattauckland
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: Missing Dependency - php-common

Unread post by breun »

Why don't you just remove php-mhash yourself and then try the upgrade again?
Lemonbit Internet Dedicated Server Management
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Missing Dependency - php-common

Unread post 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
laughingbuddha
Forum Regular
Forum Regular
Posts: 512
Joined: Mon Mar 10, 2008 9:12 pm
Location: Southampton, UK

Re: Missing Dependency - php-common

Unread post by laughingbuddha »

Excellant, thanks Scott.
Matt

"Given that God is infinite, and that the universe is also infinite... would you like a toasted teacake?"

about.me/mattauckland
twitter.com/mattauckland
Post Reply