安装openssh-server失败解决

2023-10-29

sudo apt-get install openssh-server


Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
openssh-server: Depends: openssh-client (*******) but ***** is to be installed
E: Broken packages

解决办法:

sudo apt-get  autoremove  openssh-client

然后重新安装:

sudo apt-get install openssh-client openssh-server

启动sshd服务:

sudo /etc/init.d/ssh start

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

安装openssh-server失败解决 的相关文章

随机推荐