Error installing Brave browser

I am encountering this error when trying to install the latest version of the Brave browser.
Do you have any suggestions?
Thanks

Live5D:~$ sudo apt install brave-browser

Reading package lists… Done

Building dependency tree… Done

Reading state information… Done

You might want to run ‘apt --fix-broken install’ to correct these.

The following packages have unmet dependencies:

grass : Depends: libwebkit2gtk-4.1-0 but it is not installable

grass-core : Breaks: grass (< 6.4.2-1~) but 4.30.0 is to be installed

grass-gui : Breaks: grass (< 6.4.2-1~) but 4.30.0 is to be installed

E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).

1 Like
sudo apt --fix-broken install

I wouldn’t recommend that. Most likely the dependencies can’t be met.

Suggestion: specify hardware platform, distro and version.

1 Like

Live5D:~$ uname -a

Linux Live5D 5.10.0-33-amd64 #1 SMP Debian 5.10.226-1 (2024-10-03) x86_64 GNU/Linux

1 Like

$ sudo apt install curl
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
curl is already the newest version (7.74.0-1.3+deb11u14).
You might want to run ‘apt --fix-broken install’ to correct these.
The following packages have unmet dependencies:
grass : Depends: libwebkit2gtk-4.1-0 but it is not installable
grass-core : Breaks: grass (< 6.4.2-1~) but 4.30.0 is to be installed
grass-gui : Breaks: grass (< 6.4.2-1~) but 4.30.0 is to be installed
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).

1 Like

You need to follow the rest of the release channel installation instructions within the quote.

Thankyou. I continued with the steps. I treated line 2 (sudo curl -fsSLo …) and line 3 (echo "deb …) as separate commands - is this correct?

I still get error when installing brave browser:

todd@Live5D:/etc/apt/sources.list.d$ 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] password for todd:
todd@Live5D:/etc/apt/sources.list.d$ echo “deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main”|sudo tee /etc/apt/sources.list.d/brave-browser-release.list
deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main
todd@Live5D:/etc/apt/sources.list.d$ sudo apt update
Hit:1 https://brave-browser-apt-release.s3.brave.com stable InRelease
Get:2 https://brave-browser-apt-beta.s3.brave.com stable InRelease [7,547 B]
Get:3 https://brave-browser-apt-beta.s3.brave.com stable/main amd64 Packages [27.6 kB]
Get:4 Index of /pureos/ byzantium InRelease [9,641 B]
Get:5 Index of /pureos/ byzantium-security InRelease [9,650 B]
Get:6 Index of /pureos/ byzantium-updates InRelease [9,649 B]
Ign:7 Index of /pureos/ byzantium/main Translation-en
Get:8 Index of /pureos/ byzantium-security/main all Packages [90.2 kB]
Get:7 Index of /pureos/ byzantium/main Translation-en [5,685 kB]
Fetched 5,839 kB in 4s (1,298 kB/s)
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
32 packages can be upgraded. Run ‘apt list --upgradable’ to see them.
todd@Live5D:/etc/apt/sources.list.d$ sudo apt install brave-browser
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
You might want to run ‘apt --fix-broken install’ to correct these.
The following packages have unmet dependencies:
grass : Depends: libwebkit2gtk-4.1-0 but it is not installable
grass-core : Breaks: grass (< 6.4.2-1~) but 4.30.0 is to be installed
grass-gui : Breaks: grass (< 6.4.2-1~) but 4.30.0 is to be installed
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).

1 Like

Yes.

Use this command to print your /etc/apt/sources.list:

sudo cat /etc/apt/sources.list

todd@Live5D:~$ sudo cat /etc/apt/sources.list
[sudo] password for todd:
deb Index of /pureos/ byzantium main
deb Index of /pureos/ byzantium-security main
deb Index of /pureos/ byzantium-updates main

todd@Live5D:~$

1 Like

Okay, well I thought you were using Debian, but it seems you are using PureOS instead. That means there were unmet dependencies simply because they are not available in PureOS’ repositories in the first place.

thankyou.
is there any solution that would help me install brave ?

1 Like

I used the Flatpak since it works well enough… The only thing that doesn’t is Widevine

1 Like

thankyou. can you provide more details? i don’t know what flatpak or widevine is

1 Like

Widevine does DRM media streaming. Flatpak is a Linux package format. Go to Flathub and follow the instructions to get it configured on your system.

1 Like

Once it’s configured, you can run “sudo flatpak install brave” and it should find the associated flatpak from Flathub. Remember to set up Flathub (although PureOS has a flatpak repo I think…

1 Like

Isn’t brave browser in the pureos store ? I just installed it from there with no issues whatsoever

2 Likes

Ho do I access thew pure OS store? In my brave browser it shows that it needs to be updated. I choose reinstall Brave. It takes me to the Brave website where it provide a curl command to install it:

curl -fsS https://dl.brave.com/install.sh | sh

This is where I get errors:

The following packages have unmet dependencies:
grass : Depends: libwebkit2gtk-4.1-0 but it is not installable
grass-core : Breaks: grass (< 6.4.2-1~) but 4.30.0 is to be installed
grass-gui : Breaks: grass (< 6.4.2-1~) but 4.30.0 is to be installed
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).
Screenshot from 2025-01-19 10-38-02

1 Like

I also get this error in Package updater

1 Like

@nerd7473 @shak

1 Like