Azauth
October 25, 2019, 7:56am
1
Hi,
I followed the procedure to install Brave on Ubutun (https://support.brave.com/hc/en-us/articles/360018666072-How-do-I-install-Brave-on-Linux-using-the-terminal- ) but I encountered an error after typing: "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 - "
The error message: “gpg: no valid OpenPGP data was found.”
Can someone help me ?
eljuno
October 26, 2019, 10:17am
3
cc @Mattches @sriram for assistance here
sriram
October 26, 2019, 11:56am
4
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?
Azauth
October 28, 2019, 8:11am
5
Yes I typed the right command "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 - "
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
sriram
October 28, 2019, 11:51am
6
Try adding https
to the proxy command. It could be failing because of that.
Acquire::https::Proxy "http://user:[email protected] :port/";
Azauth
October 28, 2019, 2:16pm
7
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 https://brave-browser-apt-release.s3.brave.com/brave-core.asc to a file and then replace this command:
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 -
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.
2 Likes
system
Closed
December 28, 2019, 8:13am
10
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.