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.