未找到 AD 连接的安装候选项

未找到 AD 连接的安装候选项

我正在尝试重建属于 Active Directory 的服务器。我正在使用 Bionic Beaver:

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) 上使用,可以找到该包。是否不再支持仿生海狸?

答案1

以下对我有用:

在 /etc/apt/sources.list 末尾添加以下内容

## 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://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe

sudo apt-get 更新 && sudo apt-get 安装 realmd

相关内容