apt-get install openssh-server 失败问题解决
Posted g_che
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了apt-get install openssh-server 失败问题解决相关的知识,希望对你有一定的参考价值。
apt-get install openssh-server 主要报错是:Unable to correct problems, you have held broken packages.
此时解决方法:sudo apt-get install openssh-client=1:5.3p1-3ubuntu3 将open-client=后面的版本号 改为报错信息中你已经安装的openssh-client 版本号
解决
ssh localhost 输入密码 但是 Permission denied, please try again.怎么都解决不了,后来网上看到一个解决方法是su passwd 重新改了root的密码 就解决了
以上是关于apt-get install openssh-server 失败问题解决的主要内容,如果未能解决你的问题,请参考以下文章
ubuntu更换pip install,apt-get,conda install 成国内源
Ubuntu下apt-get安装文件提示:apt-get -f install
sudo apt-get install 国内源 解决 apt-get update 问题