linux - 连接到 http://br.archive.ubuntu.com/ubuntu 超时
问题描述
大家好,我在运行 sudo apt-get update 时遇到以下问题,关于可能导致此问题的任何线索?
sudo apt-get update
Hit:1 http://linux.teamviewer.com/deb stable InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:3 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:5 https://download.docker.com/linux/ubuntu bionic InRelease
Hit:6 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease
Hit:7 http://packages.microsoft.com/repos/vscode stable InRelease
Hit:9 http://apt.postgresql.org/pub/repos/apt bionic-pgdg InRelease
Hit:8 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
Err:10 http://br.archive.ubuntu.com/ubuntu bionic InRelease
Could not connect to br.archive.ubuntu.com:80 (200.236.31.4). - connect (113: No route to host)
Err:11 http://br.archive.ubuntu.com/ubuntu bionic-updates InRelease
Unable to connect to br.archive.ubuntu.com:http:
Err:12 http://br.archive.ubuntu.com/ubuntu bionic-backports InRelease
Unable to connect to br.archive.ubuntu.com:http:
Reading package lists... Done
W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/bionic/InRelease Could not connect to br.archive.ubuntu.com:80 (200.236.31.4). - connect (113: No route to host)
W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Unable to connect to br.archive.ubuntu.com:http:
W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Unable to connect to br.archive.ubuntu.com:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
解决方案
ubuntu的br
存档服务器现在抛出 504 错误,请等待或将文本更改http://br.archive.ubuntu.com/ubuntu
为./etc/apt/sources.list
http://archive.ubuntu.com/ubuntu
推荐阅读
- python - Pytorch - 使用现有模型的部分或片段
- python - 来自导入模块的 PEP8 和长方法名称
- python - 当数据集有“-”和“无”单元格时,Pandas 填充缺失的数据
- docker - Docker 卷是否使用跨 Docker 服务副本共享的本地驱动程序?
- apache-kafka - 设置 clauster 时,kafka 代理的推荐 RAM 大小是多少?
- r - 按日期聚合列表中的数据框,然后合并回来 - lapply?
- excel - 在信息有限的情况下增加/减少值
- ios - 自定义 UITableViewCell 中的 UIView 不可见
- javascript - 如何使用 Node-JS 在浏览器的客户端执行 javascript 函数?
- java - 如何在 IntelliJ 插件中添加事件侦听器?