N:跳过获取配置文件“main/binary-i386/Packages”,...“https://download.mono-project.com/repo/ubuntu stable-focal InRelease”

N:跳过获取配置文件“main/binary-i386/Packages”,...“https://download.mono-project.com/repo/ubuntu stable-focal InRelease”

完整错误

N: Skipping acquisition of configured file 'main/binary-i386/Packages', as repository 'https://download.mono-project.com/repo/ubuntu stable-focal InRelease' doesn't support architecture 'i386'

我编辑了/etc/apt/sources.list.d/mono-official-stable.list

deb https://download.mono-project.com/repo/ubuntu stable-focal main

deb [arch=i386] https://download.mono-project.com/repo/ubuntu stable-focal main

但现在出现错误

N: Skipping acquisition of configured file 'main/binary-i386/Packages', as repository 'https://download.mono-project.com/repo/ubuntu stable-focal InRelease' doesn't support architecture 'i386'

当我浏览包时,我可以看到 i386 包???

https://download.mono-project.com/repo/ubuntu/dists/stable-focal/main/binary-i386/

我做错了什么蠢事?非常感谢

答案1

此存储库不提供 32 位软件包。其套餐大小为零。

因此您必须[arch=i386][arch=amd64]in替换/etc/apt/sources.list.d/mono-official-stable.list,然后sudo apt-get update再次运行。

答案2

我只输入了 [arch=amd64]/etc/apt/sources.list.d/mono-official-stable.list然后运行了sudo apt update。因为即使 没有指定 ,默认采用的版本也是 [arch=i386] /etc/apt/sources.list.d/mono-official-stable.list

相关内容