首页 > 解决方案 > 连接到 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.

标签: linuxubuntuoperating-system

解决方案


ubuntu的br存档服务器现在抛出 504 错误,请等待或将文本更改http://br.archive.ubuntu.com/ubuntu为./etc/apt/sources.listhttp://archive.ubuntu.com/ubuntu


推荐阅读