1、apt-get update遇到错误
W: GPG error: ftp://ftp.cn.debian.org stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AED4B06F473041FA
解决办法:apt-get install debian-archive-keyring 即可
2、寻找apt源
使用apt-spy
#apt-get install apt-spy
#mv /etc/apt/sources.list /etc/apt/sources.list.bak
#apt-spy update
#apt-spy -d stable -a asia -t 5
会新生成source.list
本文介绍了解决Debian系统中使用apt-get update时出现的GPG验证错误的方法,并提供了一个简单的命令来修复该问题。同时,还介绍了如何使用apt-spy工具来寻找合适的APT源。
1691

被折叠的 条评论
为什么被折叠?



