发生这种情况时,我正在安装此软件包。
root@kali:~/airgeddon# apt install isc-dhcp-server
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.31.4) but 3.30.2-7 is to be installed
linux-headers-4.19.0-kali4-amd64 : Depends: linux-compiler-gcc-8-x86 but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
如何解决所有这些混乱?
只需清除 dpkg/status 如下...
全选【Ctrl+A】,删除(Del)
确保通过键入清除状态...
更新 apt 并安装失败的软件包...
现在安装DHCP服务器...