Find the answer to your Linux question:
Results 1 to 9 of 9
I can't update samba from 3.0.14a to 3.0.20...anyone know why?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2005
    Posts
    84

    Samba updates


    I can't update samba from 3.0.14a to 3.0.20...anyone know why?

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,879
    How are you trying to update? Yum? Apt? Downloaded RPM? What's failing?
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    Just Joined!
    Join Date
    Jun 2005
    Posts
    84
    I tried using a downloaded rpm and yum. but they won't upgrade it to the new version. It says there is a conflict with the old version.

  4. #4
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,879
    Try this:

    Save your samba config out somwhere (e.g. do 'cp -a /etc/samba/ /root/samba_backup')

    Uninstall your current samba installation

    yum remove samba

    then reinstall with

    yum install samba

    Then either just copy your existing samba config back, or use diff to modify the new config to be like your old config.
    Linux user #126863 - see http://linuxcounter.net/

  5. #5
    Just Joined!
    Join Date
    Jun 2005
    Posts
    84
    ok tried that and this is what I got when I tried removing it

    [root@localhost Jesse]# yum remove samba
    Setting up Remove Process
    No Packages marked for removal

  6. #6
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,879
    you can do:

    rpm -qa |grep samba

    to find what the system thinks its samba installation is called. There'll probably be more than one package, so remove them all and re-install them at the highest version using yum, and it should all work.
    Linux user #126863 - see http://linuxcounter.net/

  7. #7
    Just Joined!
    Join Date
    Jun 2005
    Posts
    84
    this is the only problem that I had

    [root@HomeServer Jesse]# rpm -e samba-common-3.0.14a-2
    error: Failed dependencies:
    libsmbclient.so.0 is needed by (installed) kdebase-3.4.0-5.i386
    [root@HomeServer Jesse]#

    what do I do now

  8. #8
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,879
    Are you running this from KDE? If not, you can also remove the dependent packages too. Dont forget, they're all available through yum, so just keep a list and put em all back afterwards.

    I had a situation on my laptop where it had installed both the 32-bit and 64-bit versions of one of the KDE packages. I just uninstalled em both and updated the package again from yum - that sorted everything out for me.
    Linux user #126863 - see http://linuxcounter.net/

  9. #9
    Just Joined! tom-tjtech's Avatar
    Join Date
    Apr 2006
    Location
    Scotland
    Posts
    51

    Samba updates - unistalling previous version

    I know its some time since this thread was started but just in case
    you are needing the info...

    There is no need to uninstall all the dependencies that appear when you
    use rpm -e package-version
    simply use the --nodeps option, so in the case of our Samba 3.0.14a use;

    [root]# rpm -e samba-common-3.0.14a-2 --nodeps

    also the original 'smb.conf' gets renamed to 'smb.conf.rpmsave', in /etc/samba.

    Otherwise what Roxoff says works fine.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •