###前提・実現したいこと
vagrantでcentosを導入し、そこでlinuxbrewをインストールしています。
しばらく使っていなかったので、brewdoctorしたところ、①エラーがでました。
そこで、brew updateを試したところ②エラーが表示され、エラー末尾のcd及びgitを実行しましたがなにも変化がありません。
対処方法をご教示ください。
環境
WIndows10のvagrantにcentosを導入
macからブリッジ接続して利用しています。
###発生している問題・エラーメッセージ
①エラー
#brew doctor
which: no shasum in (/home/vagrant/.linuxbrew/bin:/home/vagrant/.linuxbrew/sbin:/home/vagrant/.linuxbrew/bin:/bin:/home/vagrant/.rbenv/bin:/usr/local/bin:/usr/bin:/usr/games:/home/vagrant/bin:/usr/local/sbin:/usr/sbin:/sbin)
Error: Failed to install vendor ruby.
Error: Failed to install vendor Ruby.
②エラー
#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 <msg> message for the tag
-F <FILE> message in a 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: cannot open .git/FETCH_HEAD: Permission denied
Error: Fetching /home/vagrant/.linuxbrew/Library/Taps/homebrew/homebrew-dupes failed!
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 <msg> message for the tag
-F <FILE> message in a 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
Unknown option: -c
usage: git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path]
[-p|--paginate|--no-pager] [--no-replace-objects]
[--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE]
[--help] COMMAND [ARGS]
Error: Could not 'git stash' in /home/vagrant/.linuxbrew!
Please stash/commit manually if you need to keep your changes or, if not, run:
cd /home/vagrant/.linuxbrew
git reset --hard origin/master
#cd /home/vagrant/.linuxbrew
#git reset --hard origin/master
HEAD is now at 10d15be Move Linuxbrew dev-cmd to Linuxbrew/developer
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/01/06 13:54 編集