Koozali.org: home of the SME Server

Update 2 Fails

Tony Howden

Update 2 Fails
« on: June 30, 2002, 11:31:24 AM »
Hi

I have just setup a new server from my ISO of smeserver 5.1.2 and ran the blade for update 2.

I get a failure with this error:

error: failed dependencies:
php = 4.0.4pl1-9 is needed by php-manual-4.0.4pl1-9

Should I have installed something else first ? It appears from the other php packages being installed that they are all for php v4.0.6 rather than 4.0.4 ? Is this just that the manual is still 4.0.4 or is this something that I should have already ?

TIA

cheers
Tony

TurboTony

Re: Update 2 Fails
« Reply #1 on: June 30, 2002, 12:04:13 PM »
I get a similar error because I had previously upgraded PHP to 4.1.0
I wonder if there is a way to force the remaining update package to install, or do we have to do each RPM individually?

Tony Howden

Re: Update 2 Fails
« Reply #2 on: June 30, 2002, 12:13:53 PM »
Hi

An update.

The php-4.0.4pl.etc package is installed and having downloaded a new copy and run it as a reinstall makes no difference.

I now suspect that the errors are two separate issues, i.e. there are failed dependencies AND the php4.0.4 issue, whereas I had assumed that the two lines referred to an error and the reason.

Ok, I have now run some rpm -i --test 's and discovered that the apache and openssh rpm's will have conflicts with the existing installations. Does this mean that I would need to uninstall these earlier packages ?

If I proceeded manually to do the install, I have a rough order of the installations as starting with libtools, libx, pspell, and then php, but the apache and openssh conflicts are a concern.

What is it that I am not understanding ?

TIA

cheers
Tony

Tony Howden

Re: Update 2 Fails
« Reply #3 on: June 30, 2002, 12:16:23 PM »
Hi fellow Tony

I suspect that we really needed to have update 1 installed first. I have another server which has been running for a month or so and had the earlier updates run on it. I have just run the update 2 on it and it has been successful.

Individual installs as per my own follow-up appear problematic as well.

cheers
Tony

TurboTony

Re: Update 2 Fails
« Reply #4 on: June 30, 2002, 12:35:24 PM »
When I installed PHP 4.1.0 and IMP 3 my original blade 'update 1' reported that it was incomplete.
I imagine that with updating outside the 'blade' packages we may have created more work for ourselves.
I wonder what will happen If I upgrade to SME 5.5 ?

Damien Curtain

Re: Update 2 Fails
« Reply #5 on: June 30, 2002, 12:39:07 PM »
TurboTony wrote:
>
> When I installed PHP 4.1.0 and IMP 3 my original blade
> 'update 1' reported that it was incomplete.
> I imagine that with updating outside the 'blade' packages we
> may have created more work for ourselves.
> I wonder what will happen If I upgrade to SME 5.5 ?

Why don't you just log into your server and run the command:
rpm -e php-manual
Then your updates will work....
--
 Damien

Tony Howden

Re: Update 2 Fails
« Reply #6 on: June 30, 2002, 12:47:49 PM »
Hi Tony

The blades will no longer report as installed if any package is upgraded over the standard install. My other server has Twiggi installed and also shows as being incomplete. This is noted in another how-to when installing updates.

In any case, I have just worked this out. I think.

The php-manual rpm has not been included with the update download. As a result the upgrade to php is rejected.

I have just done rpm -e to the php-manual package and proceeded to install manually and its fine.

And I have re-run the install from the web admin page with success.

So the quick path appears to be:
' remove the offending package
# rpm -e php-manual-4.0.4pl1-9
' run the update
'download the current manual and install
rpm -iv php-manual-4.0.6-15.i386.rpm

I got it from http://www.rpmfind.net

But since it is just the PHP manual in HTML format, it may not be required for your server. I will get it because the server is to be my test bed for php programming.

However the 'gotcha' is that this file is 15Mbyte in size !

cheers
Tony

Tony Howden

Re: Update 2 Fails
« Reply #7 on: June 30, 2002, 12:49:35 PM »
Hi Damien

*chuckle* while I was busy typing, you sneak in with the answer.

cheers
Tony