root@ecs-272468:~# sudo apt-get install subversion
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
python-minimal : Depends: python2.7-minimal (>= 2.7.12-1~) but it is not going to be installed
Recommends: python but it is not going to be installed
python2.7 : Depends: python2.7-minimal (= 2.7.12-1ubuntu0~16.04.18) but it is not going to be installed
subversion : Depends: libsvn1 (= 1.9.3-2ubuntu1.3) but it is not going to be installed
Depends: libapr1 (>= 1.5.0) but it is not going to be installed
Depends: libaprutil1 (>= 1.3.2+dfsg) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@ecs-272468:~# sudo apt-get remove python2.7
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
python-minimal : Depends: python2.7-minimal (>= 2.7.12-1~) but it is not going to be installed
Recommends: python but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution)
提示在 -get 后 加上 -f 你试试呗 apt -get -f 百度上也有解释
apt-get -f install 试试,然后你的服务器是否有网络环境,有的话apt-get update一下资源包,再进行安装