【环境配置】ubuntu2204-cudnn GPG key 错误

问题: cudnn GPG error

bash 复制代码
Reading package lists... Done                                                                                                                                  
W: GPG error: file:/var/cudnn-local-repo-ubuntu2204-8.8.0.121  InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 91B24998B66125A0
E: The repository 'file:/var/cudnn-local-repo-ubuntu2204-8.8.0.121  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.

解决方案

找到 /var 目录下对应的 cudnn* 文件夹,然后执行如下命令

bash 复制代码
sudo cp /var/cudnn-local-repo-ubuntu2204-8.8.0.121/*.gpg /usr/share/keyrings/
sudo apt update
sudo apt upgrade

【参考】

W: GPG error: cudnn GPG key 错误

相关推荐
aidroid35 分钟前
git github仓库管理
linux·运维·docker
学习3人组1 小时前
集群服务器主机实现主机名与IP绑定
运维·服务器·tcp/ip
it技术分享just_free1 小时前
基于 K8S kubernetes 搭建 安装 EFK日志收集平台
运维·docker·云原生·容器·kubernetes·k8s
2407-2 shw2 小时前
weblogic CVE-2018-2894 靶场攻略
java·运维·服务器·安全·weblogic
xiaobai12 32 小时前
集群聊天服务器项目【C++】(六)MySql数据库
服务器·数据库·c++
奇点 ♡2 小时前
【线程】线程的控制
linux·运维·c语言·开发语言·c++·visual studio code
向往风的男子2 小时前
【devops】devops-ansible之介绍和基础使用
运维·ansible·devops
安科瑞刘鸿鹏2 小时前
分布式光伏发电系统如何确保电能质量达到并网要求?
服务器·网络·分布式·嵌入式硬件·能源
xiaojiesec3 小时前
第159天:安全开发-Python-协议库爆破&FTP&SSH&Redis&SMTP&MYSQL等
运维·安全·ssh