Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Brascoe 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
-
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
-
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
-
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
-
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
-
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
-
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
-
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.
-
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
-
>> 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).
-
Thank you all - I appear to be back on track having first removed the old samba-swat.
Dan