Can't install Brave


I followed the procedure to install Brave on Ubutun ( but I encountered an error after typing: "curl -s | sudo apt -key --keyring /etc/apt/trusted.gpg.d/brave-browser-release.gpg add - "

The error message: “gpg: no valid OpenPGP data was found.”

Can someone help me ?

No one has an idea ?

cc @Mattches @sriram for assistance here

There is an extra space in your command sudo apt -key. It should be sudo apt-key. Did you type in the same command? Make sure you copy paste the command from the help link.

Also, are you behind any proxy? If so can you try disabling it and check?

Yes I typed the right command "curl -s | sudo apt-key --keyring / etc / apt / trusted. gpg.d / brave-browser-release.gpg add - "

I am behind a proxy but it is not possible for me to disable it.
In apt.conf, I added “Acquire :: Proxy” http: // user: password @ Proxy_IP: Proxy_Port / ";
Adding the brave repositories in apt, it authenticates itself well to go out to try to install Brave but impossible to continue because it misses GPG data

Try adding https to the proxy command. It could be failing because of that.
Acquire::https::Proxy "http://user:password@proxy.server:port/";

I added the line with https but I still have the same error

You might need to define the http_proxy and https_proxy environment variables for curl to honor your proxy.

That said though, an easier way would be to use another browser to download to a file and then replace this command:

curl -s | sudo apt-key --keyring /etc/apt/trusted.gpg.d/brave-browser-release.gpg add -

with this one:

sudo apt-key --keyring /etc/apt/trusted.gpg.d/brave-browser-release.gpg add brave-core.asc

running from the directory where you downloaded brave-core.asc.

The rest of the instructions should work.


This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.