How to remove Brave from apt-get?

I removed Brave, but when I run apt-get update, it show some leftover.

Hit:6 https://brave-browser-apt-release.s3.brave.com stable InRelease
Err:6 https://brave-browser-apt-release.s3.brave.com stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A8580BDC82D3DC6C


W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://brave-browser-apt-release.s3.brave.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A8580BDC82D3DC6C
W: Failed to fetch https://brave-browser-apt-release.s3.brave.com/dists/stable/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A8580BDC82D3DC6C

How do I remove everything?

This error is there because while you removed the packages, the repository is still there.

Here’s how to remove everything:

  1. apt purge brave-browser brave-keyring
  2. rm /etc/apt/sources.list.d/brave-browser-release.list
  3. apt update
3 Likes

Thanks! It worked. :slight_smile:

1 Like