Brave - Browser

Hi, I’m having problems with Brave-Browser and would really like to be able to use it here. I’d be grateful of your help with the following. I’ve listed the issues and things i’ve done below.
Thank you very much.

Ubuntu Version:
22.04 LTS,

Desktop Environment (if applicable):
GNOME,

Problem Description:
issues with installing running and removing brave-browser

i have had a number of issues trying to install or use brave without it having issues. I have looked for help online to see if there were answers to my various issues. I really would prefer to use it. Firefox has announced it intends to really integrate ai into a central aspect of it’s functioning, and it also doesn’t as effectively stop ads like brave does, nor protect privacy as effectively.

Here was the latest issue on install . i tried to open it after and it wouldn’t open

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Failed to fetch https://brave-browser-apt-release.s3.brave.com/dists/stable/InRelease  Temporary failure resolving 'brave-browser-apt-release.s3.brave.com'
W: Failed to fetch https://ppa.launchpadcontent.net/obsproject/obs-studio/ubuntu/dists/noble/InRelease  Temporary failure resolving 'ppa.launchpadcontent.net'
W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/noble/InRelease  Temporary failure resolving 'gb.archive.ubuntu.com'
W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/noble-updates/InRelease  Temporary failure resolving 'gb.archive.ubuntu.com'
W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/dists/noble-backports/InRelease  Temporary failure resolving 'gb.archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/noble-security/InRelease  Temporary failure resolving 'security.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.

Debian-based Systems (e.g., Ubuntu)#

after repeatedly trying to start brave, i decided to remove and retry installing. I removed using these instructions

Remove the Brave Browser package

sudo apt remove --purge brave - browser

Remove any automatically installed dependencies that are no longer needed

sudo apt autoremove

After doing that,the following errors remain listed in terminal

All packages are up to date.

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. 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 0686B78420038257
W: Failed to fetch https://brave-browser-apt-release.s3.brave.com/dists/stable/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0686B78420038257
W: Some index files failed to download. They have been ignored, or old ones used instead.

I’m hesitant to try and reinstall as it might give me multiple library listing errors as it has also done before.

I installed brave browser by cutting and posting each line as displayed on the official brave.com website for installation in ubuntu:

sudo apt install curl

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

sudo curl -fsSLo /etc/apt/sources.list.d/brave-browser-release.sources https://brave-browser-apt-release.s3.brave.com/brave-browser.sources

sudo apt update

sudo apt install brave-browser

thank you very much.

Laken

Thank you

Not sure why you are seemingly making this so complicated.

Just install the snap version.

https://snapcraft.io/install/brave/ubuntu

sudo apt update
sudo snap install brave

Let us know if this resolves the matter.

4 Likes

Hullo there! Thanks for the question, and the comprehensive detail on what you tried.

:red_circle: Let’s stop here for a moment:

Note there’s a bunch of “failed to fetch” messages. It’s failing to get from numerous places, including the Ubuntu archive. This suggests a transient network isssue.

While @rubi1200 is right, and the “quick solution” to this is just install the snap. That actually might not help if you have some kind of network issues.

Also, you’re not posting the full output, so we don’t actually know what command you typed. So for future issues, it’s always handy for us to see both the command and the output.

3 Likes

Yes it sounds like a DNS issue since it cannot resolve domain names. I suggest try different DNS and then.

Also, about package itself. Suggestion made by @rubi1200 is correct. I’m using snap version of brave and it works flawlessly :slight_smile:

4 Likes

umm, i’m not making it so difficult. I was simply following the instructions of how to download the browser from the official browser.

I’m very happy to install the snap,which i didn’t know existed, and theoretically both options should work shouldn’t they ?. i’d be grateful if you also answer this question please. Currently this error is still showing, even after i removed the program .

this shows up after sudo snap update:

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. 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 0686B78420038257
W: Failed to fetch https://brave-browser-apt-release.s3.brave.com/dists/stable/InRelease The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 0686B78420038257
W: Some index files failed to download. They have been ignored, or old ones used instead.

How do i sort that out please?

thanks.

thanks. i’m not sure what was going on. I’ve not had the same issues with other software i’ve downloaded.

Further down in my message you’ll see the commands i used, which were cut and pasted from the official brave.com website .

I would start by looking at your sources.

sudo apt install inxi

If there are no errors, then
inxi -r

Post the output and please use code tags to wrap by highlighting the output and clicking the </> icon on the composer ribbon or Ctrl+E on the keyboard.

$ inxi -r

