在ubuntu 11.10上安装NASM

时间:2012-07-16 09:23:31

标签: linux nasm ubuntu-11.10

我是linux的新手,想要使用ubuntu 11.10运行汇编语言程序。 安装失败,显示以下消息

Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
mplayer-skins mplayer libggi2 libgii1 libgii1-target-x youtube-dl
Use ‘apt-get autoremove’ to remove them.
The following NEW packages will be installed:
nasm
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1557kB of archives.
After unpacking 2855kB of additional disk space will be used.
Err
http://archive.ubuntu.com/ubuntu/onieric/main nasm i386 2.09.081 could
not resolve 'archive.ubuntu.com'.
failed to fetch
http://archive.ubuntu.com/ubuntu/pool/main/n/nasm/nasm-2.09.08-1-i386.deb
could not resolve 'archive.ubuntu.com'
E: unable to fetch some archives, maybe run apt-get update or try with
--fix -missing? 

我无法弄清楚究竟是什么问题? 我想提一下,我一直在通过Live CD使用ubuntu,而不是作为已安装的操作系统。

1 个答案:

答案 0 :(得分:1)

您的互联网连接似乎有问题。特别是dns分辨率。检查你的/etc/resolv.conf