error: https://packages.elastic.co/GPG-KEY-elasticsearch: import read failed(2).

安装filebeat报错:

curl: (35) SSL connect error
error: https://packages.elastic.co/GPG-KEY-elasticsearch: import read failed(2).

解决方案:

wget https://packages.elastic.co/GPG-KEY-elasticsearch --no-check-certificate

rpm --import GPG-KEY-elasticsearch

原文地址:https://www.cnblogs.com/royfans/p/10204913.html

时间: 2024-10-18 18:11:10

error: https://packages.elastic.co/GPG-KEY-elasticsearch: import read failed(2).的相关文章

[elastic search][redis] 初试 ElasticSearch / redis

现有项目组,工作需要. http://www.cnblogs.com/xing901022/p/4704319.html Elastic Search权威指南(中文版) https://es.xiaoleilu.com/010_Intro/00_README.html https://www.elastic.co/guide/cn/elasticsearch/guide/current/index.html https://github.com/elastic/elasticsearch Ela

redhat7.2 error: public.gpg.key: import read failed(2).

系统版本: [[email protected] yum.repos.d]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.2 (Maipo) 最初本地yum文件: [[email protected] yum.repos.d]# cat local.repo [loacl] name=local baseurl=file:///media/cdrom enabled=1 gpgchek=0 之后本地yum源安

本地yum源无法使用 ,rpm --import public.gpg.key

一次重装CentOS7系统后,挂载光驱并制作成本地yum源却无法使用yum进行安装,这TM着实有点闹心.o(>﹏<)o 案发现场: [[email protected] ~]# yum -y install /mnt/Packages/vsftpd-3.0.2-22.el7.x86_64.rpm You have enabled checking of packages via GPG keys. This is a good thing.However, you do not have an

REHL7中yum 安装提示 GPG.KEY问题

yum install -y httpd You have enabled checking of packages via GPG keys. This is a good thing However, you do not have any GPG public keys installed. You need to downloadthe keys for packages you wish to install and install them.You can do that by ru

mysql执行带外键的sql文件时出现mysql ERROR 1215 (HY000): Cannot add foreign key constraint的解决

ERROR 1215 (HY000): Cannot add foreign key constraint 最近在建表时遇到了这个错误,然后找了下找到了解决办法,记录下: 本来是要建两张表: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 create table department( id int, name varchar(20) ); create table employee( id int primary key auto_increment, name varch

ERROR 1062 (23000): Duplicate entry for key &#39;PRIMARY&#39;

ALTER TABLE table1 ADD COLUMN column1 VARCHAR(400) DEFAULT NULL; ERROR 1062 (23000): Duplicate entry '82133627' for key 'PRIMARY' select * from table1 where <primary_key_field>='82133627'; Primary key - primary_key_field int(11) NOT NULL solution -

yum出现Error downloading packages错误

yum出现Error downloading packages错误错误表现方式:yum可以list,可以clean cache,但是无法安装,错误提示: Downloading packages: Error downloading packages: libevent-devel-2.0.21-4.el7.x86_64: [Errno 5] [Errno 2] 没有那个文件或目录 libevent-2.0.21-4.el7.x86_64: [Errno 5] [Errno 2] 没有那个文件或

laravel migrate时报错:Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes

在按照文档执行php artisan migrate时报错. SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter table `users` add unique `users_email_unique`(`email`)) 解决方法 namespace App\Providers; use Illum

php artisan migrate时出现 SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes解决办法

在测试队列中运用artisan命令行 php artisan queue:table php artisan migrate时出现 SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes Change database.php which is in config folder where it says 'charset' =