2012-07-16 174 views
0

我是linux新手,想用ubuntu 11.10來運行彙編語言程序。 安裝失敗顯示以下信息在Ubuntu 11.10上安裝NASM

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? 

我無法弄清楚問題到底是什麼? 我想提一下,我一直在使用Ubuntu的通過Live CD,而不是作爲一個安裝的操作系統。

+0

你應該在這裏問這個問題:http://askubuntu.com/ – sed 2012-07-16 09:27:44

回答

1

您的互聯網連接似乎有問題。具體的DNS解決方案。檢查你的/etc/resolv.conf

+0

具體來說,他有一個域名解析的問題。檢查你的DNS配置。瀏覽WWW是否工作? – m0skit0 2012-07-16 09:28:22