This question already has an answer here:

I seem to be unable to install gitk. Can anyone help me decipher the below:

$ git --version
git version
$ sudo apt-get install gitk
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:
 gitk : Depends: git (< 1: but 1: is to be installed
 E: Unable to correct problems, you have held broken packages.

marked as duplicate by Sylvain Pineau, Eric Carvalho, Eliah Kagan, muru, αғsнιη Oct 23 '14 at 11:39

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


You probably installed a newer version of git manually, because your version of git is too recent for the gitk package that's in the repository.

You can either downgrade git, or manually install a newer version of gitk.

  • according to git.wiki.kernel.org/index.php/… gitk is distributed with git (and no link is provided). However I get the message that The program gitk is currently not installed. – Marcus Junius Brutus Sep 3 '14 at 21:08
  • All debian-based distributions have gitk as a separate package, as does ubuntu. I don't know if it is installed if you install git from source and I don't know how you installed git in the first place. But you wouldn't try to install it if it was already on your system, would you? – Jan Sep 3 '14 at 21:10
  • Where do you get the message The program gitk is currently not installed? – Wilf Sep 3 '14 at 21:44
  • @Wilf when I type gitk in the command line – Marcus Junius Brutus Sep 3 '14 at 22:17

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