Upgrading Elastic from 7.13.1 to 7.14

I am trying to upgrade elastic from 7.13.1 to 7.14.0 by following the steps in Rolling upgrades | Elasticsearch Guide [7.14] | Elastic

I am getting the conflict error as follows

localhost:~ # sudo rpm --install elasticsearch-7.14.0-x86_64.rpm
warning: elasticsearch-7.14.0-x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID d88e42b4: NOKEY
        file /etc/elasticsearch/log4j2.properties from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/lib/systemd/system/elasticsearch.service from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/NOTICE.txt from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/jaotc from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/jar from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/jarsigner from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/java from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/javac from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/javadoc from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/javap from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/jcmd from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/jconsole from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/jdb from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/jdeprscan from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/jdeps from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/jfr from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/jhsdb from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/jimage from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/jinfo from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/jlink from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/jmap from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/jmod from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/jpackage from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/jps from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/jrunscript from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/jshell from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/jstack from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/jstat from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/jstatd from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/keytool from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/rmid from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/rmiregistry from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/bin/serialver from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/conf/security/java.security from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/jmods/java.base.jmod from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/jmods/java.compiler.jmod from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/jmods/java.datatransfer.jmod from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/jmods/java.desktop.jmod from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/jmods/java.instrument.jmod from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/jmods/java.logging.jmod from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/jmods/java.management.jmod from install of elasticsearch-0:7.14.0-1.x86_64 conflicts with file from package elasticsearch-0:7.13.2-1.x86_64
        file /usr/share/elasticsearch/jdk/jmods/java.management.rmi.jmod from install of 

@Ashwin_Patil1

I believe the problem you're seeing is an rpm issue rather than an elasticsearch issue. Perhaps this will help - rpm spec - rpm --upgrade of the same package gives file conflicts - Unix & Linux Stack Exchange

That worked like a charm @mattkime. Thanks a million!

1 Like

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