尝试更新,但它提到我甚至不知道已安装的软件。据我所知,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