(post deleted by author)
(post deleted by author)
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?
Try adding https to the proxy command. It could be failing because of that.
Acquire::https::Proxy "http://user:password@proxy.server:port/";
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.