Home Linux & Systems Cybersecurity Cloud & DevOps Networks & Infrastructure SIEM & Monitoring DFIR & Threat Intel Development & Other All categories Projects About Tools

Fixing the Brave Repository Error on i386 Architecture

Leer en espanol
Fixing the Brave Repository Error on i386 Architecture

Table of contents

If you use Debian, Ubuntu, Linux Mint or another distribution based on these and have installed the Brave browser from its official repository, you may have encountered an error ===

Introduction

If you use Debian, Ubuntu, Linux Mint or another distribution based on these and have installed the Brave browser from its official repository, you may have encountered an error when updating the package list. This issue occurs because the Brave repository does not support the i386 (32-bit) architecture, resulting in warnings every time you try to update the system.

Fortunately, this problem has a simple solution: tell the package manager to only download files for the architecture amd64 (64 bit). In this guide, we will explain step by step how to fix this error and prevent it from appearing again in future updates.

Error message

When you refresh the package list, you may see the following message:

CODE
Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://brave-browser-apt-release.s3.brave.com stable InRelease' doesn't support architecture 'i386'

This happens because the Brave Browser repository does not support the i386 (32-bit) architecture, but the system keeps trying to download packages for it.

Solution

The solution is to tell the package manager to only search for packages in the architecture amd64 (64 bit).

Steps to Solve the Problem

  • Open a terminal.
  • Edit the Brave Browser repository file using the editor vi.
BASH
sudo vi /etc/apt/sources.list.d/brave-browser-release.list
  • Find the line that starts with deb and modify it to include arch=amd64. The updated line should look like this:
CODE
deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main
  • Save the changes and close the editor.
    • In vi, press ESC, writes :wq and press Enter to save and exit.
  • Refresh the package list to apply the changes:
BASH
sudo apt update

After completing these steps, the error should no longer appear when updating the package list.

Additional Notes

  • This solution is only valid if you are using a 64-bit system but still have the i386 architecture enabled.
  • If you are using a 32-bit system, Brave Browser is not supported and you may need to use an alternative browser.
  • To verify your system architecture, run:
CODE
dpkg --print-architecture

If the result is amd64, your system is 64-bit. If it is i386, your system is 32-bit and Brave Browser will not work.

Comments