**Repos:**
**  No active apt repos in: /etc/apt/sources.list**
**  Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.sources**
**    1: deb [arch=amd64 arm64] https://brave-browser-apt-release.s3.brave.com stable main**
**  Active apt repos in: /etc/apt/sources.list.d/obsproject-ubuntu-obs-studio-noble.sources**
**    1: deb https://ppa.launchpadcontent.net/obsproject/obs-studio/ubuntu/ noble main**
**  Active apt repos in: /etc/apt/sources.list.d/ubuntu.sources**
**    1: deb http://gb.archive.ubuntu.com/ubuntu/ noble noble-updates noble-backports main restricted universe multiverse**
**    2: deb http://security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse**

There was also an error , and it seems I have two different snaps installed. I’m not sure how that happened. Please see the screenshots for the details . Also, please note, I’m new to Ubuntu. And I’m trying to fully set it up with everything i need and want.


@rubi1200
I’ve removed the sources list

If you run:
sudo cp /etc/resolv.conf /etc/resolv.conf-$(date +%Y-%m-%d)
echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf >/dev/null

Then retry installing Brave, is it OK?

1 Like

I assume you mean for brave?

What does this output show?

snap list

yes. i meant the brave sources list.

Also . I then had a problem and firefox crashed and wouldn’t restart. I decided to remove and reinstall firefox but then had this error when i went to remove firefox. I aborted and restarted my laptop as other programs were also not loading. Firefox and the other programs were then fine again. (see screenshot)

i then also decided to install brave snap.

$ snap list

**Name                       Version                     Rev    Tracking         Publisher               Notes**
**avahi                      0.8                         587    24/stable        ondra✪                  -**
**bare                       1.0                         5      latest/stable    canonical✓              base**
**brave                      1.85.118                    580    latest/stable    brave✓                  -**
**core18                     20251029                    2976   latest/stable    canonical✓              base**
**core20                     20251031                    2686   latest/stable    canonical✓              base**
**core22                     20251105                    2193   latest/stable    canonical✓              base**
**core24                     20251026                    1243   latest/stable    canonical✓              base**
**firefox                    146.0.1-1                   7559   latest/stable/…  mozilla✓                -**
**firmware-updater           0+git.0052f6b               210    1/stable/…       canonical✓              -**
**gnome-3-28-1804            3.28.0-19-g98f9e67.98f9e67  198    latest/stable    canonical✓              -**
**gnome-42-2204              0+git.38ea591               202    latest/stable/…  canonical✓              -**
**gtk-common-themes          0.1-81-g442e511             1535   latest/stable/…  canonical✓              -**
**snap-store                 0+git.90575829              1270   2/stable/…       canonical✓              -**
**snapd                      2.72                        25577  latest/stable    canonical✓              snapd**
**snapd-desktop-integration  0.9                         315    latest/stable/…  canonical✓              -**
**surfshark                  3.7.0                       77     latest/stable    surfshark1vpn           -**
**thunderbird                140.6.0esr-2                919    latest/stable/…  canonical✓              -**
**upnote                     9.16.0                      214    latest/stable    upnote-company-limited  -**

thank you for that. Can you please briefly tell me what it does?

sudo cp /etc/resolv.conf /etc/resolv.conf-$(date +%Y-%m-%d)

This command cp → copy file from /etc/resolv.conf to /etc/resolv.conf-(appending current date in this format)

echo “nameserver 8.8.8.8” | sudo tee /etc/resolv.conf >/dev/null

This command, adds new DNS servers 8.8.8.8 which are Google’s public DNS to new created file (which you previously copied and backup).

If you want your previous configuration, you have backup in this location → /etc/resolv.conf-$(date +%Y-%m-%d)

1 Like

@laken Are the issues resolved now?

If not, what remains that needs to be addressed?

1 Like

Thank you so much for explaining this, and you and everyone for your help. I don’t really understand much about dns. There’s a lot i need to learn. I’m looking forward to reading the guides and info available too, hopefully I can do that soon.

Rubi 1200. I hope so but can’t check or do the dns thing right now, as I’m dealing with an unexpected issue where I live. An engineeer has just arrived. Thank you for the help you have given. As soon as this issue where i live has been dealt with I’ll be able to get back onto my laptop and check if it’s working now and let you know

2 Likes

@rubi1200

The issue where i live is now sorted out partially.

Everything is working on my laptop ubuntu now, thank you. I haven’t needed to do anything with my dns. maybe i’ll need to when i next try an install something, I’ll have to wait and see .

I seem to get a gnome shell error of some sort when i start and log in (i did the first time and when i later rebooted got a gnome shell error). It doesn’t stop anything working as far as i can tell). I’m just sending the error report and otherwise ignoring it.

So unless you think i need to address the gnome shell error. I can now say everything is okay with the issues i brought up in this help question.

Wishing you a happy New Years Day.

Sending the error report is exactly the right thing to do in this case.

I do not have a better suggestion.

Since the original problem is now resolved, please mark the relevant post as the solution to close the loop, so to speak.

Happy New Year to you too.

1 Like

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