sudo apt-get update在我的服务器(有互联网连接)上运行失败。服务器是否暂时损坏,或者我的 APT 配置错误并使用旧服务器?简而言之,我该如何解决这个问题?
这是输出:
~$ uname -a
Linux nematode 2.6.28-19-server #66-Ubuntu SMP Sat Oct 16 18:41:24 UTC 2010 i686 GNU/Linux
~$ sudo apt-get update
Err http://us.archive.ubuntu.com jaunty Release.gpg
Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com jaunty/main Translation-en_US
Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com jaunty/restricted Translation-en_US
Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com jaunty/universe Translation-en_US
Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com jaunty/multiverse Translation-en_US
Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com jaunty-updates Release.gpg
Could not resolve 'us.archive.ubuntu.com'
Err http://us.archive.ubuntu.com jaunty-updates/main Translation-en_US
Could …Run Code Online (Sandbox Code Playgroud) 当我想通过终端使用sudo do-release-upgrade -d命令将 Ubuntu 从 18.04 Bionic Beaver 升级到 18.10 到 Cosmic Cuttlefish 时,它给了我警告:
Failed to connect to https://changelogs.ubuntu.com/meta-release-development.
Check your Internet connection or proxy settings.
Run Code Online (Sandbox Code Playgroud)
但是我有互联网连接,我现在从我的 Ubuntu 计算机上写这个问题。
我该如何解决这个问题?