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

相關內容