Ubuntu apt-get命令错误,如何解决?

服务器是 Ubuntu 16.04 server 64bit的镜像
本想在上边装一个svn,但是好像安装包有问题,提示python包版本错误什么的,头一次遇到这种问题。(无语了好久)
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).
之后想再卸载python2.7重装下,也是出现类似错误
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)
本人之前并没怎么接触过 ubuntu系统。问题错误也看不懂 求帮忙指点一下 )>.<(

提示在 -get 后 加上 -f 你试试呗 apt -get -f 百度上也有解释

apt-get -f install 试试,然后你的服务器是否有网络环境,有的话apt-get update一下资源包,再进行安装