Brave browser doesn't install Fedora Linux 38


Description of the issue:

I followed the official download guide to install Brave browser on my Fedora Linux 38. But it doesn’t install and showed the following error. I tried it multiple times and reboot my machine. Still it doesn’t install. Please solve the issue.

How can this issue be reproduced?

The issue can be reproduced by following this guide (https://brave.com/linux/#fedora-centos-streamrhel-1) to install Brave Browser on a Fedora Linux 38 machine.

Expected result:

~ sudo dnf install brave-browser
Brave Browser                                              73 kB/s | 3.3 kB     00:00   
Dependencies resolved.
==========================================================================================
 Package                Architecture    Version              Repository              Size
==========================================================================================
Installing:
 brave-browser          x86_64          1.51.114-1           brave-browser          105 M
Installing dependencies:
 brave-keyring          noarch          1.10-1               brave-browser           11 k

Transaction Summary
==========================================================================================
Install  2 Packages

Total size: 105 M
Installed size: 105 M
Is this ok [y/N]: y
Downloading Packages:
[SKIPPED] brave-browser-1.51.114-1.x86_64.rpm: Already downloaded                       
[SKIPPED] brave-keyring-1.10-1.noarch.rpm: Already downloaded                           
error: Verifying a signature using certificate D8BAD4DE7EE17AF52A834B2D0BB75829C2D4E821 (Brave Software <[email protected]>):
  Certificate 0BB75829C2D4E821 invalid: policy violation
      because: No binding signature at time 2023-05-09T19:32:44Z
error: Verifying a signature using certificate D8BAD4DE7EE17AF52A834B2D0BB75829C2D4E821 (Brave Software <[email protected]>):
  Certificate 0BB75829C2D4E821 invalid: policy violation
      because: No binding signature at time 2023-05-09T19:32:46Z
error: Verifying a signature using certificate D8BAD4DE7EE17AF52A834B2D0BB75829C2D4E821 (Brave Software <[email protected]>):
  Certificate 0BB75829C2D4E821 invalid: policy violation
      because: No binding signature at time 2022-05-18T19:56:23Z
error: Verifying a signature using certificate D8BAD4DE7EE17AF52A834B2D0BB75829C2D4E821 (Brave Software <[email protected]>):
  Certificate 0BB75829C2D4E821 invalid: policy violation
      because: No binding signature at time 2022-05-18T19:56:28Z
Problem opening package brave-browser-1.51.114-1.x86_64.rpm
Problem opening package brave-keyring-1.10-1.noarch.rpm
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: GPG check FAILED

Additional Information:
I don’t want to use the Flatpak or Snap version.

2 Likes

I also encountered the same problem on fedora 38. I searched a lot online but later gave up and installed snap pakage. The security check is failing (i was able to understand that much only), one way to overcome this would be skip this GPG check (if possible) but that would be harmful as any malware could enter the system through packages.

2 Likes

Also experiencing the same issue.

Output after running rpm -q gpg-pubkey --qf '%{NAME}-%{VERSION}-%{RELEASE}\t%{SUMMARY}\n' as root:

gpg-pubkey-c2d4e821-5bc51032 Brave Software <[email protected]> public key

2 Likes

Just tried to install Brave via DNF and DNF5, but I’m getting the same key error. I’ve been using the flatpak version, which I prefer, but as it is not official, I want to get back to the RPM one.

doas dnf --verbose install brave-browser
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, notify-packagekit, playground, repoclosure, repodiff, repograph, repomanage, reposync, system-upgrade
DNF version: 4.15.0
cachedir: /var/cache/dnf
Unknown configuration option: autorefresh = 1 in /etc/yum.repos.d/brave-browser.repo
User-Agent: constructed: 'libdnf (Fedora Linux 38; workstation; Linux.x86_64)'
repo: using cache for: copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos
copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos: using metadata from Thu May 11 15:29:18 2023.
repo: using cache for: copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos-addons
copr:copr.fedorainfracloud.org:bieszczaders:kernel-cachyos-addons: using metadata from Thu May 11 00:35:52 2023.
repo: using cache for: copr:copr.fedorainfracloud.org:zeno:scrcpy
copr:copr.fedorainfracloud.org:zeno:scrcpy: using metadata from Thu Apr 20 10:20:08 2023.
Brave Browser                                                                                                                                                                      6.8 kB/s | 3.3 kB     00:00    
reviving: 'brave-browser' can be revived - repomd matches.
brave-browser: using metadata from Tue May  9 16:32:59 2023.
repo: using cache for: enpass
enpass: using metadata from Thu Nov 10 07:48:44 2022.
repo: using cache for: fedora
fedora: using metadata from Thu Apr 13 17:37:10 2023.
repo: using cache for: fedora-cisco-openh264
fedora-cisco-openh264: using metadata from Tue Mar 14 07:56:46 2023.
repo: using cache for: fedora-modular
fedora-modular: using metadata from Thu Apr 13 17:30:47 2023.
repo: using cache for: updates
updates: using metadata from Sat May 13 22:27:09 2023.
repo: using cache for: updates-modular
updates-modular: using metadata from Tue Feb 20 16:18:14 2018.
repo: using cache for: fedora-multimedia
fedora-multimedia: using metadata from Wed May 10 11:11:11 2023.
repo: using cache for: fedora-nvidia
fedora-nvidia: using metadata from Tue May  2 05:25:44 2023.
--> Starting dependency resolution
---> Package brave-browser.x86_64 1.51.114-1 will be installed
---> Package brave-keyring.noarch 1.10-1 will be installed
---> Package liberation-fonts.noarch 1:2.1.5-4.fc38 will be installed
--> Finished dependency resolution
Dependencies resolved.
===================================================================================================================================================================================================================
 Package                                               Architecture                                Version                                                Repository                                          Size
===================================================================================================================================================================================================================
Installing:
 brave-browser                                         x86_64                                      1.51.114-1                                             brave-browser                                      105 M
 brave-keyring                                         noarch                                      1.10-1                                                 brave-browser                                       11 k
Installing dependencies:
 liberation-fonts                                      noarch                                      1:2.1.5-4.fc38                                         fedora                                             7.9 k

Transaction Summary
===================================================================================================================================================================================================================
Install  3 Packages

Total download size: 105 M
Installed size: 105 M
Is this ok [Y/n]: 
Downloading Packages:
(1/3): brave-keyring-1.10-1.noarch.rpm                                                                                                                                              52 kB/s |  11 kB     00:00    
(2/3): liberation-fonts-2.1.5-4.fc38.noarch.rpm                                                                                                                                    7.4 kB/s | 7.9 kB     00:01    
(3/3): brave-browser-1.51.114-1.x86_64.rpm                                                                                                                                          13 MB/s | 105 MB     00:08    
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                               12 MB/s | 105 MB     00:08     
Using rpmkeys executable at /bin/rpmkeys to verify signatures
error: Verifying a signature using certificate D8BAD4DE7EE17AF52A834B2D0BB75829C2D4E821 (Brave Software <[email protected]>):
  Certificate 0BB75829C2D4E821 invalid: policy violation
      because: No binding signature at time 2023-05-09T19:32:44Z
error: Verifying a signature using certificate D8BAD4DE7EE17AF52A834B2D0BB75829C2D4E821 (Brave Software <[email protected]>):
  Certificate 0BB75829C2D4E821 invalid: policy violation
      because: No binding signature at time 2023-05-09T19:32:46Z
error: Verifying a signature using certificate D8BAD4DE7EE17AF52A834B2D0BB75829C2D4E821 (Brave Software <[email protected]>):
  Certificate 0BB75829C2D4E821 invalid: policy violation
      because: No binding signature at time 2022-05-18T19:56:23Z
error: Verifying a signature using certificate D8BAD4DE7EE17AF52A834B2D0BB75829C2D4E821 (Brave Software <[email protected]>):
  Certificate 0BB75829C2D4E821 invalid: policy violation
      because: No binding signature at time 2022-05-18T19:56:28Z
Problem opening package brave-browser-1.51.114-1.x86_64.rpm
Problem opening package brave-keyring-1.10-1.noarch.rpm
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: GPG check FAILED

1 Like

I installed the beta version. It will work for me. But the release version needs to be fixed asap.

2 Likes

Have the exact same issue.
Got this Key - pg-pubkey-c2d4e821-5bc51032 Brave Software [email protected] public key
Deleted the key and cleaned the cache packages and showed they were removed. Tried reinstall got the same error.
I tried the Beta version and it worked

2 Likes

just tried installing brave - beta and it worked.

sudo dnf install dnf-plugins-core

sudo dnf config-manager --add-repo https://brave-browser-rpm-beta.s3.brave.com/brave-browser-beta.repo

sudo rpm --import https://brave-browser-rpm-beta.s3.brave.com/brave-core-nightly.asc

sudo dnf install brave-browser-beta

follow these commands (which are also available on brave’s site to download brave-beta

2 Likes

Beta worked for me too.

doas dnf5 install brave-browser-beta
Updating and loading repositories:
 Brave Browser - Beta                                                                                                                                                      100% |   5.4 KiB/s |   7.0 KiB |  00m01s
Repositories loaded.
Package                                                                  Arch             Version                                                                  Repository                                  Size
Installing:                                                                                                                                                                                                        
 brave-browser-beta                                                      x86_64           1.52.94-1                                                                brave-browser-beta                     104.5 MiB
Installing dependencies:                                                                                                                                                                                           
 liberation-fonts                                                        noarch           1:2.1.5-4.fc38                                                           fedora                                   0.0   B

Transaction Summary:
 Installing:        2 packages

Total size of inbound packages is 104 MiB. Need to download 104 MiB.
After this operation 104 MiB will be used (install 104 MiB, remove 0 B).
Is this ok [Y/n]: 
[1/2] liberation-fonts-1:2.1.5-4.fc38.noarch                                                                                                                               100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[2/2] brave-browser-beta-0:1.52.94-1.x86_64                                                                                                                                100% |  11.7 MiB/s | 104.5 MiB |  00m09s
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[2/2] Total                                                                                                                                                                100% |  11.7 MiB/s | 104.5 MiB |  00m09s
Verifying PGP signatures

Running transaction
[1/4] Verify package files                                                                                                                                                 100% |   2.0   B/s |   2.0   B |  00m01s
[2/4] Prepare transaction                                                                                                                                                  100% |   4.0   B/s |   2.0   B |  00m00s
[3/4] Installing liberation-fonts-1:2.1.5-4.fc38.noarch                                                                                                 100% [==================] |   7.6 KiB/s | 124.0   B | -00m0[3/4] Installing liberation-fonts-1:2.1.5-4.fc38.noarch                                                                                                                    100% |   3.8 KiB/s | 124.0   B |  00m00s
>>> Running pre-install scriptlet: brave-browser-beta-0:1.52.94-1.x86_64
>>> Stop pre-install scriptlet: brave-browser-beta-0:1.52.94-1.x86_64
[4/4] Installing brave-browser-beta-0:1.52.94-1.x86_64                                                                                                                     100% |  22.3 MiB/s | 320.8 MiB |  00m14s
>>> Running post-install scriptlet: brave-browser-beta-0:1.52.94-1.x86_64
>>> Stop post-install scriptlet: brave-browser-beta-0:1.52.94-1.x86_64
>>> Running trigger-install scriptlet: desktop-file-utils-0:0.26-8.fc38.x86_64
>>> Stop trigger-install scriptlet: desktop-file-utils-0:0.26-8.fc38.x86_64
>>> Running trigger-install scriptlet: man-db-0:2.11.2-2.fc38.x86_64
>>> Stop trigger-install scriptlet: man-db-0:2.11.2-2.fc38.x86_64

1 Like

Just tried again. Cleaned the packages and now get this error…

Public key for brave-browser-1.51.114-1.x86_64.rpm is not installed
Public key for brave-keyring-1.10-1.noarch.rpm is not installed
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing ‘dnf clean packages’.
Error: GPG check FAILED

Ran this command
rpm -q gpg-pubkey --qf ‘%{NAME}-%{VERSION}-%{RELEASE}\t%{SUMMARY}\n’

Get this response (from Brave Beta that is installed - no other Brave keys listed)
gpg-pubkey-6a8a26f9-5b4e234c Brave Software (Brave Core Nightly Key) (We’re reinventing the browser as a user-first platform for speed and privacy.) [email protected] public key

Tried cleaning the cache again…
sudo dnf clean packages >>> 2 files removed

try to install and still get the above new message

Public key for brave-browser-1.51.114-1.x86_64.rpm is not installed
Public key for brave-keyring-1.10-1.noarch.rpm is not installed
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing ‘dnf clean packages’.
Error: GPG check FAILED

2 Likes

Here https://github.com/brave/brave-browser/issues/30307 and here Installng on Fedora 38 gpg signing issues - #2 by JimB1 are related. @avizitRX

I notice there is a new brave-keyring package in their repo, does that solve anything? (i.e., repeat the earlier steps, except now you’ll get the newer keyring package; in addition to the browser package itself, which was just updated today.)

2 Likes

I just tested it @JimB1, with the latest update it worked. @avizitRX

1 Like

Yes it works now!

To anyone reading just rerun sudo dnf install brave-browser. No need to run the first 3 steps again

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.