可能存在一些依赖问题或者软件源出了问题。先把软件源换到ubuntu官方源,然后update,upgrade,将所有已经安装的软件更新一下,然后apt-get -f install修复一下破损的依赖关系。最后再来试试安装openssh
因为你的libnet-http-perl这个包出了问题,你首先要apt-get remove libnet-http-perl然后再执行apt-get install openssh-server openssh-client。有问题可以追问我