𝑰’𝒎 𝒉𝒉𝒈, 𝑰 𝒂𝒎 𝒂 𝒈𝒓𝒂𝒅𝒖𝒂𝒕𝒆 𝒔𝒕𝒖𝒅𝒆𝒏𝒕 𝒇𝒓𝒐𝒎 𝑵𝒂𝒏𝒋𝒊𝒏𝒈, 𝑪𝒉𝒊𝒏𝒂.
- 🏫 𝑺𝒉𝒄𝒐𝒐𝒍: 𝑯𝒐𝒉𝒂𝒊 𝑼𝒏𝒊𝒗𝒆𝒓𝒔𝒊𝒕𝒚
- 🌱 𝑳𝒆𝒂𝒓𝒏𝒊𝒏𝒈: 𝑰’𝒎 𝒄𝒖𝒓𝒓𝒆𝒏𝒕𝒍𝒚 𝒍𝒆𝒂𝒓𝒏𝒊𝒏𝒈 𝒅𝒆𝒔𝒊𝒈𝒏 𝒑𝒂𝒕𝒕𝒆𝒓𝒏, 𝑳𝒆𝒆𝒕𝒄𝒐𝒅𝒆, 𝒅𝒊𝒔𝒕𝒓𝒊𝒃𝒖𝒕𝒆𝒅 𝒔𝒚𝒔𝒕𝒆𝒎, 𝒎𝒊𝒅𝒅𝒍𝒆𝒘𝒂𝒓𝒆 𝒂𝒏𝒅 𝒔𝒐 𝒐𝒏.
- 💓 𝑯𝒐𝒘 𝒕𝒐 𝒓𝒆𝒂𝒄𝒉 𝒎𝒆:𝑽𝑿
- 📚 𝑴𝒚 𝒃𝒍𝒐𝒈: 𝒉𝒕𝒕𝒑𝒔://𝒉𝒉𝒈𝒚𝒚𝒅𝒔.𝒃𝒍𝒐𝒈.𝒄𝒔𝒅𝒏.𝒏𝒆𝒕/
- 💼 𝑷𝒓𝒐𝒇𝒆𝒔𝒔𝒊𝒐𝒏𝒂𝒍 𝒔𝒌𝒊𝒍𝒍𝒔:𝒎𝒚 𝒅𝒓𝒆𝒂𝒎
1-1:问题描述
(base) ➜ ~ sudo apt-get update
命中:1 https://linux.teamviewer.com/deb stable InRelease
命中:2 http://archive.ubuntu.com/ubuntu focal InRelease
命中:3 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal InRelease
命中:4 http://archive.canonical.com/ubuntu focal InRelease
命中:5 http://archive.ubuntu.com/ubuntu focal-updates InRelease
命中:6 http://ppa.launchpad.net/linuxuprising/libpng12/ubuntu focal InRelease
命中:7 http://archive.ubuntu.com/ubuntu focal-security InRelease
命中:8 http://archive.ubuntu.com/ubuntu focal-backports InRelease
命中:9 http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu focal InRelease
命中:10 http://ppa.launchpad.net/peek-developers/stable/ubuntu focal InRelease
命中:11 http://ppa.launchpad.net/pinta-maintainers/pinta-stable/ubuntu focal InRelease
错误:12 https://dl.google.com/linux/chrome/deb stable InRelease
无法发起与 dl.google.com:443 (2607:f8b0:4007:815::200e) 的连接 - connect (101: 网络不可达) 无法连接上 dl.google.com:443 (142.250.68.110),连接超时
正在读取软件包列表... 完成
W: 无法下载 https://dl.google.com/linux/chrome/deb/dists/stable/InRelease 无法发起与 dl.google.com:443 (2607:f8b0:4007:815::200e) 的连接 - connect (101: 网络不可达) 无法连接上 dl.google.com:443 (142.250.68.110),连接超时
W: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。
1-2:解决
modify /etc/hosts
and add the following content:
#Download 下载
203.208.41.32 dl.google.com
203.208.41.32 dl-ssl.google.com
#Groups
203.208.41.32 groups.google.com
#Google URL Shortener
203.208.41.32 goo.gl
#Google App Engine
203.208.41.32 appengine.google.com
1-3:成功
(base) ➜ ~ sudo apt-get update
命中:1 https://linux.teamviewer.com/deb stable InRelease
命中:2 https://dl.google.com/linux/chrome/deb stable InRelease
命中:3 http://archive.canonical.com/ubuntu focal InRelease
命中:4 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu focal InRelease
命中:5 http://archive.ubuntu.com/ubuntu focal InRelease
命中:6 http://archive.ubuntu.com/ubuntu focal-updates InRelease
命中:7 http://ppa.launchpad.net/linuxuprising/libpng12/ubuntu focal InRelease
命中:8 http://archive.ubuntu.com/ubuntu focal-security InRelease
命中:9 http://archive.ubuntu.com/ubuntu focal-backports InRelease
命中:10 http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu focal InRelease
命中:11 http://ppa.launchpad.net/peek-developers/stable/ubuntu focal InRelease
命中:12 http://ppa.launchpad.net/pinta-maintainers/pinta-stable/ubuntu focal InRelease
正在读取软件包列表... 完成