Installation on Ubuntu failed


**Using the command “curl -fsS https://dl.brave.com/install.sh | sh” on Ubuntu 20.04.6 LTS I get the following errors in the terminal (translated from german to english):

N: Loading the configured file ‘main/binary-i386/Packages’ is skipped as the ‘https://brave-browser-apt-release.s3.brave.com stable InRelease’ depot does not support the ‘i386’ architecture.
E: The ‘http://ppa.launchpad.net/jconti/recent-notifications/ubuntu focal Release’ depot does not contain a release file.
N: An update of such a depot cannot be performed in a secure way, therefore it is disabled by default.
N: Further details on the creation of package depots and their user configuration can be found in the manual page apt-secure(8).

I then started a second installation attempt according to the instructions for Ubuntu, but after ‘sudo apt update’ the same error message appears.
The problem is somewhat reminiscent of this post (Cannot install Brave on Ubuntu 20.04.6 LTS - #2 by fmarier), but I don’t know whether I can simply adopt the suggestions made there for solving the problem or whether I’ll break the system …
So please give me a tip on how I can solve the problem
Many thanks and best regards **

How can this issue be reproduced?

  1. ? (New attempt to install?)

Expected result:

Brave Version( check About Brave):
Not yet installed

Additional Information:

I would stay with what Brave team member @fmarier writes:

https://community.brave.com/search?context=user&context_id=fmarier&q=linux%20order%3Alatest&skip_context=false

The link refers to a good 100 posts. Should I choose one by lot? I don’t understand much about these things and would need more specific instructions …

The problem is this:

You appear to have a third-party package archive installed which is broken or has been deleted. That may be what’s breaking apt on your system.

If you type the following in a terminal, what do you get?

ls /etc/apt/sources.list.d/

I get the following:
brave-browser-release.list
google-chrome.list
google-chrome.list.save
jconti-ubuntu-recent-notifications-focal.list
microsoft-edge.list
opera-stable.list
opera-stable.list.save
teamviewer.list
vivaldi.list
vivaldi.list.save

If you delete that file and re-run apt update, do you get an error?

rm /etc/apt/sources.list.d/jconti-ubuntu-recent-notifications-focal.list
apt update

I deleted that file and run apt update with the following result:

apt update
Paketlisten werden gelesen… Fertig
E: Sperrdatei /var/lib/apt/lists/lock konnte nicht geöffnet werden. - open (13: Keine Berechtigung)
E: Das Verzeichnis /var/lib/apt/lists/ kann nicht gesperrt werden.
W: Problem beim Entfernen (unlink) der Datei /var/cache/apt/pkgcache.bin - RemoveCaches (13: Keine Berechtigung)
W: Problem beim Entfernen (unlink) der Datei /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Keine Berechtigung)

Even after that, Brave is not listed among the executable programmes.

You’ll need to be root for that command to work:

sudo apt update

OK, now I got that:
N: Das Laden der konfigurierten Datei »main/binary-i386/Packages« wird übersprungen, da das Depot »https://brave-browser-apt-release.s3.brave.com stable InRelease« die Architektur »i386« nicht unterstützt.

That message you can ignore because it’s just a “notice”. That’s what the “N:” stands for.

Now that the broken third-party repository is out of the way, you can run the Brave installer again:

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

Now it works :wink:
Thank you so much, Francois!
Kind regards

1 Like

Great, thanks for reporting this. We’ll see if we can extend our installer script to automatically detect pre-existing problems like these.