问题:

错误:6 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports InRelease
  暂时不能解析域名“mirrors.tuna.tsinghua.edu.cn”
错误:7 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRelease
  暂时不能解析域名“mirrors.tuna.tsinghua.edu.cn”

原因:

大概率是因为你的 🪜 导致网络重定向失败 或 DNS被劫持导致。

解决方法:

sudo vim /etc/apt/apt.conf

设置访问网络出的端口【这个地址去看🪜的设置】,目的是将apt的网络访问重定向至转流端口上。

Acquire::http::proxy "http://IP:端口/";;
Acquire::https::proxy "http://IP:端口/";;

再次尝试

sudo apt update
sudo apt upgrade

Logo

有“AI”的1024 = 2048,欢迎大家加入2048 AI社区

更多推荐