大家好,我尝试在 vmware 中的 Ubuntu 14.04LTS 中安装 SSH,但大多数时候我都会收到以下错误消息,请问这可能是什么问题?
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:
ssh : Depends: openssh-server (>= 1:6.6p1-2ubuntu2.8) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
答案1
打开终端并输入:
sudo apt-get update
sudo apt-get install openssh-client # client for secure access to remote machines
sudo apt-get install aptitude
sudo aptitude install ssh
可选命令:
sudo apt-get install openssh-server # server for secure access from remote machines
sudo apt-get install hotssh # GUI front-end for ssh