Get error when trying to install on fedora linux 31

Description of the issue:

The command line on the brave webpage to install on Fedora Linux 31 doesn’t work. I get the python error

$ sudo dnf config-manager --add-repo
Traceback (most recent call last):
File “/usr/bin/dnf”, line 57, in
from dnf.cli import main
File “/usr/lib/python3.7/site-packages/dnf/”, line 30, in
import dnf.base
File “/usr/lib/python3.7/site-packages/dnf/”, line 29, in
import libdnf.transaction
File “/usr/lib64/python3.7/site-packages/libdnf/”, line 4, in
from . import conf
File “/usr/lib64/python3.7/site-packages/libdnf/”, line 13, in
from . import _conf
ImportError: /lib64/ file too short

Steps to Reproduce (add as many as necessary): 1. 2. 3.
JUst run the command

sudo dnf config-manager --add-repo

Actual Result (gifs and screenshots are welcome!):

When I try to go the address in the command, I get

Expected result:

Reproduces how often:
Operating System and Brave Version(See the About Brave page in the main menu):
Fedora Linux 31

Additional Information:

It turns out that the issue had nothing to do with brave: the rpm library installation got corrupted on my system.

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