Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: spyrule on October 22, 2007, 03:30:51 PM

Title: Problems with yum updates for my server. help?
Post by: spyrule on October 22, 2007, 03:30:51 PM
Good morning,

 I have been trying to do update to my server now, for a little while (a couple of days), and I have been getting the following error:
Quote
ftp://ftp.planetmirror.com/pub/smeserver/releases/7/smeaddons/i386/repodata/repomd.xml: [Errno 4] IOError: [Errno ftp error] 550 7: No such file or directory
Trying other mirror.
ftp://ftp.planetmirror.com/pub/smeserver/releases/7/smeos/i386/repodata/repomd.xml: [Errno 4] IOError: [Errno ftp error] 550 7: No such file or directory
Trying other mirror.
ftp://ftp.planetmirror.com/pub/smeserver/releases/7/smeupdates/i386/repodata/repomd.xml: [Errno 4] IOError: [Errno ftp error] 550 7: No such file or directory
Trying other mirror.
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.7 is needed by package php-pdo
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Setting up Update Process
Setting up repositories
Determining fastest mirrors
Reading repository metadata in from local files
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package php-imap.i386 0:4.3.9-3.22.9 set to be updated
---> Downloading header for perl-Filter to pack into transaction set.
---> Package perl-Filter.i386 0:1.34-1.el4.rf set to be updated
---> Package smeserver-spamassassin.noarch 0:1.4.0-16.el4.sme set to be updated
---> Package smeserver-support.noarch 0:1.6.0-40.el4.sme set to be updated
---> Downloading header for nut to pack into transaction set.
---> Package nut.i386 0:2.2.0-3.3.el4 set to be updated
---> Package php-mbstring.i386 0:4.3.9-3.22.9 set to be updated
---> Downloading header for dmraid to pack into transaction set.
---> Package dmraid.i386 0:1.0.0.rc14-5_RHEL4_U5.el4.sme set to be updated
---> Package php-gd.i386 0:4.3.9-3.22.9 set to be updated
---> Package smeserver-qpsmtpd.noarch 0:1.2.1-47.el4.sme set to be updated
---> Package php.i386 0:4.3.9-3.22.9 set to be updated
---> Package php-pear.i386 0:4.3.9-3.22.9 set to be updated
---> Package php-mysql.i386 0:4.3.9-3.22.9 set to be updated
---> Downloading header for nut-client to pack into transaction set.
---> Package nut-client.i386 0:2.2.0-3.3.el4 set to be updated
---> Downloading header for DCC to pack into transaction set.
---> Package DCC.i386 0:1.3.64-19.el4 set to be updated
---> Package php-ldap.i386 0:4.3.9-3.22.9 set to be updated
--> Running transaction check
--> Processing Dependency: php-domxml for package: e-smith-horde
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-pdo
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package php-domxml.i386 0:4.3.9-3.22.9 set to be updated
--> Running transaction check
--> Processing Dependency: php-common = 5.1.6-3.el4s1.7 for package: php-pdo
--> Finished Dependency Resolution
yum update DCC.i386 dmraid.i386 nut-client.i386 nut.i386 perl-Filter.i386 php-gd.i386 php-imap.i386 php-ldap.i386 php-mbstring.i386 php-mysql.i386 php-pear.i386 php.i386 smeserver-qpsmtpd.noarch smeserver-spamassassin.noarch smeserver-support.noarch failed: 256

 I think the problem is the missing dependencies, however when I attempt to manually update the dependency with the said version, I get the message that it is already installed.

 Can anybody steer me in a direction where to either read the fix, or how to actually fix this?

 Thank you in advance,

 Spyrule.
Title: Re: Problems with yum updates for my server. help?
Post by: mmccarn on October 22, 2007, 03:43:07 PM
I don't have php-common or php-pdo on my system.  Do you know where you got them from? 

If you installed them using Dries, Dungog, Dag, or another custom repository, you'll need to make sure that the repo you used is in your config then do yum --enablerepo=<repo> update.  See http://wiki.contribs.org/Category:Yum_Repository for help configuring or reconfiguring your supplemental yum repositories.

If you installed them manually using wget.... yum localinstall ... you may have to locate the dependancies and update them manually.

Title: Re: Problems with yum updates for my server. help?
Post by: spyrule on October 22, 2007, 03:53:01 PM
I think I might know where these are coming from... now that I think about it.

 I am running php 5 on this server, so I suspect it's a dependency from there, not really sure what file to look for though for fixing this.

 I am rather new to running the sme server (at the admin level anyway), so I am learning by the flaming seat of my pants... so-to-speak.
 
 Would you know of any specific way to find out the specific dependency package name so that I can DL and install it with yum?

 (btw, all packages I have install we're with wget and yum localinstall functions.)

 Thanks in advance,

 Spyrule.
Title: Re: Problems with yum updates for my server. help?
Post by: byte on October 22, 2007, 04:05:22 PM
I am running php 5 on this server, so I suspect it's a dependency from there, not really sure what file to look for though for fixing this.

Yep php5 is your problem and not supported with SME Server 7.x - your best bet would be to remove php5 then update.
Title: Re: Problems with yum updates for my server. help?
Post by: byte on October 22, 2007, 04:06:10 PM
Moved to contribs section as it is more appropriate here.
Title: Re: Problems with yum updates for my server. help?
Post by: mmccarn on October 22, 2007, 06:31:34 PM
yum list will list both the installed packages and the packages available at the default repos.

yum list --disablerepo=* --enablerepo=dag will list the packages installed &/or available from the non-standard 'dag' repository, if you have configured it on your system.

Until you find the next problem, you're looking for somewhere with php-common, as far as I can tell...

Note: Byte's suggestion to remove PHP5 is the 'official' answer, as he's been around longer than I and knows more about the guts of SME. Be very careful...