pt-get在Ubuntu 14.04上无法解决未满足的依赖关系libserf-1-1

当我试图更新我的系统后,它告诉我有一些可用的更新,我有麻烦…

我首先运行下面的命令没有任何问题:

sudo apt-get update 

然后我试图“升级”,这里是输出:

 #:~$ sudo apt-get upgrade 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: libserf-dev : Depends: libserf-1-1 (= 1.3.3-1ubuntu0.1) but it is not installed libserf1-dbg : Depends: libserf-1-1 (= 1.3.3-1ubuntu0.1) but it is not installed libsvn1 : Depends: libserf-1-1 (>= 1.2) but it is not installed E: Unmet dependencies. Try using -f. 

所以我跑了“sudo apt-get -f install”:

 #:~$ sudo apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following extra packages will be installed: libserf-1-1 The following NEW packages will be installed: libserf-1-1 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 7 not fully installed or removed. Need to get 0 B/42.2 kB of archives. After this operation, 164 kB of additional disk space will be used. Do you want to continue? [Y/n] (Reading database ... 360153 files and directories currently installed.) Preparing to unpack .../libserf-1-1_1.3.3-1ubuntu0.1_amd64.deb ... Unpacking libserf-1-1:amd64 (1.3.3-1ubuntu0.1) ... dpkg: error processing archive /var/cache/apt/archives/libserf-1-1_1.3.3-1ubuntu0.1_amd64.deb (--unpack): trying to overwrite '/usr/lib/x86_64-linux-gnu/libserf-1.so.1.3.0', which is also in package libserf1:amd64 1.3.2-0.1ubuntu0~ppa4 Errors were encountered while processing: /var/cache/apt/archives/libserf-1-1_1.3.3-1ubuntu0.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) 

所以“-f安装”没有解决我的“未满足的依赖”问题…

有没有人有如何解决这个问题的想法?

任何帮助将非常感激!

非常感谢 !

好 ! 我解决了我的问题! 我在AskUbuntu上find了答案: 那里 。

我必须运行以下命令:sudo dpkg -r –force-depends libserf1然后我可以运行更新没有任何问题!