brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.67k stars 2.31k forks source link

deb repo: doesn't support i386 error when fetching updates #40068

Open kyoforkshomebrews opened 2 months ago

kyoforkshomebrews commented 2 months ago

Description

I get this when fetching updates on my system:

W: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',

Steps to reproduce

  1. sudo apt update (or nala or GUI)
  2. See error mentioned above

Actual result

Error

Expected result

No error

Reproduces how often

Easily reproduced

Brave version (brave://version info)

Linux Mint 22

Channel information

Reproducibility

Miscellaneous information

No response

bu11etpr00f commented 1 month ago

Instructions for "Installing Brave on Linux" for "Debian, Ubuntu, Mint" need to have arch=amd64 added to read as follows:

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

'echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list'

sudo apt update

sudo apt install brave-browser

You can resolve this issue by editing /etc/apt/sources.list.d/brave-browser-release.list to read as follows:

deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main

Resolves Error: 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'