无法安装 subversion ubuntu 14.04 未满足的依赖项

无法安装 subversion ubuntu 14.04 未满足的依赖项

我无法在 Ubuntu 14.04 上安装 subversion。我收到以下错误消息:

$ sudo apt-get install subversion
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.8.8-1ubuntu3.2) but it is not going to be installed
              Depends: libapr1 (>= 1.4.8-2~) but it is not installable
              Depends: libaprutil1 (>= 1.2.7+dfsg) but it is not installable
E: Unable to correct problems, you have held broken packages.

请问可能是问题所在。

答案1

一个可能的原因是,您没有某些软件包的最新版本。您应该先尝试通过运行以下命令进行更新:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install subversion

相关内容