10 Replies Latest reply on Mar 2, 2012 11:58 PM by Dude!

    Samba package dependencies broken?

    921215
      I'm trying to install samba on OEL 5.7 and get unresolvable dependency problems. What am I missing here?

      # yum install samba3x
      Setting up Install Process
      Resolving Dependencies
      --> Running transaction check
      ---> Package samba3x.i386 0:3.5.4-0.83.el5_7.2 set to be updated
      --> Processing Dependency: samba3x-common = 3.5.4-0.83.el5_7.2 for package: samba3x
      --> Processing Dependency: libwbclient.so.0 for package: samba3x
      --> Processing Dependency: libtalloc.so.2 for package: samba3x
      --> Running transaction check
      ---> Package samba3x.i386 0:3.5.4-0.83.el5_7.2 set to be updated
      --> Processing Dependency: libtalloc.so.2 for package: samba3x
      ---> Package samba3x-common.i386 0:3.5.4-0.83.el5_7.2 set to be updated
      --> Processing Dependency: libtalloc >= 2.0.1 for package: samba3x-common
      --> Processing Dependency: libtdb >= 1.2.1 for package: samba3x-common
      --> Processing Dependency: libtalloc.so.2 for package: samba3x-common
      ---> Package samba3x-winbind.i386 0:3.5.4-0.83.el5_7.2 set to be updated
      --> Processing Dependency: libtalloc.so.2 for package: samba3x-winbind
      --> Finished Dependency Resolution
      samba3x-3.5.4-0.83.el5_7.2.i386 from el5_latest has depsolving problems
      --> Missing Dependency: libtalloc.so.2 is needed by package samba3x-3.5.4-0.83.el5_7.2.i386 (el5_latest)
      samba3x-common-3.5.4-0.83.el5_7.2.i386 from el5_latest has depsolving problems
      --> Missing Dependency: libtdb >= 1.2.1 is needed by package samba3x-common-3.5.4-0.83.el5_7.2.i386 (el5_latest)
      samba3x-common-3.5.4-0.83.el5_7.2.i386 from el5_latest has depsolving problems
      --> Missing Dependency: libtalloc.so.2 is needed by package samba3x-common-3.5.4-0.83.el5_7.2.i386 (el5_latest)
      samba3x-winbind-3.5.4-0.83.el5_7.2.i386 from el5_latest has depsolving problems
      --> Missing Dependency: libtalloc.so.2 is needed by package samba3x-winbind-3.5.4-0.83.el5_7.2.i386 (el5_latest)
      samba3x-common-3.5.4-0.83.el5_7.2.i386 from el5_latest has depsolving problems
      --> Missing Dependency: libtalloc >= 2.0.1 is needed by package samba3x-common-3.5.4-0.83.el5_7.2.i386 (el5_latest)
      Error: Missing Dependency: libtalloc.so.2 is needed by package samba3x-3.5.4-0.83.el5_7.2.i386 (el5_latest)
      Error: Missing Dependency: libtalloc.so.2 is needed by package samba3x-winbind-3.5.4-0.83.el5_7.2.i386 (el5_latest)
      Error: Missing Dependency: libtdb >= 1.2.1 is needed by package samba3x-common-3.5.4-0.83.el5_7.2.i386 (el5_latest)
      Error: Missing Dependency: libtalloc >= 2.0.1 is needed by package samba3x-common-3.5.4-0.83.el5_7.2.i386 (el5_latest)
      Error: Missing Dependency: libtalloc.so.2 is needed by package samba3x-common-3.5.4-0.83.el5_7.2.i386 (el5_latest)
      You could try using --skip-broken to work around the problem
      You could try running: package-cleanup --problems
      package-cleanup --dupes
      rpm -Va nofiles nodigest
      The program package-cleanup is found in the yum-utils package.

      # yum install libtalloc*
      Setting up Install Process
      Resolving Dependencies
      --> Running transaction check
      ---> Package libtalloc.i386 0:1.2.0-52.el5_5.2 set to be updated
      ---> Package libtalloc-compat1.i386 0:2.0.1-11.el5 set to be updated
      ---> Package libtalloc-devel.i386 0:1.2.0-52.el5_5.2 set to be updated
      --> Finished Dependency Resolution

      Dependencies Resolved

      ======================================================================================================================================
      Package Arch Version Repository Size
      ======================================================================================================================================
      Installing:
      libtalloc i386 1.2.0-52.el5_5.2 el5_latest 22 k
      libtalloc-compat1 i386 2.0.1-11.el5 el5_latest 18 k
      libtalloc-devel i386 1.2.0-52.el5_5.2 el5_latest 7.4 k

      Transaction Summary
      ======================================================================================================================================
      Install 3 Package(s)
      Upgrade 0 Package(s)

      Total download size: 48 k
      Is this ok [y/N]: y
      Downloading Packages:
      (1/3): libtalloc-devel-1.2.0-52.el5_5.2.i386.rpm | 7.4 kB 00:00
      (2/3): libtalloc-compat1-2.0.1-11.el5.i386.rpm | 18 kB 00:00
      (3/3): libtalloc-1.2.0-52.el5_5.2.i386.rpm | 22 kB 00:00
      --------------------------------------------------------------------------------------------------------------------------------------
      Total 214 kB/s | 48 kB 00:00
      Running rpm_check_debug
      Running Transaction Test
      Finished Transaction Test


      Transaction Check Error:
      file /usr/lib/libtalloc.so.1 conflicts between attempted installs of libtalloc-compat1-2.0.1-11.el5.i386 and libtalloc-1.2.0-52.el5_5.2.i386
        • 1. Re: Samba package dependencies broken?
          Tommy.Reynolds-Oracle
          What YUM repositories are you using? Problems like this often arise when overlapping repositories (some packages in common) are used.
          • 2. Re: Samba package dependencies broken?
            Dude!
            Your problem looks very similar to the following link: http://www.centos.org/modules/newbb/viewtopic.php?topic_id=27098&forum=37

            You could try the following to disable 3rd party repositories.

            yum clean all
            yum disablerepo \* enablerepo base,updates update
            • 3. Re: Samba package dependencies broken?
              921215
              Sorry, I should have mentioned that. I am pointed to a local yum repository that is only pulling the packages down from Oracle. The only channel that is enabled on the server is el5_latest.
              • 4. Re: Samba package dependencies broken?
                Dude!
                Ok. Well, I also get similar trouble using "yum install samba3x" with the Oracle public yum repository. But it works fine when removing the old samba "yum remove samba* prior to using "install samba3x".
                • 5. Re: Samba package dependencies broken?
                  921215
                  I tried removing everything, but realized there was still a pam_smb that I had not removed. So I tried again, but it still fails to install the latest version. Do I need to open a ticket with Oracle to have them look at this or is their Oracle support in the forums as well?

                  # rpm -qa | grep smb
                  libsmbclient-3.0.33-3.29.el5_7.4
                  pam_smb-1.1.7-7.2.1
                  # rpm -qa | grep samba
                  samba3x-client-3.3.8-0.51.el5
                  samba3x-common-3.3.8-0.51.el5
                  samba3x-3.3.8-0.51.el5
                  samba3x-winbind-3.3.8-0.51.el5
                  # rpm -qa | grep libtalloc
                  libtalloc-1.2.0-52.el5_5.2
                  # yum erase samba3x-client-3.3.8-0.51.el5 samba3x-common-3.3.8-0.51.el5 samba3x-3.3.8-0.51.el5 samba3x-winbind-3.3.8-0.51.el5 libtalloc-1.2.0-52.el5_5.2 libsmbclient-3.0.33-3.29.el5_7.4 pam_smb-1.1.7-7.2.1
                  Setting up Remove Process
                  Resolving Dependencies
                  --> Running transaction check
                  ---> Package libsmbclient.i386 0:3.0.33-3.29.el5_7.4 set to be erased
                  ---> Package libtalloc.i386 0:1.2.0-52.el5_5.2 set to be erased
                  ---> Package pam_smb.i386 0:1.1.7-7.2.1 set to be erased
                  ---> Package samba3x.i386 0:3.3.8-0.51.el5 set to be erased
                  ---> Package samba3x-client.i386 0:3.3.8-0.51.el5 set to be erased
                  ---> Package samba3x-common.i386 0:3.3.8-0.51.el5 set to be erased
                  ---> Package samba3x-winbind.i386 0:3.3.8-0.51.el5 set to be erased
                  --> Finished Dependency Resolution

                  Dependencies Resolved

                  ================================================================================
                  Package Arch Version Repository Size
                  ================================================================================
                  Removing:
                  libsmbclient i386 3.0.33-3.29.el5_7.4 installed 2.3 M
                  libtalloc i386 1.2.0-52.el5_5.2 installed 41 k
                  pam_smb i386 1.1.7-7.2.1 installed 66 k
                  samba3x i386 3.3.8-0.51.el5 installed 12 M
                  samba3x-client i386 3.3.8-0.51.el5 installed 31 M
                  samba3x-common i386 3.3.8-0.51.el5 installed 32 M
                  samba3x-winbind i386 3.3.8-0.51.el5 installed 8.4 M

                  Transaction Summary
                  ================================================================================
                  Remove 7 Package(s)
                  Reinstall 0 Package(s)
                  Downgrade 0 Package(s)

                  Is this ok [y/N]: y
                  Downloading Packages:
                  Running rpm_check_debug
                  Running Transaction Test
                  Finished Transaction Test
                  Transaction Test Succeeded
                  Running Transaction
                  Erasing : samba3x 1/7
                  Erasing : samba3x-winbind 2/7
                  Erasing : samba3x-client 3/7
                  Erasing : pam_smb 4/7
                  Erasing : libtalloc 5/7
                  Erasing : samba3x-common 6/7
                  warning: /etc/samba/smb.conf saved as /etc/samba/smb.conf.rpmsave
                  Erasing : libsmbclient 7/7

                  Removed:
                  libsmbclient.i386 0:3.0.33-3.29.el5_7.4 libtalloc.i386 0:1.2.0-52.el5_5.2
                  pam_smb.i386 0:1.1.7-7.2.1 samba3x.i386 0:3.3.8-0.51.el5
                  samba3x-client.i386 0:3.3.8-0.51.el5 samba3x-common.i386 0:3.3.8-0.51.el5
                  samba3x-winbind.i386 0:3.3.8-0.51.el5

                  Complete!

                  # yum remove samba*
                  Setting up Remove Process
                  No Match for argument: samba*
                  Package(s) samba* available, but not installed.
                  No Packages marked for removal

                  # yum install samba3x
                  Setting up Install Process
                  Resolving Dependencies
                  --> Running transaction check
                  ---> Package samba3x.i386 0:3.5.10-0.107.el5 set to be updated
                  --> Processing Dependency: samba3x-common = 3.5.10-0.107.el5 for package: samba3x
                  --> Processing Dependency: libwbclient.so.0 for package: samba3x
                  --> Processing Dependency: libtalloc.so.2 for package: samba3x
                  --> Running transaction check
                  ---> Package samba3x.i386 0:3.5.10-0.107.el5 set to be updated
                  --> Processing Dependency: libtalloc.so.2 for package: samba3x
                  ---> Package samba3x-common.i386 0:3.5.10-0.107.el5 set to be updated
                  --> Processing Dependency: libtalloc >= 2.0.1 for package: samba3x-common
                  --> Processing Dependency: libtdb >= 1.2.1 for package: samba3x-common
                  --> Processing Dependency: libtalloc.so.2 for package: samba3x-common
                  --> Processing Dependency: libsmbclient for package: samba3x-common
                  ---> Package samba3x-winbind.i386 0:3.5.10-0.107.el5 set to be updated
                  --> Processing Dependency: libtalloc.so.2 for package: samba3x-winbind
                  --> Running transaction check
                  ---> Package libsmbclient.i386 0:3.0.33-3.37.el5 set to be updated
                  ---> Package samba3x.i386 0:3.5.10-0.107.el5 set to be updated
                  --> Processing Dependency: libtalloc.so.2 for package: samba3x
                  ---> Package samba3x-common.i386 0:3.5.10-0.107.el5 set to be updated
                  --> Processing Dependency: libtalloc >= 2.0.1 for package: samba3x-common
                  --> Processing Dependency: libtdb >= 1.2.1 for package: samba3x-common
                  --> Processing Dependency: libtalloc.so.2 for package: samba3x-common
                  ---> Package samba3x-winbind.i386 0:3.5.10-0.107.el5 set to be updated
                  --> Processing Dependency: libtalloc.so.2 for package: samba3x-winbind
                  --> Finished Dependency Resolution
                  samba3x-3.5.10-0.107.el5.i386 from el5_latest has depsolving problems
                  --> Missing Dependency: libtalloc.so.2 is needed by package samba3x-3.5.10-0.107.el5.i386 (el5_latest)
                  samba3x-common-3.5.10-0.107.el5.i386 from el5_latest has depsolving problems
                  --> Missing Dependency: libtdb >= 1.2.1 is needed by package samba3x-common-3.5.10-0.107.el5.i386 (el5_latest)
                  samba3x-winbind-3.5.10-0.107.el5.i386 from el5_latest has depsolving problems
                  --> Missing Dependency: libtalloc.so.2 is needed by package samba3x-winbind-3.5.10-0.107.el5.i386 (el5_latest)
                  samba3x-common-3.5.10-0.107.el5.i386 from el5_latest has depsolving problems
                  --> Missing Dependency: libtalloc.so.2 is needed by package samba3x-common-3.5.10-0.107.el5.i386 (el5_latest)
                  samba3x-common-3.5.10-0.107.el5.i386 from el5_latest has depsolving problems
                  --> Missing Dependency: libtalloc >= 2.0.1 is needed by package samba3x-common-3.5.10-0.107.el5.i386 (el5_latest)
                  Error: Missing Dependency: libtalloc.so.2 is needed by package samba3x-3.5.10-0.107.el5.i386 (el5_latest)
                  Error: Missing Dependency: libtalloc.so.2 is needed by package samba3x-winbind-3.5.10-0.107.el5.i386 (el5_latest)
                  Error: Missing Dependency: libtdb >= 1.2.1 is needed by package samba3x-common-3.5.10-0.107.el5.i386 (el5_latest)
                  Error: Missing Dependency: libtalloc >= 2.0.1 is needed by package samba3x-common-3.5.10-0.107.el5.i386 (el5_latest)
                  Error: Missing Dependency: libtalloc.so.2 is needed by package samba3x-common-3.5.10-0.107.el5.i386 (el5_latest)
                  You could try using --skip-broken to work around the problem
                  You could try running: package-cleanup --problems
                  package-cleanup --dupes
                  rpm -Va nofiles nodigest
                  • 6. Re: Samba package dependencies broken?
                    Dude!
                    What happens if you try:

                    yum install libtalloc libtdb

                    Does this work?
                    • 7. Re: Samba package dependencies broken?
                      921215
                      Yes, they install fine.
                      • 8. Re: Samba package dependencies broken?
                        Dude!
                        And with the packages installed, yum install samba3x still shows the same error?
                        • 9. Re: Samba package dependencies broken?
                          921215
                          Correct. I think the issue is that there is no package in Oracle repository that includes libtalloc.so.2.

                          # yum whatprovides "*/libtalloc.so.2"
                          No Matches found
                          • 10. Re: Samba package dependencies broken?
                            Dude!
                            Sounds like something is screwed with your yum setup. Since you have a subscription you might want to address it to Oracle support. I don't have a subscription so I'm afraid I can't be of too much help here. Afaik this forum is not Oracle support and people's contributions are voluntarily, at least this forum is not payed support, though Oracle support seems to read the messages, occasionally. The libraries you need to install are also available from the Oracle Public Yum repository. Instructions are at http://public-yum.oracle.com. I was able to install samba3x using the public repository.