【环境配置】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 错误

相关推荐
少妇的美梦1 小时前
logstash教程
运维
chen9452 小时前
k8s集群部署vector日志采集器
运维
chen9452 小时前
aws ec2部署harbor,使用s3存储
运维
christine-rr7 小时前
linux常用命令(4)——压缩命令
linux·服务器·redis
東雪蓮☆7 小时前
深入理解 LVS-DR 模式与 Keepalived 高可用集群
linux·运维·服务器·lvs
qq_264220897 小时前
LVS负载均衡群集和LVS+Keepalived群集
运维·负载均衡·lvs
乌萨奇也要立志学C++7 小时前
【Linux】进程概念(二):进程查看与 fork 初探
linux·运维·服务器
雨落Liy7 小时前
Nginx 从入门到进阶:反向代理、负载均衡与高性能实战指南
运维·nginx·负载均衡
Yyyy4828 小时前
Nginx负载均衡集群实验步骤
运维·nginx·负载均衡
绿箭柠檬茶9 小时前
Ubuntu 服务器配置转发网络访问
服务器·网络·ubuntu