Programing

Brew 설치 사용시 SHA1 오류

crosscheck 2020. 10. 19. 07:45
반응형

Brew 설치 사용시 SHA1 오류


더 구체적으로, homebrew를 사용하여 MySQL을 설치했는데이 오류가 발생했습니다.

Error: SHA1 mismatch  
Expected: f218ed64ce6e7a5d3670acdd6a18e5ed95421d1f  
Got: 3a57f6f44186e0dba34ef8b8fb4a9047e9e5d8a3  
Archive: /Users/rdp/Library/Caches/Homebrew/cmake-2.8.7.bottle.tar.gz  
(To retry an incomplete download, remove the file above.)

내가 달린 후에 모든 것이 작동했습니다 brew update.


추출 업데이트가 실패 할 경우 다음을 시도하십시오.

cd `brew --prefix`
git remote add origin https://github.com/Homebrew/homebrew
git fetch origin
git reset --hard origin/master

Octave의 epstool 종속성과 관련하여 Steve S와 동일한 문제가 발생했으며 다음 링크를 찾았습니다.

https://github.com/Homebrew/homebrew-science/issues/1110

iml의 게시물을 위에서 아래로 약 10 개 (그의 두 번째 게시물) 확인하십시오. 그가 설명했듯이, 나는 그것을 fedoraproject.org 사이트에서 다운로드 한 다음 / Library / Caches / Homebrew / 디렉토리로 옮겼습니다.

건배,

-Maashu


필자의 경우 https://downloads.sourceforge.net/ctags/ctags-5.8.tar.gz 에서 다운로드 한 파일 은 실제로 html 파일입니다. 실제 파일을 다운로드하여 /Library/Caches/Homebrew/ctags-5.8.tar.gz. 그런 다음 실행 brew install ctags하면 모든 것이 작동합니다.

참고 URL : https://stackoverflow.com/questions/9857629/sha1-error-when-using-brew-install

반응형