vm 下开启SSH 的错误
在VM7.1上安装了10.10版本,想开启SSH 服务 以便从windows访问,在安装过程中出现以下错误。
root@ubuntu:~# apt-get install openssh-server openssh-client
Reading package lists... Done
Building dependency tree
Reading state information... Done
openssh-client is already the newest version.
Suggested packages:
rssh molly-guard openssh-blacklist openssh-blacklist-extra
The following NEW packages will be installed:
openssh-server
0 upgraded, 1 newly installed, 0 to remove and 285 not upgraded.
2 not fully installed or removed.
Need to get 0B/302kB of archives.
After this operation, 819kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ... 121798 files and directories currently installed.)
Unpacking openssh-server (from .../openssh-server_1%3a5.5p1-4ubuntu5_i386.deb) ...
ssh config: Aborting because ssh/use_old_init_script = false
dpkg: error processing /var/cache/apt/archives/openssh-server_1%3a5.5p1-4ubuntu5_i386.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/openssh-server_1%3a5.5p1-4ubuntu5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@ubuntu:~#
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Aborting because ssh/use_old_init_script = false
不就是这个错误么
更新下试试看,我用的debian apt-get 安装,没发现这个错误