无法在 ubuntu 服务器上运行 sudo apt install wireless-tools

无法在 ubuntu 服务器上运行 sudo apt install wireless-tools

我对 ubuntu 服务器完全陌生,在配置 ubuntu 18.10 live 服务器上的网络时遇到了问题,无法仅通过 wifi 连接。当我运行命令时,sudo apt install wireless-tools我得到以下输出:

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libiw30 wireless-tools
The following NEW packages will be installed:
libiw30 wireless-tools
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 125 KB of archives.
After this operation, 351 KB of additional disk space will be used.
Do you want to conntinue? [Y/n]y
Err:1 http://archive.ubuntu.com/ubuntu cosmic/main amd64 libiw30 amd64 30~pre912ubuntu1
Temporary failure resolving 'archive.ubuntu.com'
.
.
.
.
E:Unable to fetch some archives, maybe run apt-get update or try with --fix-missing

我尝试了两种方法,但仍然不起作用。如果您能提供任何建议,我将不胜感激。

答案1

暂时无法解析“archive.ubuntu.com”

您的sudo apt install...命令正在执行它应该执行的操作,问题是您的计算机无法解析域名 archive.ubuntu.com。

相关内容