LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing samba rpms (https://www.linuxquestions.org/questions/linux-newbie-8/installing-samba-rpms-316090/)

viniosity 04-22-2005 01:13 PM

installing samba rpms
 
I'm a newbie to the RPM world so I thought I'd post this question in hopes of getting some gentle guidance.

I basically have an AMD64 box that is having problems with Samba. Since I couldn't fix those issues I decided that the best course of action would be to update by version from 3.0.9 to the current 3.0.14a.

The good news is that samba.org has binaries for x86_64 specifically for suse 9.2. The bad news is I have no idea which rpms to install and in which order. I have no problem downloading and installing all of them, but would like to avoid screwing up my server. Any help would be really appreciated. Here are the files available at http://us1.samba.org/samba/ftp/Binar....0/x86_64/9.2/
  • ldapsmb-1.31-24.4.x86_64.rpm
    libsmbclient-3.0.14a-0.1.x86_64.rpm
    libsmbclient-devel-3.0.14a-0.1.x86_64.rpm
    samba-3.0.14a-0.1.x86_64.rpm
    samba-client-3.0.14a-0.1.x86_64.rpm
    samba-pdb-3.0.14a-0.1.x86_64.rpm
    samba-python-3.0.14a-0.1.x86_64.rpm
    samba-vscan-0.3.6-0.1.x86_64.rpm
    samba-winbind-3.0.14a-0.1.x86_64.rpm

azucaro 04-22-2005 01:37 PM

rpm by itself is great, but you do have to deal with dependencies manually. Try doing "rpm -Uhv samba-3.0.14a-0.1.x86_64.rpm" and it will tell you what is missing. You'll have to cascade upwards with your rpm commands from there.

If you already have samba on your system, you will likely have to remove it with rpm -e. I'd save your samba config file before you do that though; most likely the removal of samba wouldn't get rid of it, but just to be cautious...

Finally, I'd recommend apt-get and synaptic (the graphical wrapper for apt-get) if you are using an rpm system. It handles dependencies/broken packages for you and does updates!

Best of luck!

viniosity 04-22-2005 02:44 PM

azucaro, you're in DC and I'm in DC -- we should meet up. Are you a member of the LUG or anything?

Anyway, back to my questions. Assuming I download and install apt, when I do an apt-get install of samba will it overwrite the current samba or will I have two instances installed at the same time? i.e. does apt immediately know about the software that is already installed on my machine (it is a clean install though it has been patched).

viniosity 04-22-2005 03:32 PM

As an update, I managed to install the RPMs following your instructions. Removed the installed client, server then reinstalled the new version and finally used the run-level editor to start the newly installed version of samba. Went without a hitch. Thanks very much!

azucaro 04-24-2005 08:01 PM

v -

Glad you got things working. Pretty interesting that you are in DC as well. I'm not in any Linux user groups or anything...just a big enthusiast. If I do plan on attending anything (as I'm sure to do in the future) I'll let you know.

For more on apt/rpm, you could have chosen to go with "rpm -Uhv sambaXXXX." What that does is upgrade the rpm in the repository if it is a later version. If it is a lower version, it won't do anything. If the package doesn't even exist, -U will install it. You get the best of both worlds!

That being said, I use rpm all the time over apt to install things. I still grab stuff from apt though...pretty easy!

Enjoy samba. For me it is a love/hate relationship.


All times are GMT -5. The time now is 01:34 AM.