在基于仿生的流行操作系统最近更新之后! 18.04 到基于 Cosmic 的 Pop 操作系统! 18.10,执行apt update
总是会导致无法获取....暂时失败解决少数网站出现错误。有趣的是,
- 失败的 apt 源因每次执行而异
apt update
, - 在执行时或执行后可以通过浏览器成功访问失败的 apt 源的 URL
apt update
,并且 - 所有的失败都与发布中文件。
知道什么可能会搞砸吗?
编辑1
时间: 2019 年 3 月 28 日星期四 12:04:42 CDT
输出:
W: Failed to fetch http://archive.canonical.com/ubuntu/dists/cosmic/InRelease Temporary failure resolving 'archive.canonical.com'
W: Failed to fetch http://apt.pop-os.org/proprietary/dists/cosmic/InRelease Temporary failure resolving 'apt.pop-os.org'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/cosmic-security/InRelease Temporary failure resolving 'security.ubuntu.com'
W: Failed to fetch https://packagecloud.io/AtomEditor/atom/any/dists/any/InRelease Temporary failure resolving 'packagecloud.io'
W: Failed to fetch https://brave-browser-apt-release.s3.brave.com/dists/cosmic/InRelease Temporary failure resolving 'brave-browser-apt-release.s3.brave.com'
W: Failed to fetch http://downloads.skewed.de/apt/cosmic/dists/cosmic/InRelease Temporary failure resolving 'downloads.skewed.de'
W: Failed to fetch https://deb.nodesource.com/node_10.x/dists/cosmic/InRelease Temporary failure resolving 'deb.nodesource.com'
W: Failed to fetch http://repository.spotify.com/dists/stable/InRelease Temporary failure resolving 'repository.spotify.com'
W: Failed to fetch https://download.virtualbox.org/virtualbox/debian/dists/cosmic/InRelease Temporary failure resolving 'download.virtualbox.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
时间: 2019 年 3 月 28 日星期四 12:08:43 CDT
输出:
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/cosmic/InRelease Temporary failure resolving 'us.archive.ubuntu.com'
W: Failed to fetch http://apt.pop-os.org/proprietary/dists/cosmic/InRelease Temporary failure resolving 'apt.pop-os.org'
W: Failed to fetch http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu/dists/cosmic/InRelease Temporary failure resolving 'ppa.launchpad.net'
W: Failed to fetch https://packagecloud.io/AtomEditor/atom/any/dists/any/InRelease Temporary failure resolving 'packagecloud.io'
W: Failed to fetch https://brave-browser-apt-release.s3.brave.com/dists/cosmic/InRelease Temporary failure resolving 'brave-browser-apt-release.s3.brave.com'
W: Failed to fetch https://storage.googleapis.com/download.dartlang.org/linux/debian/dists/stable/InRelease Temporary failure resolving 'storage.googleapis.com'
W: Failed to fetch https://download.docker.com/linux/ubuntu/dists/cosmic/InRelease Temporary failure resolving 'download.docker.com'
W: Failed to fetch http://binaries.erlang-solutions.com/debian/dists/cosmic/InRelease Temporary failure resolving 'binaries.erlang-solutions.com'
W: Failed to fetch http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/dists/cosmic/InRelease Could not connect to ppa.launchpad.net:80 (91.189.95.83), connection timed out [IP: 91.189.95.83 80]
W: Failed to fetch https://packages.microsoft.com/ubuntu/18.10/prod/dists/cosmic/InRelease Temporary failure resolving 'packages.microsoft.com'
W: Failed to fetch http://ppa.launchpad.net/plt/racket/ubuntu/dists/cosmic/InRelease Unable to connect to ppa.launchpad.net:http: [IP: 91.189.95.83 80]
W: Failed to fetch http://ppa.launchpad.net/swi-prolog/stable/ubuntu/dists/cosmic/InRelease Unable to connect to ppa.launchpad.net:http: [IP: 91.189.95.83 80]
W: Failed to fetch http://ppa.launchpad.net/system76-dev/stable/ubuntu/dists/cosmic/InRelease Unable to connect to ppa.launchpad.net:http: [IP: 91.189.95.83 80]
W: Failed to fetch http://ppa.launchpad.net/system76/pop/ubuntu/dists/cosmic/InRelease Unable to connect to ppa.launchpad.net:http: [IP: 91.189.95.83 80]
W: Failed to fetch https://download.virtualbox.org/virtualbox/debian/dists/cosmic/InRelease Temporary failure resolving 'download.virtualbox.org'
W: Failed to fetch http://packages.microsoft.com/repos/vscode/dists/stable/InRelease Temporary failure resolving 'packages.microsoft.com'
W: Failed to fetch https://dl.yarnpkg.com/debian/dists/stable/InRelease Temporary failure resolving 'dl.yarnpkg.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
除 之外https://storage.googleapis.com/download.dartlang.org/linux/debian/dists/stable/InRelease
,在命令执行后,每个 URL 都可以立即通过浏览器访问。