Reading package lists... Done
E: Failed to fetch https://mirrors.ustc.edu.cn/ubuntu-ports/dists/focal/main/binary-amd64/Packages 404 Not Found [IP: 2001:da8:d800:95::110 443]
E: Failed to fetch https://mirrors.ustc.edu.cn/ubuntu-ports/dists/focal-updates/main/binary-amd64/Packages 404 Not Found [IP: 2001:da8:d800:95::110 443]
E: Failed to fetch https://mirrors.ustc.edu.cn/ubuntu-ports/dists/focal-backports/main/binary-amd64/Packages 404 Not Found [IP: 2001:da8:d800:95::110 443]
E: Failed to fetch https://mirrors.ustc.edu.cn/ubuntu-ports/dists/focal-security/main/binary-amd64/Packages 404 Not Found [IP: 2001:da8:d800:95::110 443]
E: Some index files failed to download. They have been ignored, or old ones used instead.
RK3588开发板,arm64架构,Ubuntu20.04.06 LTS进行 sudo apt-get update 一直报上面错误,源使用的是20.04对应版本focal,且使用arm64架构的ubuntu-ports,换了很多源一直报同样的错,不知为什么。
但点进去该报错链接页面确实不存在,404…
后来多方查找终于解决了!!!
运行:
dpkg --print-architecture
输出:
arm64
运行:
dpkg --print-foreign-architecture
输出:
amd64
貌似是多了amd64这个外部架构,需删除掉它。
解决:文章来源:https://www.toymoban.com/news/detail-767548.html
sudo dpkg --remove-archecture amd64
这之后 sudo apt-get install 成功。文章来源地址https://www.toymoban.com/news/detail-767548.html
到了这里,关于Ubuntu20.04换源报错E: Failed to fetch https://mirrors.ustc.edu.cn/ubuntu-ports/....的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!