Tec*_*Guy 1 dependencies packages linebreaks apt kali-linux
发生这种情况时我正在安装这个软件包。
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.
Run Code Online (Sandbox Code Playgroud)
如何解决所有这些混乱?
小智 5
只需清除 dpkg/status,如下所示...
叶垫 /var/lib/dpkg/status
全选[Ctrl+A],然后删除(Del)
通过键入以下命令确保状态已清除...
猫 /var/lib/dpkg/status
更新 apt 并安装失败的软件包...
apt 更新 apt 安装 -f
现在安装 DHCP 服务器...
sudo apt install -y isc-dhcp-服务器