0
$ sudo apt-get install libgimp2.0-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
 libgimp2.0-dev : Depends: libgtk2.0-dev (>= 2.12.5) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

It says broken packages, I am not a techy so do not understand the jargons "You must install libgimp2.0-dev and libpcre3-dev packages in order to have the full set of libraries and dependences to compile BIMP (names can differ depending on the distro)."

in the installation document I have searched for all answers possible given online, but none has been able to resolve my issue of installing bimp

If you could advice the possible steps to install bimp would be of help

A.B.
  • 92,125

1 Answers1

0

Enter these two commands:

sudo apt-get clean
sudo apt-get autoclean

Try to fix the broken dependencies:

sudo apt-get -f install
sudo dpkg --configure -a

And enter again sudo apt-get -f install.

This should solve your dependency problems and you can now install libgimp2.0-dev again.

  • Next solution is to run:

    sudo apt-get -u dist-upgrade

    If it shows any held packages, it is best to eliminate them. Packages are held because of dependency conflicts that apt cannot resolve. Try this command to find and repair the conflicts:

    sudo apt-get -o Debug::pkgProblemResolver=yes dist-upgrade

    If it cannot fix the conflicts, it will exit with:

    0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.

    Delete the held packages one by one, running dist-upgrade each time, until there are no more held packages. Then reinstall any needed packages. Be sure to use the --dry-run option, so that you are fully informed of consequences:

    sudo apt-get remove --dry-run package-name

    Since removing the package you are trying to install may not be ideal, you might also try finding a repository that has the packages you need to satisfy the dependencies.

Finally, if all else fails, you can attempt to satisfy the dependencies yourself, either by finding and installing the necessary packages, or by installing them from source and then creating “[deb][2]” packages for them.

Source

TellMeWhy
  • 17,964
  • 41
  • 100
  • 142