linux ubuntu server, can't complete “sudo apt-get install ubuntu-desktop” [closed]

心已入冬 提交于 2019-12-11 13:10:19

问题


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?



I tried fix missing command but didn't work for the same reason. I tried to cahnge the proxy like this:

  1. changed the proxy in my host computer. (ultra serf)
  2. changed the proxy settings in my VM to Bridged And Riplicate physical network Connection
    state.
  3. run the command:

    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?


回答1:


Edit your /etc/apt/sources.list.

Find lines containing us.archive.ubuntu.com. Replace that with another mirror from the Ubuntu mirror list, say ubuntu.secs.oakland.edu.

Good luck!

Edit: And don't forget to run apt-get update!



来源:https://stackoverflow.com/questions/9051904/linux-ubuntu-server-cant-complete-sudo-apt-get-install-ubuntu-desktop

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!