Ubuntu 中的“损坏的软件包”安装错误

Ubuntu 中的“损坏的软件包”安装错误

当我尝试使用命令在 Ubuntu 机器上安装 subversion 时sudo apt-get install subversion,它引发了以下错误。

~$ sudo apt-get install subversion
[sudo] password for hwsui:
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:
  subversion: Depends: libsvn1 (= 1.6.5dfsg-1ubuntu1~jaunty1~andersk1) but it is                                                                                         not going to be installed
              Depends: libapr1 but it is not installable
              Depends: libaprutil1 but it is not installable
              Depends: libmysqlclient15off (>= 5.0.27-1) but it is not installab                                                                                        le
              Depends: libneon27-gnutls (>= 0.28.2) but it is not installable
              Depends: libpq5 (>= 8.3~beta1) but it is not installable
E: Broken packages

答案1

您可以尝试使用参数运行apt -get-f尝试纠正具有破坏依赖关系的系统。

相关内容