gpt4 book ai didi

linux - 如何在 Debian 中安装 Mono

转载 作者:太空宇宙 更新时间:2023-11-04 04:33:54 36 4
gpt4 key购买 nike

我对 Debian 和 Mono 还很陌生。当我尝试在 Debian(GNOME 版本 3.14.1、Kali GUN/Linux2.0(sana) 32 位)中安装 Mono 时,步骤如下: http://www.mono-project.com/docs/getting-started/install/linux/#usage并在终端中输入:

sudo apt-get update

我得到了:

# sudo apt-get update
Hit http://download.mono-project.com wheezy InRelease
Get:1 http://download.mono-project.com wheezy-apache24-compat InRelease [7,940 B]
Get:2 http://download.mono-project.com wheezy/main i386 Packages [56.5 kB]
Get:3 http://download.mono-project.com wheezy-apache24-compat/main i386 Packages [588 B]
Fetched 65.0 kB in 0s (266 kB/s)
W: Failed to fetch http://download.mono-project.com/repo/debian/dists/wheezy/InRelease Unable to find expected entry 'main/binary-x86/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://download.mono-project.com/repo/debian/dists/wheezy-apache24-compat/InRelease Unable to find expected entry 'main/binary-x86/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.

我该如何解决这个问题?提前致谢!

编辑:这个问题已经解决了,但是又出现了另一个问题。这是该问题的链接: Packages have unmet dependencies when installing mono-devel in Kali (Debian)

最佳答案

我只是用谷歌搜索了很多并且玩了一下。我在终端中输入了以下内容:

dpkg --print-foreign-architectures

它说:x86

由于 x86 不是有效的 Debian(衍生)架构,因此我通过以下方式将其删除:

dpkg --remove-architecture x86

然后apt-get update就可以工作了!

关于linux - 如何在 Debian 中安装 Mono,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36404716/

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