我浏览了所有现有的帖子,但没有成功。我尝试过
sudo dpkg --add-architecture armhf
什么都没发生。我还尝试运行我在其他问题上找到的脚本并删除 ppa,但这也不起作用......我该如何修复这个问题 :(?或者我该如何摆脱这个错误?
我收到以下错误(抱歉,我试图发布图片,但由于我的声誉低下,它不允许我发布)
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/universe/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::19 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/trusty-security/multiverse/binary-armhf/Packages 404 Not Found [IP: 2001:67c:1360:8c01::19 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
答案1
在/etc/apt/sources.list
,编辑如下行
deb http://archive.ubuntu.com/ubuntu/ trusty-security universe
deb http://archive.ubuntu.com/ubuntu/ trusty-security multiverse
所以它们看起来像这样
deb [ arch=amd64,i386 ] http://archive.ubuntu.com/ubuntu/ trusty-security universe
deb [ arch=amd64,i386 ] http://archive.ubuntu.com/ubuntu/ trusty-security multiverse
然后再次运行sudo apt-get update
。出现此问题的原因是您尝试更新的存储库不支持该体系结构。您可以通过在 Web 浏览器中armhf
导航到 来自己测试。您将看到和目录,但没有目录。http://archive.ubuntu.com/ubuntu/dists/trusty-security/universe
binary-amd64
binary-i386
binary-armhf