APT 安装错误

APT 安装错误

我在尝试安装某些东西时遇到错误。由于我的语言是英语(我是土耳其语),我无法从错误中得到太多信息。

例如在安装 nasm 时;

>>> sudo apt install nasm                                                                                                                                                           
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  nasm
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 382 kB of archives.
After this operation, 3.345 kB of additional disk space will be used.
Err:1 http://tr.archive.ubuntu.com/ubuntu groovy/universe amd64 nasm amd64 2.15.04-1
  Could not connect to tr.archive.ubuntu.com:80 (193.140.98.183). - connect (113: No route to host)
E: Failed to fetch http://tr.archive.ubuntu.com/ubuntu/pool/universe/n/nasm/nasm_2.15.04-1_amd64.deb  Could not connect to tr.archive.ubuntu.com:80 (193.140.98.183). - connect (113: No route to host)
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

答案1

ubuntu 的 tr 存档服务器抛出错误

更改http://tr.archive.ubuntu.com/ubuntu进入/etc/apt/sources.listhttp://archive.ubuntu.com/ubuntu

做一个

apt-get update

然后尝试安装

apt install nasm 

希望这可以帮助。

相关内容