Installing git on Debian 8.x

You should edit your sources.list , by adding the following line:

deb http://ftp.ca.debian.org/debian/ jessie main contrib

Then upgrade your package and install git:

apt-get update && apt-get upgrade && apt-get dist-upgrade
apt-get -f install
apt-get install git

nJoy ;-)

(more…)

Failed to run gitk: Error in startup script

Gitk is a great tool for working with Git. Unfortunately after setting up git and X11 forwarding I got this error when running gitk.

Error in startup script:     (default value for "-font" in widget ".___tk_set_palette.button")     invoked from within "$q .___tk_set_palette.$q"     (procedure "tk_setPalette" line 82)     invoked from within "tk_setPalette background $c selectColor $selc"     (procedure "setui" line 8)     invoked from within "setui $uicolor"     (file "/usr/bin/gitk" line 11437)
Error

The error can easily be fixed by installing dejavu-sans-fonts.

yum install -y dejavu-sans-fonts

The result :

Fully working Gitk
Fully working gitk !!

Voila !