Installing Brave browser on Kubuntu 22.04

So today I decided to install Brave browser on my Kubuntu 22.04 system. I followed the instructions provided by Brave to install their repository, however after installing I was facing this error from apt update:

N: 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 was a result of the 3rd step which adds the new repository to the apt repository list:

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

The problem with the above is that it fails to specify the target architecture type, which recent versions of ubuntu / kubuntu dislike.

The simple fix is to add arch=amd64 or which ever architecture that’s non-i386 that best matches your system into the argument block []

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

Once added you will need to apt update again and the error should be cleared now.

Leave a Reply

Your email address will not be published. Required fields are marked *