由于未满足依赖关系,apt-get install openssh-server 无法工作

由于未满足依赖关系,apt-get install openssh-server 无法工作

我是 Ubuntu 环境的新手,它困扰我有一段时间了。

几乎尝试了论坛上建议的所有方法,但都没有成功。我不知道我是否遗漏了什么。

操作系统:Ubuntu 14.04.1 LTS 64位

~$ sudo 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: libck-connector0 (>= 0.2.1) but it is not installable
                  Recommends: ncurses-term but it is not installable
                  Recommends: ssh-import-id but it is not installable
E: Unable to correct problems, you have held broken packages.

答案1

明白了!我libck-connector0从 Ubuntu 软件包存储库下载了,使用安装sudo dpkg -i libck-connector0_0.4.5-2ubuntu0.1_amd64.deb,然后再次尝试。这次成功了。

并检查此链接添加 PPA 后如何解决未满足的依赖关系?,这个家伙涵盖了此类错误的所有可能情况。

相关内容