博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
【Error】 the public key is not available: NO_PUBKEY 4F4EA0AAE5267A6C
阅读量:4208 次
发布时间:2019-05-26

本文共 1486 字,大约阅读时间需要 4 分钟。

安装了php第三方源后apt-get update遇到如下错误:

$ sudo apt-get update -yHit:1 http://downloads.metasploit.com/data/releases/metasploit-framework/apt lucid InReleaseGet:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]Hit:3 http://archive.ubuntu.com/ubuntu xenial InReleaseGet:4 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease [23.9 kB]Get:5 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]Ign:4 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InReleaseGet:6 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]Fetched 347 kB in 2s (140 kB/s)Reading package lists... DoneW: GPG error: http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4F4EA0AAE5267A6CW: The repository 'http://ppa.launchpad.net/ondrej/php/ubuntu xenial 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.

解决办法:

$ apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4F4EA0AAE5267A6CExecuting: /tmp/tmp.wyAfMZc8sV/gpg.1.sh --keyserverkeyserver.ubuntu.com--recv-keys4F4EA0AAE5267A6Cgpg: requesting key E5267A6C from hkp server keyserver.ubuntu.comgpg: key E5267A6C: public key "Launchpad PPA for Ond\xc5\x99ej Sur�" importedgpg: Total number processed: 1gpg:               imported: 1  (RSA: 1)

参考:

转载地址:http://armli.baihongyu.com/

你可能感兴趣的文章
SiteScope - Agentless监控
查看>>
QTP测试.NET控件CheckedListBox
查看>>
使用QTP的.NET插件扩展技术测试ComponentOne的ToolBar控件
查看>>
用上帝之眼进行自动化测试
查看>>
为LoadRunner写一个lr_save_float函数
查看>>
PrefTest工作室全新力作-《性能测试与调优实战》课程视频即将上线
查看>>
质量度量分析与测试技术 培训大纲
查看>>
欢迎加入【亿能测试快讯】邮件列表!
查看>>
为什么我们的自动化测试“要”这么难
查看>>
LoadRunner性能脚本开发实战训练
查看>>
测试之途,前途?钱途?图何?
查看>>
测试设计与测试项目实战训练
查看>>
HP Sprinter:敏捷加速器
查看>>
单元测试培训PPT
查看>>
adb常用命令
查看>>
通过LR监控Linux服务器性能
查看>>
通过FTP服务的winsockes录制脚本
查看>>
LRwinsocket协议测试AAA服务器
查看>>
Net远程管理实验
查看>>
反病毒专家谈虚拟机技术 面临两大技术难题
查看>>