debian update error

简介:

If you happen to upgrade using apt-get and get the following error:

# apt-get update
...
Fetched 18.7kB in 3s (5301B/s)
Reading package lists... Done
W: GPG error: http://non-us.debian.org stable/non-US Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F1D53D8C4F368D5D
W: You may want to run apt-get update to correct these problems


It means that your APT doesn’t have needed the public key. In the example above, finger print of the public key is
F1D53D8C4F368D5D. To remedy the problem, you should do the following:

# gpg --keyserver pgpkeys.mit.edu --recv-keys F1D53D8C4F368D5D
gpg: requesting key 4F368D5D from hkp server wwwkeys.eu.pgp.net
gpg: key 4F368D5D: public key "Debian Archive Automatic Signing Key (2005) " imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1

# gpg -a --export F1D53D8C4F368D5D | apt-key add -
OK

Have a nice hacking ;)










本文转自 h2appy  51CTO博客,原文链接:http://blog.51cto.com/h2appy/748208,如需转载请自行联系原作者
目录
相关文章
|
5月前
|
Python
百度搜索:蓝易云【Debian pip 错误 error: externally-managed-environment 解决方法】
通过上述方法,你应该能够解决 "error: externally-managed-environment" 错误并成功使用 pip 安装包。
99 0
|
4月前
|
消息中间件 Kubernetes NoSQL
Debian11系统boost库安装
Debian11系统boost库安装
|
6月前
|
Docker 容器
Ubuntu22 debian 安装docker
Ubuntu22 debian 安装docker
123 0
|
6月前
|
Shell 网络安全 数据安全/隐私保护
debian安装ssh(傻瓜教程)+证书免密登录
debian安装ssh(傻瓜教程)+证书免密登录
392 0
|
9月前
|
存储 缓存 安全
Docker Debian安装Docker
Docker Debian安装Docker
1342 0
|
6月前
|
Linux Python
linux 安装 pip2 kali debian python python2
linux 安装 pip2 kali debian python python2
65 0
|
3天前
|
安全 Linux 定位技术
Debian安装和基本使用
Debian安装和基本使用
7 0
|
10天前
|
资源调度 JavaScript Ubuntu
Yarn介绍及快速安装Debian/Ubuntu Linux
现在,你已经成功安装了Yarn,可以在你的JavaScript项目中使用它来管理依赖。
49 3
|
13天前
|
SQL 关系型数据库 数据库
如何在 Debian 12 上安装 PostgreSQL?
【4月更文挑战第25天】
29 0
|
19天前
|
存储 Linux 网络安全
如何通过安装XRDP在Debian 12上启用RDP功能
要在 Debian 12 Linux 上启用 RDP 功能,我们需要安装一些第三方软件,例如 XRDP。这将允许 Windows 用户使用内置的远程桌面软件访问远程运行的 Debian。按照本教程,准确了解如何做到这一点......
123 0