# ES 6.0.0GA is listed as a DOWNGRADE to 6.0.0-preGA

**URL:** <https://discuss.elastic.co/t/es-6-0-0ga-is-listed-as-a-downgrade-to-6-0-0-prega/108334>\
**Category:** Elasticsearch\
**Created:** [November 20, 2017, 8:01am UTC](https://discuss.elastic.co/t/es-6-0-0ga-is-listed-as-a-downgrade-to-6-0-0-prega/108334 "2017-11-20T08:01:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shaharmor](https://avatars.discourse-cdn.com/v4/letter/s/58f4c7/32.png) [@shaharmor](https://discuss.elastic.co/u/shaharmor)\
**Post date:** [November 20, 2017, 8:01am UTC](https://discuss.elastic.co/t/es-6-0-0ga-is-listed-as-a-downgrade-to-6-0-0-prega/108334/1 "2017-11-20T08:01:52Z")

</div>

Hi,

In the apt-get repositories of ES, if you had a pre-GA version installed and you want to upgrade,  
adding the 6.x GA repository and running `apt-get update && apt-get dist-upgrade` will not work because `6.0.0` will be listed **below** 6.0.0-rc2 for example.

```auto
$ apt-cache policy elasticsearch
elasticsearch:
  Installed: 6.0.0-rc2
  Candidate: 6.0.0-rc2
  Version table:
 *** 6.0.0-rc2 100
        100 /var/lib/dpkg/status
     6.0.0 500
        500 https://artifacts.elastic.co/packages/6.x/apt stable/main amd64 Packages
     1.7.3+dfsg-3 500
        500 http://azure.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 18, 2017, 8:02am UTC](https://discuss.elastic.co/t/es-6-0-0ga-is-listed-as-a-downgrade-to-6-0-0-prega/108334/2 "2017-12-18T08:02:23Z")

</div>

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