![sudo apt-get update 失败](https://linux22.com/image/1151825/sudo%20apt-get%20update%20%E5%A4%B1%E8%B4%A5.png)
sudo apt-get update 命令的输出如下:
Hit:9 http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu xenial InRelease
Get:11 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Hit:12 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu xenial InRelease
Hit:13 http://ppa.launchpad.net/webupd8team/brackets/ubuntu xenial InRelease
Err:14 http://dell.archive.canonical.com/updates xenial-dell InRelease
Could not connect to dell.archive.canonical.com:80 (91.189.89.6), connection timed out
Fetched 306 kB in 2min 0s (2,551 B/s)
Reading package lists... Done
W: Failed to fetch http://dell.archive.canonical.com/updates/dists/xenial-dell/InRelease Could not connect to dell.archive.canonical.com:80 (91.189.89.6), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.
答案1
我遇到了同样的问题,寻找另一个镜像可以解决这个问题
从 /etc/apt/sources.list 编辑此部分
http://dell.archive.canonical.com/updates/dists/xenial-dell/InRelease
如果有的话,用具有相同用途或所需软件包的另一个镜像替换“dell.archive.canonical.com”。