嘗試更新,但它提到安裝了我什至不知道的軟體。據我所知,Skype 和 Flux 似乎都沒有安裝。我怎麼能完全刪除它們?
jonathan@jonathan-laptop:~$ sudo apt-get update
Hit:1 deb.debian.org/debian buster InRelease
Hit:2 deb.debian.org/debian-security buster/updates InRelease
Get:3 ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu eoan InRelease [15.4 kB]
Hit:4 deb.debian.org/debian buster-updates InRelease
Err:3 ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu eoan InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4CDB129629A4B41A
Get:5 repo.skype.com/deb stable InRelease [4,502 B]
Err:5 repo.skype.com/deb stable InRelease
The following signatures were invalid: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <[email protected]>
Hit:6 repo.steampowered.com/steam stable InRelease
Reading package lists... Done
W: GPG error: ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu eoan InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4CDB129629A4B41A
E: The repository 'ppa.launchpad.net/nathan-renniewaldock/flux/ubuntu eoan 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.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: repo.skype.com/deb stable InRelease: The following signatures were invalid: EXPKEYSIG 1F3045A5DF7587C3 Skype Linux Client Repository <[email protected]>
答案1
您正在嘗試從個人軟體包存檔安裝軟體,但該軟體不知何故不在來源中,或其某些屬性已更改。
這些命令應重新建立此 PPA:
sudo add-apt-repository ppa:nathan-renniewaldock/ppa
sudo apt-get update
答案2
您需要清理來源儲存庫(在您的情況下,第三方儲存庫已手動新增):
sudo rm /etc/apt/sources.list.d/*
僅將官方 debian 儲存庫保留在/etc/apt/sources.list
:
cat <<EOF | sudo tee /etc/apt/sources.list
deb http://deb.debian.org/debian buster main
deb-src http://deb.debian.org/debian buster main
deb http://deb.debian.org/debian-security/ buster/updates main
deb-src http://deb.debian.org/debian-security/ buster/updates main
deb http://deb.debian.org/debian buster-updates main
deb-src http://deb.debian.org/debian buster-updates main
EOF
然後 :
sudo apt update && sudo apt upgrade