安装 netatalk 后依赖关系中断

安装 netatalk 后依赖关系中断

最近,我从家庭服务器上的源安装了 netatalk。几天前,我尝试使用 apt-get 安装一些软件包,但收到有关依赖关系中断的消息。

The following packages have unmet dependencies:
 krb5-multidev : Depends: libkrb5-3 (= 1.9.1+dfsg-1ubuntu2.3) but 1.10.1+dfsg-2 is to be installed
             Depends: libgssapi-krb5-2 (= 1.9.1+dfsg-1ubuntu2.3) but 1.10.1+dfsg-2 is to be installed
 libc-dev-bin : Depends: libc6 (< 2.14) but 2.15-0ubuntu15 is to be installed
            Recommends: manpages-dev but it is not going to be installed
 libc6-dev : Depends: libc6 (= 2.13-20ubuntu5.1) but 2.15-0ubuntu15 is to be installed
 libnih1 : Depends: libc6 (< 2.14) but 2.15-0ubuntu15 is to be installed
 ushare:i386 : Depends: libc6:i386 (>= 2.4) but it is not going to be installed
           Depends: libdlna0:i386 but it is not going to be installed
           Depends: libupnp3:i386 (>= 1.4.3) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

sudo apt-get -f install 想要完全删除系统上安装的所有软件包。我该怎么办?

答案1

首先,按照它告诉你的做:

Try 'apt-get -f install' with no packages (or specify a solution).

(该消息来自 Debian;您实际上应该运行sudo apt-get -f install。)

如果此方法不能解决问题,请执行以下所有操作:

  1. 检查/etc/apt/sources.list并确保您使用的是单一版本(例如precise),并且没有尝试混合来自例如 quantum 等等的源。
  2. 禁用您可能正在使用的任何第三方 PPA。
  3. 跑步sudo apt-get clean
  4. 跑步sudo apt-get update
  5. 跑步sudo apt-get dist-upgrade

相关内容