安裝openssh-server時,報瞭如下的依賴問題:
The following packages have unmet dependencies:
openssh-server : Depends: openssh-client (= 1:6.6p1-2ubuntu2.13)
Recommends: ssh-import-id but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
問題出現原因:openssh-server所依賴的openssh-client版本不存在,openssh-client沒有安裝或者安裝的版本不匹配
解決方法:安裝提示的openssh-client版本,比如我的只需要執行如下命令:
apt-get install openssh-client=1:6.6p1-2ubuntu2.13
安裝完畢後就可以接着安裝openssh-server了。
歡迎志趣相投的朋友一起學習交流!
本人qq:906570770
技術資料分享羣:272811256