gpg:找不到有效的OpenPGP数据 [英] gpg: no valid OpenPGP data found

查看:3500
本文介绍了gpg:找不到有效的OpenPGP数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Ubuntu 13.10上安装Jenkins,并且在尝试运行以下命令时遇到上述错误:

I am trying to install Jenkins on Ubuntu 13.10 and I am getting the above mentioned error when i try to run the following command:

wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -

推荐答案

如果您落后于公司代理并且公司使用其自己的证书,则可能会出现此问题.只需在命令中添加"--no-check-certificate". 例如 wget -无需检查证书 -qO- http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt键添加-

This problem might occur if you are behind corporate proxy and corporation uses its own certificate. Just add "--no-check-certificate" in the command. e.g. wget --no-check-certificate -qO - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -

有效. 如果要查看发生了什么,可以在添加"--no-check-certificate"选项之前使用详细命令而不是安静命令. 例如 wget -vO- http://pkg.jenkins-ci.org/debian /jenkins-ci.org.key | sudo apt键添加- 如果您落后于代理服务器,这将告诉您使用"--no-check-certificate".

It works. If you want to see what is going on, you can use verbose command instead of quiet before adding "--no-check-certificate" option. e.g. wget -vO - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add - This will tell you to use "--no-check-certificate" if you are behind proxy.

这篇关于gpg:找不到有效的OpenPGP数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