报错信息
E: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/focal/main/binary-arm64/Packages 404 Not Found [IP: 180.130.119.241 80]
E: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/focal-security/main/binary-arm64/Packages 404 Not Found [IP: 180.130.119.241 80]
E: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/focal-updates/main/binary-arm64/Packages 404 Not Found [IP: 180.130.119.241 80]
E: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/focal-proposed/main/binary-arm64/Packages 404 Not Found [IP: 180.130.119.241 80]
E: Failed to fetch http://mirrors.aliyun.com/ubuntu/dists/focal-backports/main/binary-arm64/Packages 404 Not Found [IP: 180.130.119.241 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
查看系统信息
$ uname -a // 查看系统信息
Linux ubuntu-linux-20-04-desktop 5.13.0-25-generic #26~20.04.1-Ubuntu SMP Sat Jan 8 18:05:46 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
备份源文件
sudo cp /etc/apt/sources.list /etcapt/sources.list.bak
修改源文件
在链接最后加上
-ports
sudo gedit /etc/apt/sources.list
安装完成
sudo apt-get update
sudo apt-get upgrade