大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。
Jetbrains全系列IDE稳定放心使用
在修改源后使用
sudo apt-get update
显示
W: GPG error: https://mirrors.ustc.edu.cn/kali kali-rolling InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ED444FF07D8D0BF6
W: The repository 'https://mirrors.ustc.edu.cn/kali kali-rolling InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
首先按其他博客的方法使用
hetang@LAPTOP-A1:~$ gpg --keyserver pgp.mit.edu --recv-keys ED444FF07D8D0BF6
gpg: directory '/home/hetang/.gnupg' created
gpg: keybox '/home/hetang/.gnupg/pubring.kbx' created
gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory
gpg: connecting dirmngr at '/home/hetang/.gnupg/S.dirmngr' failed: No such file or directory
gpg: keyserver receive failed: No dirmngr
然后安装dirmngr
sudo apt-get install dirmngr
再运行一次
hetang@LAPTOP-A1:~$ gpg --keyserver pgp.mit.edu --recv-keys ED444FF07D8D0BF6
gpg: key ED444FF07D8D0BF6: 162 signatures not checked due to missing keys
gpg: /home/hetang/.gnupg/trustdb.gpg: trustdb created
gpg: key ED444FF07D8D0BF6: public key "Kali Linux Repository <devel@kali.org>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1
然后运行
sudo gpg -a --export ED444FF07D8D0BF6 | sudo apt-key add –
却提示
gpg: can't open '–': No such file or directory
gpg: [stdout]: write error: Broken pipe
gpg: [stdout]: write error: Broken pipe
gpg: [stdout]: write error: Broken pipe
gpg: [stdout]: write error: Broken pipe
gpg: filter_flush failed on close: Broken pipe
又找了几个博客,使用
wget https://archive.kali.org/archive-key.asc
然后
sudo apt-key add archive-key.asc
再
sudo apt-get update
终于不报错了
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/182371.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...