VirtualBox による更新エラー

VirtualBox による更新エラー

そこで、「docky」というドック バーをインストールしたいと考えました。 コマンドを実行する必要があったため機能しませんでしたsudo apt-get updateが、次の出力が得られました。

Hit:2 http://lu.archive.ubuntu.com/ubuntu disco InRelease                      
Hit:3 http://linux.teamviewer.com/deb stable InRelease                         
Hit:4 http://lu.archive.ubuntu.com/ubuntu disco-updates InRelease   
Hit:5 http://security.ubuntu.com/ubuntu disco-security InRelease    
Hit:6 http://lu.archive.ubuntu.com/ubuntu disco-backports InRelease
Ign:7 http://download.virtualbox.org/virtualbox/debian 19.04 InRelease
Get:8 http://download.virtualbox.org/virtualbox/debian disco InRelease [4.428 B]
Err:8 http://download.virtualbox.org/virtualbox/debian disco InRelease
 The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A2F683C52980AECF
Err:9 http://download.virtualbox.org/virtualbox/debian 19.04 Release
 404  Not Found [IP: 92.122.252.21 80]
Reading package lists... Done
W: GPG error: http://download.virtualbox.org/virtualbox/debian disco InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A2F683C52980AECF
E: The repository 'http://download.virtualbox.org/virtualbox/debian disco 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: The repository 'http://download.virtualbox.org/virtualbox/debian 19.04 Release' does not have a Release file.
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.

これをどう修正すればよいか分かりません。同じ問題を抱えている人はいますか?

答え1

次のようにして、VirtualBox PPA のキーを追加できます。

wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -

出典と詳細情報https://www.virtualbox.org/wiki/Linux_Downloads

システムに VirtualBox PPA が必要ない場合や不要になった場合は、「ソフトウェアとアップデート」を開いて「その他のソフトウェア」タブでチェックを外すことで削除できます。

関連情報