这是什么意思? (apt-get问题)

这是什么意思? (apt-get问题)
root@kali:~# apt-get install idle
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:
 gsettings-desktop-schemas : Breaks: mutter (< 3.19.92) but 3.18.2-1 is to be installed
 libc6-dev : Breaks: binutils (< 2.26) but 2.25.90.20160101-2 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

答案1

你有一个混合的sources.listUbuntu Xenial 和 kali linux

Kali Linux 源码

添加到 Kali resources.list 文件中的任何其他存储库很可能会破坏您的 KALI LINUX 安装。

/etc/apt/sources.list按照文档所述编辑您的:

自 Kali 2016.1 发布以来,kali-rolling 是我们当前的活动存储库。 Kali Rolling 用户的sources.list 中应包含以下条目:

deb http://http.kali.org/kali kali-rolling main contrib non-free

然后运行:

apt update
apt dist-upgrade

相关内容