【发布时间】:2022-01-11 05:09:09
【问题描述】:
我现在再次安装了 Ubuntu 18.04。之后,我尝试了更新和升级命令。升级命令执行得很好。但是,更新命令没有执行并给出错误输出。您可以在以下位置查看错误:
sudo apt-get update
Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Err:2 http://tr.archive.ubuntu.com/ubuntu bionic InRelease
Could not resolve 'tr.archive.ubuntu.com'
Err:3 http://tr.archive.ubuntu.com/ubuntu bionic-updates InRelease
Could not resolve 'tr.archive.ubuntu.com'
Err:4 http://tr.archive.ubuntu.com/ubuntu bionic-backports InRelease
Could not resolve 'tr.archive.ubuntu.com'
Reading package lists... Done
W: Failed to fetch http://tr.archive.ubuntu.com/ubuntu/dists/bionic/InRelease Could not resolve 'tr.archive.ubuntu.com'
W: Failed to fetch http://tr.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Could not resolve 'tr.archive.ubuntu.com'
W: Failed to fetch http://tr.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Could not resolve 'tr.archive.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
【问题讨论】:
-
您的问题更适合Ask Ubuntu。这个网站是为编程相关的问题。
标签: bash ubuntu ubuntu-18.04 apt apt-get