分页: 1 / 1

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

发表于 : 2016-09-01 20:32
seven.yz
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

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

发表于 : 2016-09-01 21:00
qy117121
apt update 了没?

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

发表于 : 2016-09-02 6:57
poloshiao
http://packages.ubuntu.com/xenial/openssh-server
Package: openssh-server (1:7.2p2-4ubuntu2.1 and others) [security]

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

或者更換下載伺服器

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

发表于 : 2016-09-02 20:26
seven.yz
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?

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

发表于 : 2016-09-02 20:27
seven.yz
poloshiao 写了:http://packages.ubuntu.com/xenial/openssh-server
Package: openssh-server (1:7.2p2-4ubuntu2.1 and others) [security]

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

或者更換下載伺服器
具体怎么弄, 求支持!!!!

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

发表于 : 2016-12-05 20:07
你的益达
更换源