Having trouble with installing Bravebrowser in a debian10 template, when using Brave’s cli instructions. The process is being stopped at the gpg stage. The commands from Brave are as follows for debian9+ :
sudo apt install apt-transport-https curl gnupg
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 -
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
sudo apt update
sudo apt install brave-browser
The process stops at the line beginning with “curl”, giving the following error message:
“gpg: no valid OpenPGP data found.”
Looking in the /etc/apt/trusted.gpg.d folder, there is a brave-browser-release.gpg file. No idea where to go from here. Thanks.
Sven
December 9, 2020, 9:59pm
2
The process stops at the line beginning with “curl”, giving the following error message:
“gpg: no valid OpenPGP data found.”
That’s because your template doesn’t have access to the internet except
through a proxy that is used by apt. So when you use curl, you need to
tell it about the proxy…
curl --proxy http://127.0.0.1:8082/ -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 -
… this will do the trick.
2 Likes
Thanks Sven! I now have Brave working in my debian10-based VMs. Cheers
1 Like
deeplow
December 11, 2020, 10:22am
4
I made an topic detailing all the options for cases like this. Take a look:
Sometimes users need to install software on TemplateVMs that is not available on the software respository for that templateVM’s distribution. But first please try the recommended (simpler and safer) method and to see if it’s available. In this post, I try to break down some of the alternatives.
Required reading: from the official docs on Trusting your TemplateVMs
There are at least 3 methods:
Temporarily allowing networking for software installation
Updates proxy
Copy from another VM
S…
(@Qubesquark I’ve also changed the title a bit as the problem was not with PGP)
Thanks deeplow. I will follow through on your advice today. cheers
1 Like
There is a snap
package available. It could be an alternative worth considering running it with qubes-snapd-helper
.
Thanks wind.gmbh. I hadn’t seen that, when I was trying the install. I have it bookmarked now. cheers