Ubuntu 20.04 error on install gimp : Depends: libgimp2.0 (>= 2.10.18) but it is not going to be installed
One solution is to use aptitude
. It is generally smarter than apt-get
at resolving dependencies.
First, install aptitude
:
sudo apt-get install aptitude
Then install Gimp using aptitude
:
sudo aptitude install gimp
And then after running that, Gimp should be installed.
Firstly, update and upgrade so everything is fresh:
sudo apt-get update && sudo apt-get upgrade -y
Then, try these two commands:
sudo dpkg --configure -a
sudo apt-get install -f
They will usually fix broken or unmet dependencies.
You can also look for JUST files related with your package and purge them, then reinstall them:
sudo dpkg --list
sudo apt-get purge <file-name>
Or you can use aptitude
in place of apt
or apt-get
, aptitude
is smarter than apt-get
and will help deal with dependencies:
sudo aptitude install gimp
Hope it helps!
I would recommend installing Gimp as a flatpak, as the flatpak is maintained by the gimp developers.
sudo apt install flatpak
flatpak install flathub org.gimp.GIMP
and to run
flatpak run org.gimp.GIMP