System

brew update 오류

OneBoard 2021. 3. 8. 23:18

brew update를 했더니, conflict 오류가 나왔습니다.

한번 오류 나오고 끝나는 것이 아니라 지속적으로 생기는 오류이구요.

oneboard@oneboarcBookPro ~ % brew update    
error: could not apply bc7e597... Update PHP dependencies on macos1015 20210220.1 runner
Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".
Could not apply bc7e597... Update PHP dependencies on macos1015 20210220.1 runner
To restore the stashed changes to /usr/local/Homebrew/Library/Taps/shivammathur/homebrew-php, run:
  cd /usr/local/Homebrew/Library/Taps/shivammathur/homebrew-php && git stash pop

 

skip을 해보려고, git rebase --skip을 실행하면 오류가 나오고 git rebase 명령도 오류 입니다.

oneboard@oneboarcBookPro ~ % git rebase --skip
fatal: (현재 폴더 또는 상위 폴더 중 일부가) 깃 저장소가 아닙니다: .git

oneboard@oneboarcBookPro ~ % git rebase
fatal: (현재 폴더 또는 상위 폴더 중 일부가) 깃 저장소가 아닙니다: .git

 

방법은 지금 동작하는 home-brew-php를 git에 넣고, rebase --contine를 하는 것 입니다.

맞는지는 잘 모르겠지만, 오류는 사라집니다.

oneboard@oneboarcBookPro homebrew-php % git add /usr/local/Homebrew/Library/Taps/shivammathur/homebrew-php
oneboard@oneboarcBookPro homebrew-php % git rebase --continue
[HEAD 분리됨 88e99e0] Update PHP dependencies on macos1015 20210220.1 runner
 Author: BrewTestBot <homebrew-test-bot@lists.sfconservancy.org>
 1 file changed, 9 insertions(+)
자동 병합: .github/deps/macos1015_20210220.1
충돌 (내용): .github/deps/macos1015_20210220.1에 병합 충돌
error: 다음을 적용할(apply) 수 없습니다: 3932820... Update PHP dependencies on macos1015 20210220.1 runner
Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".
Could not apply 3932820... Update PHP dependencies on macos1015 20210220.1 runner
oneboard@oneboarcBookPro homebrew-php % git rebase --skip
oneboard@oneboarcBookPro homebrew-php % brew update
Updated 1 tap (homebrew/cask).
==> Updated Casks
multi

 

검색을 해보니, home brew error가 종류도 많고 유형도 많고.

그중의 하나 이것 때문에 한달을 끙끙. ㅠㅠ..

최선의 방법은 메시지를 읽기...

반응형