虚拟机ubuntu12.04 安装SSH 出错apt-get update 也无法更新 按照网上说法更换sources.list里面的源也不行 5
虚拟机ubuntu12.04安装SSH出错apt-getupdate也无法更新按照网上说法更换sources.list里面的源也不行由于宿主机是代理上网,ubuntu的f...
虚拟机ubuntu12.04 安装SSH 出错apt-get update 也无法更新 按照网上说法更换sources.list里面的源也不行由于宿主机是代理上网,ubuntu的firfox设置代理后也能上网的,在shell终端上也设置了代理上网,还是不能apt-get update 请高手解决。。。网上都说ubuntu是自动集成了openssh-server openssh-client 执行sudo apt-get install openss-client 提示已经存在的 就是openssh-server 有问题
/$ sudo apt-get install openssh-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package openssh-server is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted,
oris only available from another source
E: Package 'openssh-server' has no installation candidate
以上错误在网上搜到很多sudo apt-get update
Ign http://us.archive.ubuntu.com precise-backports/main TranslationIndex
Ign http://us.archive.ubuntu.com precise-backports/universe TranslationIndex
Err http://security.ubuntu.com precise-security/main Sources
Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Err........................5 - No address associated with hostname)
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/Release.gpg Something wicked happened resolving 'extras.ubuntu.com:http' (-5 - No address associated with hostname)
W: ;.................................... (-5 - No address associated with hostname)
E: Some index files failed to download. They have been ignored, or old ones used instead. 展开
/$ sudo apt-get install openssh-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package openssh-server is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted,
oris only available from another source
E: Package 'openssh-server' has no installation candidate
以上错误在网上搜到很多sudo apt-get update
Ign http://us.archive.ubuntu.com precise-backports/main TranslationIndex
Ign http://us.archive.ubuntu.com precise-backports/universe TranslationIndex
Err http://security.ubuntu.com precise-security/main Sources
Something wicked happened resolving 'security.ubuntu.com:http' (-5 - No address associated with hostname)
Err........................5 - No address associated with hostname)
W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/Release.gpg Something wicked happened resolving 'extras.ubuntu.com:http' (-5 - No address associated with hostname)
W: ;.................................... (-5 - No address associated with hostname)
E: Some index files failed to download. They have been ignored, or old ones used instead. 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |