Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: addodge on August 29, 2006, 03:29:11 AM
-
Hello everyone. I was updating one of my sme servers (7.0 Final) via the command line. I went to get some dinner and when i came back Putty had errored out and all i could see on the screen was that sme was installing updates through number 50ish of 130ish. I let the system go for quite a while and then logged back in and ran signal-event post-upgrade/reboot. now when i run yum update it still shows numerous updates are ready to be installed but errors out with the following error.
--> Running transaction check
--> Processing Dependency: php = 4.3.9-3.12 for package: php-imap
--> Processing Dependency: php = 4.3.9-3.12 for package: php-gd
--> Finished Dependency Resolution
Error: Missing Dependency: php = 4.3.9-3.12 is needed by package php-imap
Error: Missing Dependency: php = 4.3.9-3.12 is needed by package php-gd
I ran this to check and see which versions of php were installed.
yum list installed php-*
and it returns the following
Installed Packages
php.i386 4.3.9-3.12 installed
php-domxml.i386 4.3.9-3.12 installed
php-gd.i386 4.3.9-3.15 installed
php-gd.i386 4.3.9-3.12 installed
php-imap.i386 4.3.9-3.12 installed
php-imap.i386 4.3.9-3.15 installed
php-ldap.i386 4.3.9-3.12 installed
php-mbstring.i386 4.3.9-3.12 installed
php-mysql.i386 4.3.9-3.12 installed
php-pear.i386 4.3.9-3.12 installed
Also now when i try to log in via vpn i get a error 734 the ppp link control protocal was terminated.
Doesnt sme have a system restore like xp does? ;-) just kidding
Does anyone know what i need to do to resolve this?
Thanks
Andy
-
I just ran yum -d 9 update and the output is as follows.
Dep Number: 1/2
php-imap requires: php = 4.3.9-3.12
--> Processing Dependency: php = 4.3.9-3.12 for package: php-imap
Calling rpmdb.returnHeaderByTuple on php-imap.i386 0:4.3.9-3.12
Requiring package is installed: php-imap - 4.3.9-3.12.i386
Resolving for installed requiring package: php-imap - 4.3.9-3.12.i386
Resolving for requirement: php = 4.3.9-3.12
Potential Provider: php.i386 0:4.3.9-3.15
Mode is u for provider of php = 4.3.9-3.12: php.i386 0:4.3.9-3.15
Mode for pkg providing php = 4.3.9-3.12: u
Cannot find an update path for dep for: php = 4.3.9-3.12
Searching pkgSack for dep: php
Potential match for php from php - 4.3.9-3.12.i386
Matched php - 4.3.9-3.12.i386 to require for php
Potential match for php from php - 4.3.9-3.15.i386
php - 4.3.9-3.12.i386 is in providing packages but it is already installed, removing.
Dep Number: 2/2
php-gd requires: php = 4.3.9-3.12
--> Processing Dependency: php = 4.3.9-3.12 for package: php-gd
Calling rpmdb.returnHeaderByTuple on php-gd.i386 0:4.3.9-3.12
Requiring package is installed: php-gd - 4.3.9-3.12.i386
Resolving for installed requiring package: php-gd - 4.3.9-3.12.i386
Resolving for requirement: php = 4.3.9-3.12
Needed Require has already been looked up, cheating
Potential Provider: php.i386 0:4.3.9-3.15
Mode is u for provider of php = 4.3.9-3.12: php.i386 0:4.3.9-3.15
Mode for pkg providing php = 4.3.9-3.12: u
Cannot find an update path for dep for: php = 4.3.9-3.12
Searching pkgSack for dep: php
Potential match for php from php - 4.3.9-3.12.i386
Matched php - 4.3.9-3.12.i386 to require for php
Potential match for php from php - 4.3.9-3.15.i386
php - 4.3.9-3.12.i386 is in providing packages but it is already installed, removing.
miss = 2
conf = 0
CheckDeps = 0
--> Finished Dependency Resolution
Dependency Process ending
Error: Missing Dependency: php = 4.3.9-3.12 is needed by package php-imap
Error: Missing Dependency: php = 4.3.9-3.12 is needed by package php-gd
-
i came back from 2 weeks holidays to find my sme server had updates it wanted to do. i ran the update manager and i'm getting pretty much the same thing.
anybody got a simple answer to this one? it looks like there's a shedload of updates to be done and it's kinda messing with my head that i cant do any of them. not sure if anything's broken (yet).
martz
-
addoge.
I use the server-manager software installer panel to do yum updates. Looking at the log, I did some on Aug 17th ending with
Aug 17 11:43:51 Updated: horde.noarch 3.0.11-01sme01
The server-manager panel isn't prompting me to do any more updates atm.
HTH, David.
-
Thanks for the reply. However it still does error out when i use the Software update panel. Same error as when using the command line. BTW, the reason i have been using the command line to do yum updates is because at one point someone told me that it was safer than using the web interface. There was a time where i kept getting proxy timeout errors when using the web interface also.
Anyone else have a way to correct this?
Thanks
Andy
-
I'm getting the same error. I was able to the other updates in place by doing them one at a time, but the php updates won't work. Any ideas?
-
I seem to have two versions of packages that cause the dependency failures:
[root@server arnoldo]# yum list php-imap
Setting up repositories
Reading repository metadata in from local files
Installed Packages
php-imap.i386 4.3.9-3.12 installed
php-imap.i386 4.3.9-3.15 installed
[root@server arnoldo]# yum list php-gd
Setting up repositories
Reading repository metadata in from local files
Installed Packages
php-gd.i386 4.3.9-3.12 installed
php-gd.i386 4.3.9-3.15 installed
[root@server arnoldo]#
When I try to remove them:
[root@server arnoldo]# yum remove php-imap
Setting up Remove Process
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package php-imap.i386 0:4.3.9-3.15 set to be erased
---> Package php-imap.i386 0:4.3.9-3.12 set to be erased
--> Running transaction check
Setting up repositories
Reading repository metadata in from local files
--> Processing Dependency: php-imap >= 4.3.0 for package: imp-h3
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package imp-h3.noarch 0:4.0.4-02sme01 set to be erased
--> Running transaction check
--> Processing Dependency: imp-h3 >= 4.0 for package: e-smith-imp
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package e-smith-imp.noarch 0:1.12.0-01 set to be erased
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Removing:
php-imap i386 4.3.9-3.15 installed 83 k
php-imap i386 4.3.9-3.12 installed 83 k
Removing for dependencies:
e-smith-imp noarch 1.12.0-01 installed 57 k
imp-h3 noarch 4.0.4-02sme01 installed 11 M
Transaction Summary
=============================================================================
Install 0 Package(s)
Update 0 Package(s)
Remove 4 Package(s)
Total download size: 0
Is this ok [y/N]:
Should I just try to remove them with an rpm command? Is that safe? Will it break horde and imp? I'm guessing that it will probably break webmail. There has to be a better way. I saw another post to change yum the repos, but the db command would not run <sigh>
-
I have the same problem.
Searched this in the bugtracker but could not find it.
Did somebody post this in the bugtracker?
-
<bump>
Any ideas on this?
-
Might want to look at this bug and follow up there.
http://bugs.contribs.org/show_bug.cgi?id=1772
It is also showing the same php dependancy errors.
-
No help in that bug tracker post. Ahs someone found a way to resolve this? :?:
-
Here's all the PHP stuff:
[root@server ~]# yum list php*
Setting up repositories
Reading repository metadata in from local files
Installed Packages
php.i386 4.3.9-3.12 installed
php-domxml.i386 4.3.9-3.12 installed
php-gd.i386 4.3.9-3.15 installed
php-gd.i386 4.3.9-3.12 installed
php-imap.i386 4.3.9-3.15 installed
php-imap.i386 4.3.9-3.12 installed
php-ldap.i386 4.3.9-3.12 installed
php-mbstring.i386 4.3.9-3.12 installed
php-mysql.i386 4.3.9-3.12 installed
php-pear.i386 4.3.9-3.12 installed
Available Packages
php.i386 4.3.9-3.15 smeupdates
php-domxml.i386 4.3.9-3.15 smeupdates
php-ldap.i386 4.3.9-3.15 smeupdates
php-mbstring.i386 4.3.9-3.15 smeupdates
php-mysql.i386 4.3.9-3.15 smeupdates
php-pear.i386 4.3.9-3.15 smeupdates
I notice that yum reports that php-gd and php-imap are installed with 2 different version, but I'm not sure what I can safely do about it.
-
arnoldob
If it was me I would do ...
rpm -e php-gd.i386 4.3.9-3.15 php-imap.i386 4.3.9-3.15
Uninstall the two new packages that installed .... Then try your update again and see what happens.
Someone else might have a better suggestion.
Regards,
Tib
-
arnoldob
If it was me I would do ...
rpm -e php-gd.i386 4.3.9-3.15 php-imap.i386 4.3.9-3.15
Uninstall the two new packages that installed .... Then try your update again and see what happens.
Someone else might have a better suggestion.
Regards,
Tib
Any reason for rpm -e instead of yum remove ?
-
The removal of the newer packages did the trick. All the remaining updates installed without any issues after I did a "yum clean all" then updated from the server-manager interface.
Thanks for the suggestion
-
william_syd
your right .... yum remove ... would have been the correct option just incase there were any dependacy problems ... but rpm -e still works on single files etc.
Thanks for the reminder :roll:
Regards,
Tib