Kubuntu:GIMP 拒绝安装,未满足依赖关系

Kubuntu:GIMP 拒绝安装,未满足依赖关系
root@myself:/home/myself# apt-get install gimp
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:
 atom : Depends: git
        Depends: gvfs-bin
 gimp : Depends: libgimp2.0 (>= 2.8.16) but it is not going to be installed
        Depends: libgimp2.0 (<= 2.8.16-z) but it is not going to be installed
        Depends: gimp-data (>= 2.8.16) but it is not going to be installed
        Depends: gimp-data (<= 2.8.16-z) but it is not going to be installed
        Depends: python-gtk2 (>= 2.8.0) but it is not going to be installed
        Depends: libbabl-0.1-0 (>= 0.1.10) but it is not going to be installed
        Depends: libgegl-0.3-0 (>= 0.3.0) but it is not going to be installed
        Depends: libpoppler-glib8 (>= 0.18.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@myself:/home/myself# 

我尝试通过 Discover(Kubuntu 软件中心)安装它,但它声称我需要摆脱 Atom 才能安装 GIMP。我两者都需要。我没有尝试过,apt-get -f install因为它很可能会删除原子。有没有办法在我的电脑上同时拥有两者?

答案1

运行以下命令:

sudo apt-get install --fix-broken
sudo apt-get autoremove
sudo add-apt-repository ppa:otto-kesselgulasch/gimp 
sudo apt-get update 
sudo apt-get install gimp

相关内容