MacOS – Error: SHA256 mismatch with brew install

homebrewmacos

I tried to install an application with homebrew:

$ brew install poppler

And then towards the end of the installation, I notice the following error:

==> Downloading https://github.com/GNOME/gobject-introspection/commit/4a724ac699f0c34fba2fb452cfadea11540325e8.patch
######################################################################## 100.0%
Error: SHA256 mismatch
Expected: 047c350bad2d222f1037c3ce1889444ebc1095df76120188037c4eb2900848c4
Actual: 928403cf8eb092c664791f5e08cff1199ac9e945d8d5fd21c455c688efbc6dd5
Archive: /Library/Caches/Homebrew/gobject-introspection--patch-047c350bad2d222f1037c3ce1889444ebc1095df76120188037c4eb2900848c4.patch
To retry an incomplete download, remove the file above.

What happened here? Dos this error prevent the application from completing installation?

Best Answer

I had a similar issue with brew install.

Try running rm ${file_above} && brew install poppler