免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2153 | 回复: 2
打印 上一主题 下一主题

[VMware] vm 下开启SSH 的错误 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-04-02 09:54 |只看该作者 |倒序浏览
在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:~#

论坛徽章:
1
白羊座
日期:2014-08-26 20:58:00
2 [报告]
发表于 2011-04-13 09:19 |只看该作者
Aborting because ssh/use_old_init_script = false
不就是这个错误么

论坛徽章:
4
CU十二周年纪念徽章
日期:2013-10-24 15:41:34狮子座
日期:2014-02-10 17:22:57技术图书徽章
日期:2014-02-18 08:44:12技术图书徽章
日期:2014-04-29 14:15:42
3 [报告]
发表于 2011-04-22 09:41 |只看该作者
更新下试试看,我用的debian apt-get 安装,没发现这个错误
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP