![]() ![]() At the top of the file is the tarball and the MD5 sum for it: > more dos2unix.rb For example, if you were having trouble installing dos2unix you find the formula file in /usr/local/Library/Formula/dos2unix.rb. Worse case: you could just download the tarball for the formula, calculate the MD5 for it by hand and then update the Formula file with the appropriate MD5 value to get past the check. I poked through the install routine in homebrew but it wasn't apparent this would work. That option usually just forces a re-installation of an already-installed package of the same version but it may ignore an MD5 error. If indeed it is up to date you can try: brew install -force I'd make sure you're homebrew repository is up to date with: brew update ![]() Or it could be that the tarball you're downloading can't be trusted, that you're being given something that's not legit and contains potentially harmful routines. It could mean the tarball you're downloading is corrupt, in which case doing the above to override the match will actually cause you trouble because you'll be installing broken tools. As one comment left on your OP mentioned: I'd be concerned that MD5 sums weren't matching.
0 Comments
Leave a Reply. |