六个月前,我在虚拟机上安装了 ubuntu。到目前为止,我从未需要过 ssh 连接。但是当我尝试安装 sshd 时,出现此错误:
root@onur-vmdesktop:/home/onur# 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 (= 1:5.3p1-3ubuntu3) but 1:5.3p1-3ubuntu5 is to be installed
E: Broken packages
我能做些什么?
答案1
我会建议
aptitude update
aptitude upgrade
aptitude install openssh-server
您可以aptitude
用apt-get
系统地替换。
但我相信https://askubuntu.com/是一个更好的询问地点。