I believe this is fixed since quite some time now. At some point software-properties-common was added to the ubuntu-server metapackage, and that pulls in packagekit.
Still, if you don't have it installed, realm complains like this: root@g-adclient1:~# realm -v join ad1.example.com * Resolving: _ldap._tcp.ad1.example.com * Performing LDAP DSE lookup on: 10.51.0.5 * Successfully discovered: ad1.example.com Password for Administrator: * Unconditionally checking packages * Resolving required packages ! PackageKit not available: The name org.freedesktop.PackageKit was not provided by any .service files ! Necessary packages are not installed: sssd-tools sssd libnss-sss libpam-sss adcli realm: Couldn't join realm: Necessary packages are not installed: sssd-tools sssd libnss-sss libpam-sss adcli If selecting winbind, then: root@g-adclient1:~# realm -v join ad1.example.com --client-software=winbind * Resolving: _ldap._tcp.ad1.example.com * Performing LDAP DSE lookup on: 10.51.0.5 * Successfully discovered: ad1.example.com Password for Administrator: * Unconditionally checking packages * Resolving required packages ! PackageKit not available: The name org.freedesktop.PackageKit was not provided by any .service files ! Necessary packages are not installed: winbind libpam-winbind samba-common-bin realm: Couldn't join realm: Necessary packages are not installed: winbind libpam-winbind samba-common-bin So you can either install those packages, or install packagekit and let it do it for you: root@g-adclient1:~# realm -v join ad1.example.com --client-software=winbind * Resolving: _ldap._tcp.ad1.example.com * Performing LDAP DSE lookup on: 10.51.0.5 * Successfully discovered: ad1.example.com Password for Administrator: * Unconditionally checking packages * Resolving required packages * Installing necessary packages: samba-common-bin libpam-winbind winbind * LANG=C LOGNAME=root /usr/bin/net -s /var/cache/realmd/realmd-smb-conf.WZ5TQ0 -U Administrator ads join ad1.example.com Enter Administrator's password: Using short domain name -- AD1 Joined 'G-ADCLIENT1' to dns domain 'ad1.example.com' * LANG=C LOGNAME=root /usr/bin/net -s /var/cache/realmd/realmd-smb-conf.WZ5TQ0 -U Administrator ads keytab create Enter Administrator's password: * /usr/sbin/update-rc.d winbind enable * /usr/sbin/service winbind restart * Successfully enrolled machine in realm Since it tells you what is missing if packagekit isn't installed, and doesn't crash in a bad way, I think adding a dependency or even a recommends on packagekit is too hard, but I can settle for a Suggests. -- 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 [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
