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

相关推荐
赵文宇(温玉)21 小时前
Docker发展时间线(2008~2025)
运维·docker·容器
看见繁华21 小时前
Linux 相关
linux·运维·服务器
源图客1 天前
CentOS系统安装Python3.12.10
linux·运维·centos
阿蔹1 天前
泰和昌商城接口自动化项目框架介绍
运维·自动化
运维之美@1 天前
linux主机ping不通问题排查
linux·运维·服务器
MyCollege19991 天前
以UEFI模式从U盘安装centos遇到空间不足
linux·运维·centos
草木红1 天前
Docker 和 portainer 安装
运维·docker·容器·portainer
kylezhao20191 天前
C# 写一个Http 服务器和客户端
服务器·http·c#
云飞云共享云桌面1 天前
昆山精密机械工厂研发部门10个SolidWorks如何共享一台服务器来进行设计办公
运维·服务器·网络·人工智能·电脑
小沈同学呀1 天前
基于时间片划分的提醒算法设计与实现
服务器·数据库·算法