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: 108


Brickwizard

Well-Known Member
Joined
Apr 28, 2021
Messages
4,919
Reaction score
3,294
Credits
36,611
I386 is 32 bit, which distribution are you running
 
D

Deleted member 108694

Guest
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
 

arochester

Moderator
Staff member
Gold Supporter
Joined
Apr 25, 2017
Messages
1,838
Reaction score
1,482
Credits
4,434
This looks like Debian and not Ubuntu...
The signing key needs to be saved into a keyring?

 

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
6,990
Reaction score
5,830
Credits
45,664
G'day MrBuffer, Welcome to Linux.org

Lord Boltar's answer will likely fix your problem

Did you recently install Brave ?
 
D

Deleted member 108694

Guest
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
 

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
9,169
Reaction score
8,119
Credits
39,329
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
 

eosdev

New Member
Joined
Mar 19, 2023
Messages
1
Reaction score
1
Credits
5
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