我无法更新,因为存储库“http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 ./ Release”未签名

我无法更新,因为存储库“http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 ./ Release”未签名

每当我尝试更新终端时都会告诉我这个

Ign:20 http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 ./ Release.gpg
Reading package lists... Done 
W: GPG error: http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 ./ Release: The following signatures were invalid: EXPKEYSIG 2F7F0DA5FD5B64B9 home:strycore OBS Project <home:[email protected]>
E: The repository 'http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 ./ Release' 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.

答案在这里'http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04 ./ Release' 未签名不能解决我的问题。

答案1

密钥已过期,您可以尝试再次下载。

wget -qO - https://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04/Release.key | sudo apt-key add -
sudo apt-get update

答案2

我能够通过使用 cmd 解决我的问题

curl https://build.opensuse.org/projects/home:manuelschneid3r/public_key | sudo apt-key add -
echo 'deb http://download.opensuse.org/repositories/home:/manuelschneid3r/xUbuntu_20.04/ /' | sudo tee /etc/apt/sources.list.d/home:manuelschneid3r.list
sudo wget -nv https://download.opensuse.org/repositories/home:manuelschneid3r/xUbuntu_20.04/Release.key -O "/etc/apt/trusted.gpg.d/home:manuelschneid3r.asc"
sudo apt update
sudo apt install albert

相关内容