当我尝试使用 apt-get install gimp 安装 GIMP 时收到以下消息:
The following packages have unmet dependencies:
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: libdbus-1-3 (>= 1.9.14) but 1.6.18-0ubuntu4.3 is to be installed
Depends: libgegl-0.3-0 (>= 0.3.0) but it is not installable
Depends: libglib2.0-0 (>= 2.41.1) but 2.40.2-0ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.
我努力了:
sudo apt-get update
sudo apt-get install -f
sudo apt-get remove <package name>
然后sudo apt-get install aptitude
还sudo aptitude install gimp
给出:
The following NEW packages will be installed:
gimp{b} gimp-data{a} libbabl-0.1-0{a} libgimp2.0{ab} libmng2{a}
0 packages upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 15,1 MB of archives. After unpacking 68,3 MB will be used.
The following packages have unmet dependencies:
gimp : Depends: libdbus-1-3 (>= 1.9.14) but 1.6.18-0ubuntu4.3 is installed.
Depends: libgegl-0.3-0 (>= 0.3.0) which is a virtual package.
Depends: libglib2.0-0 (>= 2.41.1) but 2.40.2-0ubuntu1 is installed.
libgimp2.0 : Depends: libglib2.0-0 (>= 2.41.1) but 2.40.2-0ubuntu1 is installed.
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) gimp [Not Installed]
2) libgimp2.0 [Not Installed]
Leave the following dependencies unresolved:
3) gimp-data recommends gimp
Accept this solution? [Y/n/q/?]
输入 y:
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
该怎么办?谢谢!