我正在尝试重建一个属于 Active Directory 的服务器。我正在使用仿生海狸:
administrator@vmssnt1:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic
administrator@vmssnt1:~$ uname -a
Linux vmssnt1 4.15.0-32-generic #35-Ubuntu SMP Fri Aug 10 17:58:07 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
当然,我sudo apt update && sudo apt upgrade
在执行之前做过
sudo apt -y install realmd sssd sssd-tools libnss-sss libpam-sss adcli samba-common-bin oddjob oddjob-mkhomedir packagekit
按照本指南:https ://www.server-world.info/en/note?os=Ubuntu_18.04&p=realmd
这在我之前在其他服务器上执行时有效,但现在我只收到此错误:
Package realmd is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package adcli is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'realmd' has no installation candidate
E: Package 'adcli' has no installation candidate
E: Unable to locate package oddjob
E: Unable to locate package oddjob-mkhomedir
如果我正在查看可以找到它们的软件包(例如 realmd:https ://packages.ubuntu.com/bionic/realmd )
有什么我想念的吗?
谢谢你的帮助!
编辑:如果我apt-cache search realmd
在我的 ubuntu windows 子系统(14.04.5 LTS)上使用,可以找到该包。不再支持仿生海狸了吗?
以下对我有用:
在 /etc/apt/sources.list 的末尾添加以下内容
sudo apt-get update && sudo apt-get install realmd