所以我想安裝一個名為「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,可以透過開啟「軟體和更新」並在「其他軟體」標籤上取消選取它來將其刪除。