VMware中Ubuntu14.04安装SSH过程中出现问题,无法完成安装,问题描述如下:
The following packages have unmet dependencies:
openssh-server : Depends: openssh-client (= 1:6.6p1-2ubuntu2.3)
E: Unable to correct problems, you have held broken packages.
出现此问题的原因是安装openssh-server的依赖(openssh-client)不满足要求,安装相应的openssh-client即可,安装命令如下:
sudo apt-get install openssh-client=1:6.6p1-2ubuntu2.3
问题解决后,重新安装即可。安装过程如下图所示:
#检查是否安装了ssh
service ssh
#安装ssh
sudo apt-get install openssh-server
#安装openssh-client
sudo apt-get install openssh-client=1:6.6p1-2ubuntu2.3