Brave installation error : Hash Sum mismatch

Hello @nairitb,
I’m not familiar with Zorin OS but if its based on Ubuntu installation should work following our instructions here. I do notice that you haven’t indicated whether you installed the package apt-transport-https as described in step 1 of those instructions. Please do that and then let us know if it helped.

Also you say I always get the wrong sha256sum, but your sha256sum output is correct, the key has changed since thread Installation issue (ubuntu 18.04.3 LTS) was current. I see the same hash that you do:

sha256sum brave-core.asc 
c8fe807da94fbdabea5cb394630e11ef5a57ba0163e5c37e8e873c80602acb78  brave-core.asc

I would suggest removing everything, cleaning the Apt cache and reinstalling. This is described here but I will detail each step below, with a couple additional steps. Run the following commands:

  1. rm -rf /etc/apt/sources.list.d/brave-browser*
  2. rm -rf /etc/apt/trusted.gpg.d/brave-browser*
  3. sudo apt-key del D8BAD4DE7EE17AF52A834B2D0BB75829C2D4E821
  4. sudo apt purge brave-browser brave-keyring (This will probably fail as you don’t currently have these 2 packages installed.)
  5. sudo apt install apt-transport-https curl
  6. curl -s https://brave-browser-apt-release.s3.brave.com/brave-core.asc | sudo apt-key --keyring /etc/apt/trusted.gpg.d/brave-browser-release.gpg add - (Then verify the key exists in your keyring with sudo apt-key list)
  7. echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main" | sudo tee /etc/apt/sources.list.d/brave-browser-release.list (Then verify this worked properly with sudo cat /etc/apt/sources.list.d/brave-browser-release.list)
  8. sudo apt-get clean
  9. sudo apt-get update --fix-missing
  10. sudo apt install brave-browser

This should remove everything and reset your apt configuration so that it can install the Brave package successfully.

If this doesn’t work, please capture the output from all of these commands including any errors and I will try to see what might have caused the error.

Also please indicate whether you are using an HTTP proxy of any sort.

Hope this helps.
-Matt

2 Likes