Koozali.org: home of the SME Server

Updates available => Error: Missing Dependency: php5-cgi

Offline hilke

  • *
  • 11
  • +0/-0
Updates available => Error: Missing Dependency: php5-cgi
« on: September 15, 2010, 09:18:33 AM »
Hello,

I have a problem with the updates, this is what my server told me to do:

===
=== yum reports available updates:
===

expat.i386                               1.95.7-4.el4_8.3       updates         
php5-cgi.i386                            5.3.2-1.el4.sme        smeextras       
php5-cgi-imap.i386                       5.3.2-1.el4.sme        smeextras       
php5-cgi-ldap.i386                       5.3.2-1.el4.sme        smeextras       
php5-cgi-mysql.i386                      5.3.2-1.el4.sme        smeextras       
php5-cgi-pear.i386                       5.3.2-1.el4.sme        smeextras       
php5-cgi-xmlrpc.i386                     5.3.2-1.el4.sme        smeextras       
popt.i386                                1.9.1-33_nonptl.el4_8. updates         
rpm.i386                                 4.3.3-33_nonptl.el4_8. updates         
rpm-libs.i386                            4.3.3-33_nonptl.el4_8. updates         
rpm-python.i386                          4.3.3-33_nonptl.el4_8. updates         
shadow-utils.i386                        2:4.0.3-66.el4_8.3     updates         
tzdata.noarch                            2010l-1.el4            updates         

This is what I get:
[root@twobe-server ~]# yum update
Loading "smeserver" plugin
Loading "installonlyn" plugin
Loading "protect-packages" plugin
Loading "fastestmirror" plugin
Setting up Update Process
Setting up repositories
smeaddons                 100% |=========================| 1.9 kB    00:00
smeextras                 100% |=========================| 1.9 kB    00:00
base                      100% |=========================| 1.1 kB    00:00
updates                   100% |=========================|  951 B    00:00
smeos                     100% |=========================| 1.9 kB    00:00
smeupdates                100% |=========================| 1.9 kB    00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - updates
Finished
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package popt.i386 0:1.9.1-33_nonptl.el4_8.1 set to be updated
---> Package shadow-utils.i386 2:4.0.3-66.el4_8.3 set to be updated
---> Package php5-cgi-mysql.i386 0:5.3.2-1.el4.sme set to be updated
---> Package rpm-python.i386 0:4.3.3-33_nonptl.el4_8.1 set to be updated
---> Package php5-cgi-pear.i386 0:5.3.2-1.el4.sme set to be updated
---> Package php5-cgi-imap.i386 0:5.3.2-1.el4.sme set to be updated
---> Package tzdata.noarch 0:2010l-1.el4 set to be updated
---> Package php5-cgi-ldap.i386 0:5.3.2-1.el4.sme set to be updated
---> Package rpm.i386 0:4.3.3-33_nonptl.el4_8.1 set to be updated
---> Package php5-cgi-xmlrpc.i386 0:5.3.2-1.el4.sme set to be updated
---> Package rpm-libs.i386 0:4.3.3-33_nonptl.el4_8.1 set to be updated
---> Package php5-cgi.i386 0:5.3.2-1.el4.sme set to be updated
---> Package expat.i386 0:1.95.7-4.el4_8.3 set to be updated
--> Running transaction check
--> Processing Dependency: php5-cgi = 5.1.2-1.sp for package: php5-cgi-odbc
--> Finished Dependency Resolution
Error: Missing Dependency: php5-cgi = 5.1.2-1.sp is needed by package php5-cgi-odbc

Is there somebody there that can help me with this problem?

Hilke.
...

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Updates available => Error: Missing Dependency: php5-cgi
« Reply #1 on: September 15, 2010, 11:44:38 AM »
You have installed php5 packages that are not part of the core distribution, so first of all you are posting in the wrong forum. Moving to SME 7.x contribs forum.

To get the problem resolved you should try and find a version of php5-cgi-odbc that corresponds to the new version of php5-cgi that is part of the upgrade or remove the package and retry updates.

It could very well be that the required package is in smetest, be sure that no core packages are dragged in when temporarily enabling it as the smetest repository is for untested packages, for which stability and quality has not been verified.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)