CentOS 7: Failed to Update Elasticsearch 7 with yum

Elasticsearch version ( bin/elasticsearch --version ):
Version: 7.10.0, Build: default/rpm/51e9d6f22758d0374a0f3f5c6e8f3a7997850f96/2020-11-09T21:30:33.964949Z, JVM: 15.0.1

JVM version ( java -version ):
openjdk version "1.8.0_302"
OpenJDK Runtime Environment (build 1.8.0_302-b08)
OpenJDK 64-Bit Server VM (build 25.302-b08, mixed mode)

OS version ( uname -a if on a Unix-like system):
CentOS Linux release 7.9.2009 (Core)

Description of the problem including expected versus actual behavior :
When executing yum check-update I got following error:
https://artifacts.elastic.co/packages/7.x/yum/repodata/repomd.xml: [Errno 14] curl#35 - "Encountered end of file" Trying other mirror.
I expected to see the current available version to start an update afterwards

Steps to reproduce :

  1. Repofile /etc/yum.repos.d/Elasticsearch.repo:
    [Elasticsearch]
    name=Elasticsearch repository for 7.x packages
    baseurl=https://artifacts.elastic.co/packages/7.x/yum
    gpgcheck=1
    gpgkey=https://artifacts.elastic.co/GPG-KEY-Elasticsearch
    enabled=1
    autorefresh=1
    type=rpm-md
  2. Execute yum check-update

Does this happen every time you do this?

Yes, it is. Just checked again

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.