Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17764

Help upgrading samba (already installed)

$
0
0

Hi guys,

I know just enough about Linux that I can muddle through most sysadmin tasks, but not enough that I'm comfortable doing some things. This is one of them.

We had a security audit and it turned up 2 servers with outdated Samba and it was suggested I upgrade it. Looks like I have the following files already installed:

  • samba-client-3.0.33-3.29.el5_5.1
  • samba-3.0.33-3.29.el5_5.1
  • samba-common-3.0.33-3.29.el5_5.1
  • libsmbclient-3.0.33-3.29.el5_5.1

I don't have a redhat subscription for this machine, but I have one for another machine and so I downloaded the latest version of those 4 files. My issue is that rpm -Uvh isn't working because of dependencies on the already installed versions:

rpm -Uvh samba-common-3.0.33-3.40.el5_10.x86_64.rpm warning: samba-common-3.0.33-3.40.el5_10.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 error: Failed dependencies: libsmbclient = 0:3.0.33-3.40.el5_10 is needed by samba-common-3.0.33-3.40.el5_10.x86_64 samba-common = 0:3.0.33-3.29.el5_5.1 is needed by (installed) samba-3.0.33-3.29.el5_5.1.x86_64 samba-common = 0:3.0.33-3.29.el5_5.1 is needed by (installed) samba-client-3.0.33-3.29.el5_5.1.x86_64 

or

rpm -Uvh libsmbclient-3.0.33-3.40.el5_10.x86_64.rpm warning: libsmbclient-3.0.33-3.40.el5_10.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 error: Failed dependencies: libsmbclient = 0:3.0.33-3.29.el5_5.1 is needed by (installed) samba-common-3.0.33-3.29.el5_5.1.x86_64 

and so on...It seems like none of the files will update because of already installed versions.

I'm thinking I maybe I can -force -nodeps or something like that. Or just copy smb.conf, uninstall and re-install? I generally just plow through and break it and figure it out, but this is kind of a touchy server so I'd rather not break it and have to fix it if I can help it.

What's the best way for me to proceed? Thanks in advance for your help.

Edit: formatting.

submitted by cheeznuts
[link][7 comments]

Viewing all articles
Browse latest Browse all 17764

Trending Articles