LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-22-2005, 12:13 PM   #1
viniosity
Member
 
Registered: Oct 2001
Location: Washington, DC
Distribution: Debian, Archlinux, Ubuntu, Sidux
Posts: 244

Rep: Reputation: 30
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
 
Old 04-22-2005, 12:37 PM   #2
azucaro
Member
 
Registered: Jan 2005
Location: Washington, D.C.
Distribution: Arch (Custom), CentOS
Posts: 239

Rep: Reputation: 30
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!
 
Old 04-22-2005, 01:44 PM   #3
viniosity
Member
 
Registered: Oct 2001
Location: Washington, DC
Distribution: Debian, Archlinux, Ubuntu, Sidux
Posts: 244

Original Poster
Rep: Reputation: 30
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).
 
Old 04-22-2005, 02:32 PM   #4
viniosity
Member
 
Registered: Oct 2001
Location: Washington, DC
Distribution: Debian, Archlinux, Ubuntu, Sidux
Posts: 244

Original Poster
Rep: Reputation: 30
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!
 
Old 04-24-2005, 07:01 PM   #5
azucaro
Member
 
Registered: Jan 2005
Location: Washington, D.C.
Distribution: Arch (Custom), CentOS
Posts: 239

Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing RPMS Demon86 Linux - Newbie 1 05-22-2005 03:20 AM
Having trouble installing rpms for new Samba release TechHawk Linux - Networking 3 05-12-2004 02:07 AM
installing rpms BLAMM0 Debian 5 09-03-2003 06:24 AM
Need help installing RPMs Lossenelin Linux - Newbie 2 11-03-2002 03:38 PM
RH RPMS and SAMBA help.. StamfordRob Linux - Newbie 6 03-28-2002 08:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration