質問をすることでしか得られない、回答やアドバイスがある。

15分調べてもわからないことは、質問しよう!

新規登録して質問してみよう
ただいま回答率
85.50%
Git

Gitはオープンソースの分散バージョン管理システム(DVCS)です。

MacOS(OSX)

MacOSとは、Appleの開発していたGUI(グラフィカルユーザーインターフェース)を採用したオペレーションシステム(OS)です。Macintoshと共に、市場に出てGUIの普及に大きく貢献しました。

バージョン管理

バージョン管理はコンピューター上にファイルとして格納されているドキュメント・プログラム・その他の情報の変更履歴等を管理するものです

Q&A

解決済

1回答

1717閲覧

brew updateでunknown option `list'のエラーとなる

kokegreen

総合スコア7

Git

Gitはオープンソースの分散バージョン管理システム(DVCS)です。

MacOS(OSX)

MacOSとは、Appleの開発していたGUI(グラフィカルユーザーインターフェース)を採用したオペレーションシステム(OS)です。Macintoshと共に、市場に出てGUIの普及に大きく貢献しました。

バージョン管理

バージョン管理はコンピューター上にファイルとして格納されているドキュメント・プログラム・その他の情報の変更履歴等を管理するものです

0グッド

0クリップ

投稿2020/04/04 06:21

環境:MacOSX10.11.6 El Capitan

しばらくHomebrewを更新していなかったので、

command

1$ brew update

で更新を試みました。
その結果下記のようなエラーが表示されました。

$ brew update error: unknown option `list' usage: git tag [-a|-s|-u <key-id>] [-f] [-m <msg>|-F <file>] <tagname> [<head>] or: git tag -d <tagname>... or: git tag -l [-n[<num>]] [<pattern>] or: git tag -v <tagname>... -l list tag names -n[<n>] print <n> lines of each tag message -d delete tags -v verify tags Tag creation options -a annotated tag, needs a message -m <message> tag message -F <file> read message from file -s annotated and GPG-signed tag -u <key-id> use another key to sign the tag -f, --force replace the tag if exists Tag listing options --contains <commit> print only tags that contain the commit Unpacking objects: 100% (4/4), done. error: unknown option `list' usage: git tag [-a|-s|-u <key-id>] [-f] [-m <msg>|-F <file>] <tagname> [<head>] or: git tag -d <tagname>... or: git tag -l [-n[<num>]] [<pattern>] or: git tag -v <tagname>... -l list tag names -n[<n>] print <n> lines of each tag message -d delete tags -v verify tags Tag creation options -a annotated tag, needs a message -m <message> tag message -F <file> read message from file -s annotated and GPG-signed tag -u <key-id> use another key to sign the tag -f, --force replace the tag if exists Tag listing options --contains <commit> print only tags that contain the commit error: unknown option for 'stash save': --include-untracked To provide a message, use git stash save -- '--include-untracked' Usage: git stash list [<options>] or: git stash show [<stash>] or: git stash drop [-q|--quiet] [<stash>] or: git stash ( pop | apply ) [--index] [-q|--quiet] [<stash>] or: git stash branch <branchname> [<stash>] or: git stash [save [--patch] [-k|--[no-]keep-index] [-q|--quiet] [<message>]] or: git stash clear Error: Could not 'git stash' in /usr/local/Homebrew! Please stash/commit manually if you need to keep your changes or, if not, run: cd /usr/local/Homebrew git reset --hard origin/master

最初のエラーが

error: unknown option `list'

となっていたので、該当のエラーで調べたところ下記フォーラムに下記記載を発見。
https://github.com/matteosister/GitElephant/issues/16

Just found out it has a minimal requirement of Git 1.7.8 (concerning the --list option), maybe this could be added in the README.md

Gitのバージョンを確認。

command

1$ git --version 2git version 2.10.1 (Apple Git-78)

古いですが、要件を満たしているように見えます。

brew installもできないので、手動でモジュール入れ替えして対応している状況です。

状況打破の方法や調査ポイント等、ご教授お願いします。

気になる質問をクリップする

クリップした質問は、後からいつでもMYページで確認できます。

またクリップした質問に回答があった際、通知やメールを受け取ることができます。

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

kokegreen

2020/04/04 08:47

なるほど。そういうことですか。 手動設定で試してみて、駄目そうなら諦めるしかないですね。 ご助言ありがとうございます。
guest

回答1

0

自己解決

コメントにもあるように、El CapitanはHomebrewサポート対象外のようです。
[https://discourse.brew.sh/t/mac-os-10-11-support/4117]

今回必要なupdateが限られているので、個別に対応していきます。
ありがとうございました。

投稿2020/04/04 08:52

kokegreen

総合スコア7

バッドをするには、ログインかつ

こちらの条件を満たす必要があります。

あなたの回答

tips

太字

斜体

打ち消し線

見出し

引用テキストの挿入

コードの挿入

リンクの挿入

リストの挿入

番号リストの挿入

表の挿入

水平線の挿入

プレビュー

15分調べてもわからないことは
teratailで質問しよう!

ただいまの回答率
85.50%

質問をまとめることで
思考を整理して素早く解決

テンプレート機能で
簡単に質問をまとめる

質問する

関連した質問