Repositories update error

MrBaffer20001

New Member
Joined
Feb 3, 2023
Messages
1
Reaction score
0
Credits
16
When I try to update the repositories I get an error...
W: GPG error: https://brave-browser-apt-nightly.s3.brave.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0B31DBA06A8A26F9
E: The repository 'https://brave-browser-apt-nightly.s3.brave.com stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://brave-browser-apt-release.s3.brave.com stable InRelease' doesn't support architecture 'i386'
 

Attachments

  • Screenshot from 2023-02-03 23-28-54.png
    Screenshot from 2023-02-03 23-28-54.png
    175.1 KB · Views: 169


I386 is 32 bit, which distribution are you running
 
How to fix missing public key
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys COPIED-NUMBER-HERE

So in your case that would be
Code:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0B31DBA06A8A26F9
 
This looks like Debian and not Ubuntu...
The signing key needs to be saved into a keyring?

 
G'day MrBuffer, Welcome to Linux.org

Lord Boltar's answer will likely fix your problem

Did you recently install Brave ?
 
This looks like Debian and not Ubuntu...
The signing key needs to be saved into a keyring?

I use that for both in Debian - then I just copy the key to /etc/apt/trusted.gpg.d/ - then run sudo apt update
 
Yes, looks like Debian.

If so, then from @arochester 's link and for nightly

Nightly Channel Installation​


Debian, Ubuntu, Mint​

sudo apt install curl

sudo curl -fsSLo /usr/share/keyrings/brave-browser-nightly-archive-keyring.gpg https://brave-browser-apt-nightly.s3.brave.com/brave-browser-nightly-archive-keyring.gpg

echo "deb [signed-by=/usr/share/keyrings/brave-browser-nightly-archive-keyring.gpg] https://brave-browser-apt-nightly.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-nightly.list

sudo apt update

sudo apt install brave-browser-nightly

Cheers

Wizard
 
How to fix missing public key
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys COPIED-NUMBER-HERE

So in your case that would be
Code:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0B31DBA06A8A26F9
This solved my issue, thank you!
 

Members online


Top