New debian (lxqt) installation. Following Installing Brave on Linux #release-channel-installation (stable) notes there …
# apt-get update
...
Get:5 https://brave-browser-apt-release.s3.brave.com stable InRelease [7,547 B]
Err:5 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 A8580BDC82D3DC6C
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 A8580BDC82D3DC6C
E: The repository 'https://brave-browser-apt-release.s3.brave.com stable InRelease'
is not signed.
This brought no joy:
# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A8580BDC82D3DC6C#
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead
(see apt-key(8)).
Executing: /root/tmp/apt-key-gpghome.eIXrxEI5ZK/gpg.1.sh --keyserver
keyserver.ubuntu.com --recv-keys A8580BDC82D3DC6C
gpg: key 0BB75829C2D4E821: 2 duplicate signatures removed
gpg: key 0BB75829C2D4E821: "Brave Software <[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
System:
# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
# uname -a
Linux testw8760wq-GB 6.1.0-18-amd64
#1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux
What is the correct way to import the key used in the repository, and could the instructions on that web page be corrected, please?
And … could the page at Brave Signing Keys be updated to note the command to import the key?
[I expect many are like myself … these sorts of commands are needed so seldom, prior experience figuring out such fiddly bits is long lost.]
- I expect such manual installation will always be currently correct, regardless of the key(s) or keyserver changes between the expiry of the post, and the time a subsequent reader searches for this same answer.