存储库“https://ppa.launchpadcontent.net/tuxinvader/jammy-mainline/ubuntu jammy InRelease”未签名

存储库“https://ppa.launchpadcontent.net/tuxinvader/jammy-mainline/ubuntu jammy InRelease”未签名

我尝试安装 6.0 内核,但只是盲目地按照教程操作,结果破坏了我的系统,现在每次我尝试更新时都会显示这个错误

W: GPG error: https://ppa.launchpadcontent.net/tuxinvader/jammy-mainline/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3844A6C1C6FD1056
E: The repository 'https://ppa.launchpadcontent.net/tuxinvader/jammy-mainline/ubuntu jammy 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.

答案1

在目录中查找此存储库的条目/etc/apt。它可能被添加到主源文件中/etc/apt/sources,也可能被作为目录中的单独文件添加/etc/apt/sources.d。该条目应类似于

deb https://ppa.launchpadcontent.net/tuxinvader/jammy-mainline/ubuntu jammy main 
deb-src https://ppa.launchpadcontent.net/tuxinvader/jammy-mainline/ubuntu jammy main

删除这些行并使用 重新加载本地包信息apt update

相关内容