Koozali.org: home of the SME Server

Update 3 on 5.6 - dependencies??

Brascoe

Update 3 on 5.6 - dependencies??
« on: April 13, 2003, 11:26:10 PM »
I'm having problem with the update 3 on my SME 5.6

It's answering:

rpm -Uvh samba-common-2.2.7-3.7.3es1.i386.rpm
error: failed dependencies:
        samba-common = 2.2.5 is needed by samba-client-2.2.5-10
        samba-common = 2.2.5 is needed by samba-2.2.5-10

If I do a: rpm -q samba

It says: samba-2.2.5-10

I've tried to install all toe updates, but fails due to dependencies e.g.:

root@server SME_5_6_Update_3]# rpm -Uvh samba-client-2.2.7-3.7.3es1.i386.rpm
error: failed dependencies:
        samba-common = 2.2.7 is needed by samba-client-2.2.7-3.7.3es1

Any suggestions?

/ Brascoe

Paul

Re: Update 3 on 5.6 - dependencies??
« Reply #1 on: April 14, 2003, 12:21:08 AM »
Did you try this:

rpm -Uvh --replacepkgs *.rpm

It is suggested that you install the entire update but if you only want to update samba, try this:

rpm -Uvh --replacepkgs samba*.rpm

In either case I think you will NEED the replacepkgs argument for it to work.

Of course you will have to follow up with the following:

/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot

Also you may look at http://www.e-smith.org/article.php3

Good Luck

Paul

Brascoe

Re: Update 3 on 5.6 - dependencies??
« Reply #2 on: April 14, 2003, 12:47:09 AM »
Paul wrote:
>
> Did you try this:
>
> rpm -Uvh --replacepkgs *.rpm
>
> It is suggested that you install the entire update but if you
> only want to update samba, try this:
>
> rpm -Uvh --replacepkgs samba*.rpm
>
> In either case I think you will NEED the replacepkgs argument
> for it to work.

Thanks Paul,

But i still asks for dependencies??

 rpm -Uvh --replacepkgs samba-common-2.2.7-3.7.3es1.i386.rpm
error: failed dependencies:
        samba-common = 2.2.5 is needed by samba-client-2.2.5-10
        samba-common = 2.2.5 is needed by samba-2.2.5-10

What is wrong?

/ Donnie

Paul

Re: Update 3 on 5.6 - dependencies??
« Reply #3 on: April 14, 2003, 12:56:29 AM »
Donnie,

Did you try it this way?

rpm -Uvh --replacepkgs samba*.rpm

If you use the wild card (*) it will try to install in the correct order.

Do you not want the rest of the upgrade?  Why are you trying to install the rpm's one at a time?

Paul

Charlie Brady

Re: Update 3 on 5.6 - dependencies??
« Reply #4 on: April 14, 2003, 05:19:30 AM »
Paul wrote:

> Did you try this:
>
> rpm -Uvh --replacepkgs *.rpm
>
> It is suggested that you install the entire update but if you
> only want to update samba, try this:
>
> rpm -Uvh --replacepkgs samba*.rpm
>
> In either case I think you will NEED the replacepkgs argument
> for it to work.

No. In the latter case (samba*.rpm) then --replacepkgs is not required, since you won't be replacing packages which are already installed. Just:

rpm -Uhv samba*rpm

will work.

Brasco, rpm is telling you what the problem is.  The new samba-client needs the new samba-common, and the old samba-client needs the old samba-common. The solution is to upgrade all samba packages at the same time with the same command. (This is a FAQ, BTW).

Charlie

Brascoe

Re: Update 3 on 5.6 - dependencies??
« Reply #5 on: April 14, 2003, 09:39:34 AM »
Charlie Brady wrote:
>
> No. In the latter case (samba*.rpm) then --replacepkgs is not
> required, since you won't be replacing packages which are
> already installed. Just:
>
> rpm -Uhv samba*rpm
>
> will work.
>
> Brasco, rpm is telling you what the problem is.  The new
> samba-client needs the new samba-common, and the old
> samba-client needs the old samba-common. The solution is to
> upgrade all samba packages at the same time with the same
> command. (This is a FAQ, BTW).

This command helped A LOT.

I've never upgraded with this *.rpm command before.

I just made the "rpm -Uvh samba-client-2.2.7-3.7.3es1.i386.rpm"

Thanks

/ Donnie

Dan D

Re: Update 3 on 5.6 - dependencies??
« Reply #6 on: April 14, 2003, 10:05:20 PM »
I was getting the same dependencies issue when I attempted the 5.6 Update 3.  Unfortunately, there is something that isn't working out for me with this wildcard samba rpm suggestion.

using:

rpm -Uvh samba*rpm
or
rpm -Uvh samba*.rpm
or
rpm -Uvh --replacepkgs samba*rpm
or
rpm -Uvh --replacepkgs samba*.rpm

I still get
error: failed dependencies:
        samba = 2.2.3a is needed by samba-swat-2.2.3a-1es

Any additional suggestions are appreciated

Thanks,

Dan

Dan Brown

Re: Update 3 on 5.6 - dependencies??
« Reply #7 on: April 14, 2003, 10:24:42 PM »
That's simple enough--remove samba-swat.  Did you install it yourself at some point?  I can't imagine it would be included in a stock SME distribution.

Paul

Re: Update 3 on 5.6 - dependencies??
« Reply #8 on: April 14, 2003, 10:47:44 PM »
Dan,

It appears that you have added a  non-supported application called SWAT to on your server.

SWAT, as you probably know, is a utility that helps you configure Samba.

You will probably have to either update SWAT first or remove it all together.

There are no contribs for SWAT (as far as I know) so you may have to search this forum to make sure that you upgrade/remove it properly.

SWAT sometimes comes with Webmin.  If you have Webmin installed (another non-supported application) then it may have installed SWAT with it.

Good Luck,

Paul

Boris

Re: Update 3 on 5.6 - dependencies??
« Reply #9 on: April 14, 2003, 11:14:48 PM »
>> samba = 2.2.3a
Are you sure you have SME 5.6?
This version of Samba is older then the one, included with SME 5.6 (2.2.5).

Dan D

Re: Update 3 on 5.6 - dependencies??
« Reply #10 on: April 15, 2003, 01:43:21 AM »
Thank you all - I appear to be back on track having first removed the old samba-swat.

Dan