NIS 客户端设置

NIS 客户端设置

我刚刚从 13.10 升级到 14.04。升级后,NIS 停止工作。我进入,检查了设置(hosts, yp.conf, nsswitch)- 一切似乎都配置正确。但是...我找不到了/etc/init.d/nis。当我尝试安装 nis 时,我看到了以下内容:

root@crab:~# 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

以下是 的输出apt-cache policy

Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://extras.ubuntu.com/ubuntu/ trusty/main i386 Packages
     release v=14.04,o=LP-PPA-app-review-     board,a=trusty,n=trusty,l=Application Review Board PPA,c=main
     origin extras.ubuntu.com
 500 http://extras.ubuntu.com/ubuntu/ trusty/main amd64 Packages
     release v=14.04,o=LP-PPA-app-review- board,a=trusty,n=trusty,l=Application Review Board PPA,c=main
     origin extras.ubuntu.com
 500 http://archive.ubuntu.com/ubuntu/ trusty/main Translation-en
 500 http://archive.ubuntu.com/ubuntu/ trusty/main i386 Packages
     release v=14.04,o=Ubuntu,a=trusty,n=trusty,l=Ubuntu,c=main
     origin archive.ubuntu.com
 500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
     release v=14.04,o=Ubuntu,a=trusty,n=trusty,l=Ubuntu,c=main
     origin archive.ubuntu.com
Pinned packages:

有什么建议吗?谢谢。

相关内容