apt-get install git-coreですんなり終わるかと思っていたら、 GNU Interactive Toolsというのと競合してるらしく、 以下のようなメッセージが出てきます。

   1  git, the filemanager with GNU Interactive Tools, is now called gitfm.
   2  
   3  If you are looking for git, Linus Torvald's content tracker, install
   4  the cogito and git-core packages and see README.Debian and git(7).
   5  
   6  This transition script will be removed in the debian stable
   7  release after etch.
   8  
   9  If you wish to complete the transition early, install git-core
  10  and use (as root):
  11   update-alternatives --config git
  12  
  13  Press RETURN to run gitfm

指示の通り、update-alternatives --config gitを実行すると、 今度はこんな感じのメッセージが出るので、

   1  # update-alternatives --config git
   2  
   3  There are 2 alternatives which provide `git'.
   4  
   5    Selection    Alternative
   6  -----------------------------------------------
   7  *+        1    /usr/bin/git.transition
   8            2    /usr/bin/git-scm
   9  
  10  Press enter to keep the default[*], or type selection number: 

2の/usr/bin/git-scmを選択します。

これでGitを使えるようになりました。

posted by Png genki on Thu 28 Feb 2008 at 10:13

Comments:

or Preview
Social Bookmarks
  • Delicious
  • B_entry387
  • Clip_16_12_w
Services from s21g
twpro(ツイプロ)
Twitterプロフィールを快適検索
地価2009
土地の値段を調べてみよう
MyRestaurant
自分だけのレストラン手帳
Formula
ブログに数式を埋め込める数式コミュニティ