gpt4 book ai didi

linux - 在 Kali (Debian) 中安装 mono-devel 时,软件包具有未满足的依赖关系

转载 作者:行者123 更新时间:2023-12-05 03:11:40 26 4
gpt4 key购买 nike

我尝试安装 mono-devel 并在终端中输入 sudo apt-get mono-devel。但是失败了,得到了如下结果:

~# apt-get install mono-devel
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:
mono-devel : Depends: libgamin0 but it is not installable
Depends: libgnomeui-0 (>= 2.22.0) but it is not installable
Depends: libmono-cil-dev (= 4.2.3.4-0xamarin2) but it is not going to be installed
Recommends: mono-csharp-shell but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

我试过 apt-get -f install 但还是不行。有人能帮忙吗?谢谢!

最佳答案

您可能在 Linux 发行版中下载了错误的 PPA。

echo "deb https://download.mono-project.com/repo/debian stable-buster main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list

安装过程中提到的 PPA 存储库 mono-project网站适用于 UBUNTU (Debian 10),不适用于其他发行版(可能),如前所述here .

解决方法:

  1. 删除 /etc/apt/sources.list.d/ 文件夹中的 mono-official-stable.list 文件。
  2. 运行 sudo apt update
  3. 最后,运行 sudo apt install mono-devel

关于linux - 在 Kali (Debian) 中安装 mono-devel 时,软件包具有未满足的依赖关系,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36427496/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com