我无法在 Ubuntu 14.04(从 13.10 升级)上安装 NIS 包。当我尝试运行时,apt-get install nis
我得到以下输出:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package nis 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
However the following packages replace it:
hostname:i386 hostname
E: Package 'nis' has no installation candidate
有人能给出建议吗?这可能是存储库设置的问题吗?
谢谢。
答案1
阅读消息。
Package nis is not available,
However the following packages replace it:
hostname:i386 hostname
因此,如果您想要该功能,请安装hostname
或hostname:i386
。
如果您想使用 NIS 源,您必须在网上找到它。