问题来源:新容器安装git:
apt install git
报错:
Err:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 libcurl3-gnutls amd64 7.58.0-2ubuntu3.16
404 Not Found [IP: 101.6.15.130 443]
Err:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 git-man all 1:2.17.1-1ubuntu0.9
404 Not Found [IP: 101.6.15.130 443]
Err:3 https://mirrors.tuna.tsinghua.edu.cn/ubuntu bionic-updates/main amd64 git amd64 1:2.17.1-1ubuntu0.9
404 Not Found [IP: 101.6.15.130 443]
E: Failed to fetch https://mirrors.tuna.tsinghua.edu.cn/ubuntu/pool/main/c/curl/libcurl3-gnutls_7.58.0-2ubuntu3.16_amd64.deb 404 Not Found [IP: 101.6.15.130 443]
E: Failed to fetch https://mirrors.tuna.tsinghua.edu.cn/ubuntu/pool/main/g/git/git-man_2.17.1-1ubuntu0.9_all.deb 404 Not Found [IP: 101.6.15.130 443]
E: Failed to fetch https://mirrors.tuna.tsinghua.edu.cn/ubuntu/pool/main/g/git/git_2.17.1-1ubuntu0.9_amd64.deb 404 Not Found [IP: 101.6.15.130 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
问题解决很简单,只需要运行一下
apt-get update
即可,并不是清华源或者网络的问题。