ubuntu图下安装软件出现You might want to run 'apt-get -f install' to correct these解决

今天在ubuntu下安装任何软件都提示以下错误:

You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 kate : Depends: kdelibs4c2a (>= 4:3.5.9) but it is not going to be installed
        Depends: libqt3-mt (>= 3:3.3.8b) but it is not going to be installed
        Recommends: kregexpeditor but it is not installable
 kscope : Depends: kdelibs4c2a (>= 4:3.5.7-1) but it is not going to be installed
          Depends: libaudio2 but it is not going to be installed
          Depends: libqt3-mt (>= 3:3.3.8really3.3.7) but it is not going to be installed
          Depends: cscope but it is not going to be installed
          Depends: exuberant-ctags but it is not going to be installed
          Depends: graphviz but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

解决方法:

     删除提示的kate和kscope两个未完全安装的软件。

    $sudo dpkg --purge kate

    $sudo dpkg --purge kscope

 

你可能感兴趣的:(c,ubuntu,dependencies,Graphviz)