[Samba] sssd-ad cannot be installed with sernet samba

Luca Olivetti luca at wetron.es
Tue Mar 31 08:05:31 MDT 2015


El 31/03/15 a les 13:56, Tim ha escrit:

> As I have said: sssd-ad works fine with sernet packages on redhat
> based distros.

Good to know

> 
> Have you tried this? apt-get install sssd-ad samba-libs- Notice the -
> at the end

# LANG= apt-get install sssd-ad samba-libs-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'samba-libs' is not installed, so not removed
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 sssd-ad : Depends: samba-libs (>= 2:4.1.6+dfsg) but it is not going to
be installed
           Depends: sssd-ad-common (= 1.11.5-1ubuntu3) but it is not
going to be installed
E: Unable to correct problems, you have held broken packages.


> 
> Found here: 
> http://serverfault.com/questions/250224/how-do-i-get-apt-get-to-ignore-some-dependencies

I saw that page earlier. Almost none of the suggestions there work with
current apt-get.
I had to apt-get download samba-libs, sssd-ad, sssd-ad-common and use
dpkg to install them ignoring dependencies. The problem is that
samba-libs overwrote some files of the samba-sernet-libs package (no
problem since this is a test machine):


# LANG= dpkg -i --force-overwrite
samba-libs_2%3a4.1.6+dfsg-1ubuntu2.14.04.7_amd64.deb
(Reading database ... 62136 files and directories currently installed.)
Preparing to unpack samba-libs_2%3a4.1.6+dfsg-1ubuntu2.14.04.7_amd64.deb ...
Unpacking samba-libs:amd64 (2:4.1.6+dfsg-1ubuntu2.14.04.7) ...
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite
'/usr/share/man/man8/idmap_rfc2307.8.gz', which is also in package
sernet-samba-winbind 99:4.1.17-10
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite
'/usr/lib/x86_64-linux-gnu/samba/auth/script.so', which is also in
package sernet-samba-libs:amd64 99:4.1.17-10
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite
'/usr/lib/x86_64-linux-gnu/samba/gensec/krb5.so', which is also in
package sernet-samba-libs:amd64 99:4.1.17-10
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite
'/usr/lib/x86_64-linux-gnu/samba/bind9/dlz_bind9_9.so', which is also in
package sernet-samba-ad 99:4.1.17-10
dpkg: warning: overriding problem because --force enabled:
dpkg: warning: trying to overwrite
'/usr/lib/x86_64-linux-gnu/samba/bind9/dlz_bind9.so', which is also in
package sernet-samba-ad 99:4.1.17-10
dpkg: dependency problems prevent configuration of samba-libs:amd64:
 samba-libs:amd64 depends on python-talloc (>= 2.0.6); however:
  Package python-talloc is not installed.


# LANG= dpkg -i --force-overwrite --ignore-depends=python-talloc
samba-libs_2%3a4.1.6+dfsg-1ubuntu2.14.04.7_amd64.deb
(Reading database ... 62258 files and directories currently installed.)
Preparing to unpack samba-libs_2%3a4.1.6+dfsg-1ubuntu2.14.04.7_amd64.deb ...
Unpacking samba-libs:amd64 (2:4.1.6+dfsg-1ubuntu2.14.04.7) over
(2:4.1.6+dfsg-1ubuntu2.14.04.7) ...
Setting up samba-libs:amd64 (2:4.1.6+dfsg-1ubuntu2.14.04.7) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...


After that I installed sssd-ad and sssd-ad-common and it worked (though
it probably left the system in an awful mess).

So the problem is fixable.....by somebody familiar with debian packaging.


Bye
-- 
Luca Olivetti
Wetron Automation Technology http://www.wetron.es
Tel. +34 935883004  Fax +34 935883007


More information about the samba mailing list