![在 Ubuntu 18.04 中运行 sudo apt-get update 时出现“无法解析‘proxyhost’”](https://linux22.com/image/1167984/%E5%9C%A8%20Ubuntu%2018.04%20%E4%B8%AD%E8%BF%90%E8%A1%8C%20sudo%20apt-get%20update%20%E6%97%B6%E5%87%BA%E7%8E%B0%E2%80%9C%E6%97%A0%E6%B3%95%E8%A7%A3%E6%9E%90%E2%80%98proxyhost%E2%80%99%E2%80%9D.png)
sudo apt-get update
在 Ubuntu 18.04 LTS 中无法使用
Err:1 http://in.archive.ubuntu.com/ubuntu bionic InRelease
Could not resolve 'proxyhost'
Err:2 http://in.archive.ubuntu.com/ubuntu bionic-updates InRelease
Could not resolve 'proxyhost'
Err:3 http://in.archive.ubuntu.com/ubuntu bionic-backports InRelease
Could not resolve 'proxyhost'
Err:4 http://in.archive.ubuntu.com/ubuntu bionic-security InRelease
Could not resolve 'proxyhost'
Reading package lists... Done
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/bionic/InRelease Could not resolve 'proxyhost'
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Could not resolve 'proxyhost'
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Could not resolve 'proxyhost'
W: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/bionic-security/InRelease Could not resolve 'proxyhost'
W: Some index files failed to download. They have been ignored, or old ones used instead.