Click to See Complete Forum and Search --> : Upgrading Samba on Mandrake


Olydus
07-25-2002, 03:17 PM
Hello, I'm almost completely new at linux. I d/led and installed the mandrake version 8.2 a couple weeks ago. It came with samba 2.2.3a and I saw that a new version of samba had been released. The problem seems to be that the rpm package isn't being recognized after it's installed.

I downloaded the rpm 'samba-2.2.5-12mdk.src.rpm' and clicked on it to run it. The package manager started, copied it's files, asked for some of the original disks and finished. However when I tried to verify the version it still says 2.2.3a. I looked up installed packages and it doesn't say a thing about 2.2.5. I even tried reinstalling but it knows I've installed it already.

Next I tried installing it from the command line but even though it looks like it went through the installation when I run rpm -qa|grep samba, it only lists 3 2.2.3a packages.

I asked a friend who was running on redhat and he was telling me that different versions are usually installed in their own directory and links are used to point to the one you wish to run. Doing a search for the samba files pointed me to files all over the place yet no directories labeled 2.2.3a or 2.2.5.

What am I doing wrong? Am I using the correct rpm? (got it from rpmfind.net). If it's the wrong one what am I installing and where do I find the correct one?

Thanks for the help.

jymbo
07-25-2002, 03:36 PM
I even tried compiling from tar ball, but no luck. The makefile was set to install in /usr/local/samba, but I didn't find it there nor any other reference to 2.2.5 anywhere.

Stuck with 2.2.3a for now...works OK...

Olydus
07-31-2002, 03:57 PM
Has anyone been able to install this update on mandrake?

cowanrl
07-31-2002, 04:54 PM
I believe what you actually installed was the Samba source code, not the binary files to actually run Samba. Thus the .src in the file name. It's probably installed somewhere on your computer waiting for you to compile and install it.

I'd check back on samba.org and look for another .rpm package for Mandrake without the .src in the file name.

In my experience with Samba, you're better off to un-install any versions you have on your computer before you install a new version.
In Red Hat, the version that comes on the CDs is actually in 3 separate rpm packages. When you download it from samba.org, it's all in one package. I always un-install the Red Hat specific rpms before doing the upgrade.

I'd try to uninstall that .src rpm you installed, then uninstall any rpm packages that came with Mandrake before I installed 2.2.5.

Olydus
08-13-2002, 06:18 PM
thanks, I did that. I couldn't get the rpm working at all so I uninstalled all the samba packages using the package manager then compiled and installed samba 2.2.5 by compiling it. I must say...it's much easier than I expected.