我需要使用 sudo apt-get update,但它给了我大量错误。我尝试使用 sudo apt-get update --fix-missing,但它也给了我错误。这是输出:
**
Err:1 https://apt.dockerproject.org/repo ubuntu-xenial InRelease Connection timed out after 120001 milliseconds
Err:2 http://cran.rstudio.com/bin/linux/ubuntu trusty/ InRelease Could not connect to 10.149.10.11:8080 (10.149.10.11), connection timed out
Err:3 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu xenial InRelease Could not connect to 10.149.10.11:8080 (10.149.10.11), connection timed out
Err:4 http://eg.archive.ubuntu.com/ubuntu xenial InRelease Could not connect to 10.149.10.11:8080 (10.149.10.11), connection timed out
Err:5 http://eg.archive.ubuntu.com/ubuntu xenial-updates InRelease Unable to connect to 10.149.10.11:8080:
Err:6 http://eg.archive.ubuntu.com/ubuntu xenial-backports InRelease Unable to connect to 10.149.10.11:8080:
Err:7 http://security.ubuntu.com/ubuntu xenial-security InRelease Could not connect to 10.149.10.11:8080 (10.149.10.11), connection timed out
Err:8 http://cz.archive.ubuntu.com/ubuntu trusty InRelease Could not connect to 10.149.10.11:8080 (10.149.10.11), connection timed out
Err:9 http://archive.canonical.com (lsb_release InRelease Could not connect to 10.149.10.11:8080 (10.149.10.11), connection timed out
Err:10 http://archive.canonical.com xenial InRelease Unable to connect to 10.149.10.11:8080:
Err:11 http://dl.google.com/linux/chrome/deb stable InRelease Could not connect to 10.149.10.11:8080 (10.149.10.11), connection timed out
Err:12 https://apt.dockerproject.org/repo ubuntu-trusty InRelease Connection timed out after 120001 milliseconds Reading package lists... Done
W: Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/xenial/InRelease Could not connect to 10.149.10.11:8080 (10.149.10.11), connection timed out
W: Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease Unable to connect to 10.149.10.11:8080:
W: Failed to fetch http://eg.archive.ubuntu.com/ubuntu/dists/xenial-backports/InRelease Unable to connect to 10.149.10.11:8080:
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/InRelease Could not connect to 10.149.10.11:8080 (10.149.10.11), connection timed out
W: Failed to fetch http://cz.archive.ubuntu.com/ubuntu/dists/trusty/InRelease Could not connect to 10.149.10.11:8080 (10.149.10.11), connection timed out
W: Failed to fetch https://apt.dockerproject.org/repo/dists/ubuntu-xenial/InRelease Connection timed out after 120001 milliseconds
W: Failed to fetch http://archive.canonical.com/dists/(lsb_release/InRelease Could not connect to 10.149.10.11:8080 (10.149.10.11), connection timed out
W: Failed to fetch http://archive.canonical.com/dists/xenial/InRelease Unable to connect to 10.149.10.11:8080:
W: Failed to fetch http://cran.rstudio.com/bin/linux/ubuntu/trusty/InRelease Could not connect to 10.149.10.11:8080 (10.149.10.11), connection timed out
W: Failed to fetch https://apt.dockerproject.org/repo/dists/ubuntu-trusty/InRelease Connection timed out after 120001 milliseconds
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/InRelease Could not connect to 10.149.10.11:8080 (10.149.10.11), connection timed out
W: Failed to fetch http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu/dists/xenial/InRelease Could not connect to 10.149.10.11:8080 (10.149.10.11), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.
**
答案1
这要么是您的互联网连接问题,如果不是,请确保是否为连接设置了任何代理并且已经过身份验证。