尝试安装 GIMP 时收到此错误消息。
The following packages have unmet dependencies:
gimp : Depends: python-gtk2 (>= 2.8.0) but it is not going to be installed
Depends: python:any (>= 2.6.6-7~)
E: Unable to correct problems, you have held broken packages.
答案1
打开终端并输入:
sudo apt update
sudo apt install aptitude
sudo aptitude install python-minimal python2.7 python-tk python:any python-gtk2
sudo aptitude install -f gimp
使用 aptitude 而不是 apt 可能会提供一些自动解决方案来删除冲突的包。