Solution to Brave Browser Update on Linux (Ubuntu)

Hello everyone, if you are trying to update your brave browser on your ubuntu, or you are trying to do “sudo apt update && sudo apt upgrade”, and you got:

Hit:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
Get:2 https://brave-browser-apt-release.s3.brave.com stable InRelease [7,547 B]           
Hit:3 https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 InRelease                           
Hit:4 http://us.archive.ubuntu.com/ubuntu jammy InRelease           
Hit:5 https://packages.microsoft.com/repos/edge stable InRelease
Err:2 https://brave-browser-apt-release.s3.brave.com stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0686B78420038257
Hit:6 https://packages.microsoft.com/repos/code stable InRelease
Hit:7 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:8 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Reading package lists... Done
W: GPG error: https://brave-browser-apt-release.s3.brave.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0686B78420038257
E: The repository 'https://brave-browser-apt-release.s3.brave.com stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

You can solve this by firing these 2 commands in your terminal:

> sudo curl -fsSL https://brave-browser-apt-release.s3.brave.com/brave-core.asc | sudo gpg --dearmor -o /usr/share/keyrings/brave-browser-archive-keyring.gpg

> echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main" | sudo tee /etc/apt/sources.list.d/brave-browser-release.list

then update and upgrade:

sudo apt update && sudo apt upgrade

it should begin update asap.
i hope this helps <3

@isadab this topic may interest, and worth passing along to fellow Linux OS users of Brave Browser.

i hope it helps a few, cos i noticed it’s an issue everyone faces one, two, many times.

1 Like

It works well, same problem solved in Debian 12.8, thanks

Now is time Brave makes the correction of the wrong instructions, thanks

1 Like

you’re welcome. i’m glad it helped.