ブレーブブラウザ - sudo apt-getエラー

ブレーブブラウザ - sudo apt-getエラー

Ubuntu 20.04 LTSを使用しており、Braveブラウザをアンインストールしました。

Brave Browserを使用していくつかのパッケージをインストールしようとしていますがsudo apt-get install、Brave Browserをアンインストールしましたが、まだエラーメッセージに表示され、パッケージをインストールできません。コマンドを実行するたびに、次のエラーが発生します。

Ign:1 cdrom://Ubuntu 20.04.2.0 LTS _Focal Fossa_ - Release amd64 (20210209.1) focal InRelease
Hit:2 cdrom://Ubuntu 20.04.2.0 LTS _Focal Fossa_ - Release amd64 (20210209.1) focal Release
Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease                                             
Hit:5 http://security.ubuntu.com/ubuntu focal-security InRelease                                   
Hit:6 http://archive.ubuntu.com/ubuntu focal-updates InRelease                                     
Get:7 https://brave-browser-apt-nightly.s3.brave.com stable InRelease [4316 B]                     
Err:7 https://brave-browser-apt-nightly.s3.brave.com stable InRelease                              
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0B31DBA06A8A26F9
Hit:8 https://brave-browser-apt-release.s3.brave.com stable InRelease
Reading package lists... Done                            
W: GPG error: https://brave-browser-apt-nightly.s3.brave.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0B31DBA06A8A26F9
E: The repository 'https://brave-browser-apt-nightly.s3.brave.com stable 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.

Brave Browserを削除してもエラーメッセージが表示されるのはなぜですか?

ベストアンサー1

ソースファイルを削除するだけです。

sudo rm /etc/apt/sources.list.d/brave-browser-nightly.list

エラーは消えます。

おすすめ記事