win7虚拟机(VMware)中的 ubuntu16.04中安装ssh报错.请求大神支持 如何解决问题

OpenStack/Juju/MAAS/CloudStack/Hadoop
回复
seven.yz
帖子: 4
注册时间: 2015-09-10 11:21
系统: mac

win7虚拟机(VMware)中的 ubuntu16.04中安装ssh报错.请求大神支持 如何解决问题

#1

帖子 seven.yz » 2016-09-01 20:32

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, or
is only available from another source

E: Package 'openssh-server' has no installation candidate
头像
qy117121
论坛版主
帖子: 50530
注册时间: 2007-12-14 13:40
系统: Winbuntu
来自: 志虚国乌由市
联系:

Re: win7虚拟机(VMware)中的 ubuntu16.04中安装ssh报错.请求大神支持 如何解决问题

#2

帖子 qy117121 » 2016-09-01 21:00

apt update 了没?
渠月 · QY   
本人只会灌水,不负责回答问题
无聊可以点一下→ http://u.nu/ubuntu

Ubuntu 20.04 快速设置指南,请配合浏浏览器自动翻译使用

邮箱 chuan@ubuntu.org.cn
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: win7虚拟机(VMware)中的 ubuntu16.04中安装ssh报错.请求大神支持 如何解决问题

#3

帖子 poloshiao » 2016-09-02 6:57

http://packages.ubuntu.com/xenial/openssh-server
Package: openssh-server (1:7.2p2-4ubuntu2.1 and others) [security]

猜測 可能網路不穩定
等網路穩定後 再試試

或者更換下載伺服器
seven.yz
帖子: 4
注册时间: 2015-09-10 11:21
系统: mac

Re: win7虚拟机(VMware)中的 ubuntu16.04中安装ssh报错.请求大神支持 如何解决问题

#4

帖子 seven.yz » 2016-09-02 20:26

qy117121 写了:apt update 了没?
update 也报错.如下
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
seven.yz
帖子: 4
注册时间: 2015-09-10 11:21
系统: mac

Re: win7虚拟机(VMware)中的 ubuntu16.04中安装ssh报错.请求大神支持 如何解决问题

#5

帖子 seven.yz » 2016-09-02 20:27

poloshiao 写了:http://packages.ubuntu.com/xenial/openssh-server
Package: openssh-server (1:7.2p2-4ubuntu2.1 and others) [security]

猜測 可能網路不穩定
等網路穩定後 再試試

或者更換下載伺服器
具体怎么弄, 求支持!!!!
你的益达
帖子: 3
注册时间: 2016-12-03 12:11
系统: windows7

Re: win7虚拟机(VMware)中的 ubuntu16.04中安装ssh报错.请求大神支持 如何解决问题

#6

帖子 你的益达 » 2016-12-05 20:07

更换源
回复