Koozali.org: home of the SME Server

Yum Errors. What to do now?

addodge

Yum Errors. What to do now?
« 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

addodge

Yum Errors. What to do now?
« Reply #1 on: August 29, 2006, 03:55:04 AM »
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

martz

Yum Errors. What to do now?
« Reply #2 on: September 01, 2006, 05:44:53 PM »
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

Offline dmajwool

  • *****
  • 180
  • +0/-0
Yum Errors. What to do now?
« Reply #3 on: September 01, 2006, 06:00:22 PM »
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.

addodge

Yum Errors. What to do now?
« Reply #4 on: September 01, 2006, 07:07:12 PM »
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

Offline arnoldob

  • *
  • 183
  • +0/-0
Yum Errors. What to do now?
« Reply #5 on: September 01, 2006, 08:12:55 PM »
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?
Tampa, FL USA

Offline arnoldob

  • *
  • 183
  • +0/-0
Yum Errors. What to do now?
« Reply #6 on: September 01, 2006, 08:24:38 PM »
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>
Tampa, FL USA

Offline Lourens

  • **
  • 40
  • +0/-0
Yum Errors. What to do now?
« Reply #7 on: September 11, 2006, 11:07:54 AM »
I have the same problem.
Searched this in the bugtracker but could not find it.
Did somebody post this in the bugtracker?
......

Offline arnoldob

  • *
  • 183
  • +0/-0
Yum Errors. What to do now?
« Reply #8 on: September 14, 2006, 12:52:10 AM »
<bump>
Any ideas on this?
Tampa, FL USA

Offline pfloor

  • *****
  • 889
  • +1/-0
Yum Errors. What to do now?
« Reply #9 on: September 14, 2006, 01:35:39 AM »
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.
In life, you must either "Push, Pull or Get out of the way!"

Offline arnoldob

  • *
  • 183
  • +0/-0
Yum Errors. What to do now?
« Reply #10 on: September 25, 2006, 09:43:51 PM »
No help in that bug tracker post. Ahs someone found a way to resolve this? :?:
Tampa, FL USA

Offline arnoldob

  • *
  • 183
  • +0/-0
Yum Errors. What to do now?
« Reply #11 on: September 25, 2006, 10:05:09 PM »
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.
Tampa, FL USA

Offline Tib

  • *
  • 571
  • +0/-0
    • http://www.tibors.net
Yum Errors. What to do now?
« Reply #12 on: September 26, 2006, 05:44:13 AM »
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

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Yum Errors. What to do now?
« Reply #13 on: September 26, 2006, 07:21:05 AM »
Quote from: "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  ?
Regards,
William

IF I give advise.. It's only if it was me....

Offline arnoldob

  • *
  • 183
  • +0/-0
Yum Errors. What to do now?
« Reply #14 on: September 27, 2006, 05:57:16 AM »
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
Tampa, FL USA