![Kerberos 5 无法安装在 Debian 8.2 或 8.3 上](https://linux22.com/image/676596/Kerberos%205%20%E6%97%A0%E6%B3%95%E5%AE%89%E8%A3%85%E5%9C%A8%20Debian%208.2%20%E6%88%96%208.3%20%E4%B8%8A.png)
我已经在 VirtualBox 中运行一些虚拟机,但无法安装 Kerberos5。
我不断收到错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
krb5-kdc : Depends: krb5-config but it is not installable
Depends: krb5-user but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
我在全新安装的 Debian 8.2 和 8.3 上遇到了这个问题,有什么想法吗?
编辑
资料来源:
deb cdrom:[Debian GNU/Linux 8.3.0 _Jessie_ - Official amd64 DVD Binary-1 20160123-19:03]/ jessie contrib main
deb cdrom:[Debian GNU/Linux 8.3.0 _Jessie_ - Official amd64 DVD Binary-1 20160123-19:03]/ jessie contrib main
deb http://security.debian.org/ jessie/updates main contrib
deb-src http://security.debian.org/ jessie/updates main contrib
有没有文件在sources.list.d
目录中
政策:
$ apt-cache policy krb5-kdc
krb5-kdc:
Installed: (none)
Candidate: 1.12.1+dfsg-19+deb8u2
Version table:
1.12.1+dfsg-19+deb8u2 0
500 http://security.debian.org/ jessie/updates/main amd64 Packages
$ apt-cache policy krb5-config
krb5-config:
Installed: (none)
Candidate: (none)
Version table:
$ apt-cache policy krb5-user
krb5-user:
Installed: (none)
Candidate: 1.12.1+dfsg-19+deb8u2
Version table:
1.12.1+dfsg-19+deb8u2 0
500 http://security.debian.org/ jessie/updates/main amd64 Packages
- 在安装了必要的项目(sudo 等)后,我尝试在全新安装中进行安装
- 我已经
sudo apt-get update
尝试过 Kerberos 我已经通过 Synaptic 安装了所有依赖项,如下所示:
Depends: libgssrpc4 but it is not going to be installed Depends: libkadm5clnt-mit9 but it is not going to be installed Depends: libkadm5srv-mit9 but it is not going to be installed Depends: libkdb5-7 but it is not going to be installed Depends: libverto1 but it is not going to be installed Depends: krb5-config but it is not installable Depends: krb5-user but it is not going to be installed Depends: libverto-libev1 but it is not going to be installed or libverto-libevent1 but it is not installable
krb5-config
并且krb5-user
文件在任何阶段都无法安装。
希望有帮助!
答案1
根据您提供的sources.list
文件内容,您缺少条目,这就是安装失败的原因。
添加此内容:
deb http://httpredir.debian.org/debian jessie main deb-src http://httpredir.debian.org/debian jessie main deb http://httpredir.debian.org/debian jessie-updates main deb-src http://httpredir.debian.org/debian jessie-updates main
运行
apt-get update
并尝试再次安装。