0

enter image description here

I am trying to install GIMP through the terminal.. But The following error is showing..

The following packages have unmet dependencies:
 gimp : Depends: libgegl-0.3-0 (>= 0.3.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Help is appreciated.

1

Run the following commands to clear out the package cache, resolve dependencies, and (hopefully) fix install issues:

sudo apt update
sudo apt -f install
sudo apt full-upgrade
sudo apt install gimp

Breaking this down a bit more:

  • sudo apt update
    This command will download new package caches and package data from the Ubuntu servers.
  • sudo apt -f install
    This command, known as "fix all the problems" will attempt to smartly resolve any dependency issues, and re-install any broken packages. In your case, it will likely re-install the missing GEGL library.
  • sudo apt full-upgrade
    This command runs a full upgrade of all of your software to bring you up to the latest version. Note that it does not change your OS version, so it won't upgrade 14.04 to 16.04.
  • sudo apt install gimp
    This command installs gimp, as one can guess.
  • Sorry dear.. its not working for me.. – Vishuu Oct 10 '16 at 7:04
  • @VishuuTiwari What error message (if any different) is being thrown? – Kaz Wolfe Oct 10 '16 at 7:05
  • Here is tha following full error message: – Vishuu Oct 10 '16 at 7:11
  • Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: gimp : Depends: libgegl-0.3-0 (>= 0.3.0) but it is not going to be installed E: Unable to correct problems, you have held broken packages. – Vishuu Oct 10 '16 at 7:11
  • @VishuuTiwari What happens if you run sudo apt install libgegl-0.3-0? – Kaz Wolfe Oct 10 '16 at 7:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.