![Ubuntu 中的“损坏的软件包”安装错误](https://linux22.com/image/1305732/Ubuntu%20%E4%B8%AD%E7%9A%84%E2%80%9C%E6%8D%9F%E5%9D%8F%E7%9A%84%E8%BD%AF%E4%BB%B6%E5%8C%85%E2%80%9D%E5%AE%89%E8%A3%85%E9%94%99%E8%AF%AF.png)
当我尝试使用命令在 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
尝试纠正具有破坏依赖关系的系统。