PDA

View Full Version : [all variants] "Broken packages" error when trying to install gitk



Jacolyte
December 25th, 2009, 10:41 PM
blaine@blaine-laptop ~/devel/ruby/rbjacolyte $ sudo apt-get install gitk
[sudo] password for blaine:
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-core (< 1:1.6.3.3-.) but 2:1.6.2.4-1~avh1~intrepid1 is to be installed
E: Broken packages

git version 1.6.2.4

raymondh
December 26th, 2009, 02:33 AM
blaine@blaine-laptop ~/devel/ruby/rbjacolyte $ sudo apt-get install gitk
[sudo] password for blaine:
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-core (< 1:1.6.3.3-.) but 2:1.6.2.4-1~avh1~intrepid1 is to be installed
E: Broken packages

git version 1.6.2.4

Access synaptic. On the left column, there is a tab BROKEN. Open it and ask synaptic to 'fix broken'. See if this works.

Jacolyte
December 28th, 2009, 01:43 AM
I've fixed it. The fix was pretty obvious, too. I looked up git-core and highlighted it, selected Package -> Force version, and set it to 1:1.6.3.3, which is what gitk depends on.

Gitk and git-core are now happily installed. Thanks for the help.