Public bug reported: realmd fails to install samba-common-bin package because of dependencies.
The executed command on a fresh installed server: --------- # apt-get install realmd # realm --verbose join -U admin domain.example.com * Resolving: _ldap._tcp.domain.example.com * Performing LDAP DSE lookup on: xx.xx.xx.18 * Performing LDAP DSE lookup on: xx.xx.xx.17 * Successfully discovered: domain.example.com Password for admin: * Unconditionally checking packages * Resolving required packages * Installing necessary packages: samba-common-bin, sssd-tools, sssd, libnss-sss, libpam-sss ! Failed to enroll machine in realm: The following packages have unmet dependencies: samba-common-bin: Depends: samba-common (= 2:4.1.6+dfsg-1ubuntu2) but 2:4.1.6+dfsg-1ubuntu2.14.04.1 is to be installed Depends: python2.7:any but it is a virtual package Depends: samba-libs (= 2:4.1.6+dfsg-1ubuntu2) but 2:4.1.6+dfsg-1ubuntu2.14.04.1 is to be installed realm: Couldn't join realm: Failed to enroll machine in realm. See diagnostics. ------------ The sources list of the server: ------------ # deb http://archive.ubuntu.com/ubuntu/ trusty main restricted # deb http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted # deb http://security.ubuntu.com/ubuntu trusty-security main restricted # http://trusty-repository.nbg.atrada.net:8088/ubuntu trusty atrada # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://archive.ubuntu.com/ubuntu/ trusty main restricted deb-src http://archive.ubuntu.com/ubuntu/ trusty main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted deb-src http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://archive.ubuntu.com/ubuntu/ trusty universe deb-src http://archive.ubuntu.com/ubuntu/ trusty universe deb http://archive.ubuntu.com/ubuntu/ trusty-updates universe deb-src http://archive.ubuntu.com/ubuntu/ trusty-updates universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://archive.ubuntu.com/ubuntu/ trusty multiverse deb-src http://archive.ubuntu.com/ubuntu/ trusty multiverse deb http://archive.ubuntu.com/ubuntu/ trusty-updates multiverse deb-src http://archive.ubuntu.com/ubuntu/ trusty-updates multiverse ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu trusty-security main restricted deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted deb http://security.ubuntu.com/ubuntu trusty-security universe deb-src http://security.ubuntu.com/ubuntu trusty-security universe deb http://security.ubuntu.com/ubuntu trusty-security multiverse deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse --------- It seems like realm tries to install samba-common-bin from the trusty repository while apt tries to satifsfy the dependencies from the trusty-updates repository. trusty: samba-common-bin (2:4.1.6+dfsg-1ubuntu2) trusty-updates: samba-common-bin (2:4.1.6+dfsg-1ubuntu2.14.04.1) ** Affects: realmd (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1333694 Title: realmd samba-common-bin dependencies To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/realmd/+bug/1333694/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs