我好像無法安裝gitk
。誰能幫我解讀以下:
$ git --version
git version 1.8.3.2
$ 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:1.7.9.5-.) but 1:1.8.3.2-0ppa1~precise1 is to be installed
E: Unable to correct problems, you have held broken packages.
答案1
您可能手動安裝了較新版本的 git,因為您的 git 版本對於儲存庫中的 gitk 套件來說太新了。
您可以降級 git,或手動安裝較新版本的 gitk。