Apt update issue

Description of the issue:

Can’t to update packages via apt update due to repository issues from brave. Even uninstalling brave the issue still reproduces.

Enviroment:

  • Ubuntu 18.04.6 LTS
  • Brave Browser 109.1.47.171

Output from terminal when try to update:

> 
> Hit:1 https://brave-browser-apt-release.s3.brave.com trusty InRelease                                                                                                                                             
> Hit:2 http://us.archive.ubuntu.com/ubuntu bionic InRelease                                                                                                                                                        
> Hit:3 http://security.ubuntu.com/ubuntu bionic-security InRelease                                                                   
> Hit:4 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease                                                                
> Err:5 https://s3-us-west-2.amazonaws.com/brave-apt xenial InRelease                                          
>   301  Moved Permanently [IP: 52.92.251.104 443]
> Err:6 https://s3-us-west-2.amazonaws.com/brave-apt stretch InRelease
>   301  Moved Permanently [IP: 52.92.251.104 443]
> Reading package lists... Done
> E: Failed to fetch https://s3-us-west-2.amazonaws.com/brave-apt/dists/xenial/InRelease  301  Moved Permanently [IP: 52.92.251.104 443]
> E: The repository 'https://s3-us-west-2.amazonaws.com/brave-apt xenial InRelease' is not signed.
> N: Updating from such a repository can't be done securely, and is therefore disabled by default.
> N: See apt-secure(8) manpage for repository creation and user configuration details.
> E: Failed to fetch https://s3-us-west-2.amazonaws.com/brave-apt/dists/stretch/InRelease  301  Moved Permanently [IP: 52.92.251.104 443]
> E: The repository 'https://s3-us-west-2.amazonaws.com/brave-apt stretch InRelease' is not signed.
> N: Updating from such a repository can't be done securely, and is therefore disabled by default.
> N: See apt-secure(8) manpage for repository creation and user configuration details.

Hello @mroma

Thanks for the information, I’ve shared this with our team and I’m waiting for further information on the matter. Once our team has answers, I will get back to you as soon as possible.

Regards!

To update an existing Brave installation on Debian / Ubuntu / Mint installations:

sudo apt-get install --only-upgrade brave-browser

sudo means “SuperUser Do”. With a valid password, it enables otherwise prohibited access and operation(s).

apt-get Debian / Ubuntu / Mint (and some other linux releases) pack software using the dpkg packaging system. apt-get is a … somewhat … user-friendly tool to interact with the dpkg packaging system.

install isn’t quite as self-evident as it seems:

--only-upgrade Appending this to install limits the action to a package that’s newer than what’s already on your computer.

brave-browser limits apt-get install --only-upgrade to the Brave browser.

As noted, this command is appropriate for Debian / Ubuntu / Mint; (for Fedora, CentOS Stream, RHEL perhaps someone else will reply.)

Linux installations allow some user control over what’s updated and when; mostly over the ‘when’,and not so much over the ‘what’. My experience is that I can control timing of checking for updates let alone downloading and installing them; but an ‘update’ is all-inclusive related to what’s installed on a computer. Further, while a publisher (e.g. Brave) may have updated its offering, the update may not be timely added to the relevant linux repository. My experience: sometimes a linux update coincidentally and timely updates Brave; other times, I use the command line at the top of this reply.

That unfortunately did not solved the issue, however I did managed to solve it by going at the Ubuntu Software & Updates → Other Software and then removing the PPAs related to the brave browser. Then I uninstalled and purged, removing completely the browser, and only then I reinstalled. Now it’s running fine, thanks for the support.

I’m glad you were able to resolve this; sorry my specific suggestion didn’t help you.

FWIW, moments ago I used the command string in my earlier comment to update Brave from v1.48.164 to v1.48.171 This, on a debian installation.

Brave is a niche browser, and linux is a niche operating system. Exchanging information can … sometimes … be helpful.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.