無法安裝 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

相關內容