linux ubuntu服务器,无法完成"sudo apt-get install ubuntu-desktop"; [英] linux ubuntu server, can't complete "sudo apt-get install ubuntu-desktop"
问题描述
我在Vm ware中安装了ubuntu服务器10.41,我想安装桌面
但是每次我尝试执行命令sudo apt-get install ubuntu-desktop
出现此错误:
I'va installed ubuntu server 10.41 in Vm ware, and I would like to install the desktop
but each time i try to do the command sudo apt-get install ubuntu-desktop
this error shows up:
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/libp/libproxy/
libproxy0-o.3.1-ubuntu1-amd64.deb 403 Forbidden [Ip:91.189.92.179 80]
E:ubable to fetch some archives,maybe run apt-get update or try with fix --missing?
我尝试了fix missing
命令,但由于相同的原因而无法正常工作.
我试图像这样更改代理:
I tried fix missing
command but didn't work for the same reason.
I tried to cahnge the proxy like this:
- 更改了我的主机中的代理. (超农奴)
- 将我的VM中的代理设置更改为桥接并复制物理网络连接"状态.
-
运行命令:
- changed the proxy in my host computer. (ultra serf)
- changed the proxy settings in my VM to Bridged And Riplicate physical network Connection
state. run the command:
导出http-proxy
http-proxy = http://127.0.0.1:80
同样的问题,所以我应该在ubuntu中更改代理设置,但是我不知道如何
顺便说一下,拒绝拒绝下载的丢失文件是38.1KB
完美下载了其他文件
所以也许我可以将其下载到主机(windows xp)中并移至ubuntu
,但我不知道下载的软件包OR
的目录在哪里,我可以在哪里添加此文件,有谁可以帮忙我吗?
export http-proxy
http-proxy=http://127.0.0.1:80
same problem, so mybe i should change the proxy settings in ubuntu but I don't know how
By the way the missing file that is refusing to be downlaoded is 38.1KB
and all other files are perfectly downloaded
so maybe i can just download it in the host(windows xp) and move to ubuntu
but i don't know where is the directory for the downloaded package OR
where can i add this file, can any one help me?
推荐答案
编辑您的/etc/apt/sources.list
.
查找包含us.archive.ubuntu.com
的行.用 Ubuntu镜像列表中的另一个镜像替换,例如ubuntu.secs.oakland.edu
.
Find lines containing us.archive.ubuntu.com
. Replace that with another mirror from the Ubuntu mirror list, say ubuntu.secs.oakland.edu
.
祝你好运!
并且不要忘记运行apt-get update
!
这篇关于linux ubuntu服务器,无法完成"sudo apt-get install ubuntu-desktop";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!