# ElasticSearch Upgrade Instructions do not specify RPM switch for Upgrade... Will I fail?

**URL:** <https://discuss.elastic.co/t/elasticsearch-upgrade-instructions-do-not-specify-rpm-switch-for-upgrade-will-i-fail/71007>\
**Category:** Elasticsearch\
**Created:** [January 9, 2017, 11:18pm UTC](https://discuss.elastic.co/t/elasticsearch-upgrade-instructions-do-not-specify-rpm-switch-for-upgrade-will-i-fail/71007 "2017-01-09T23:18:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjones](https://avatars.discourse-cdn.com/v4/letter/m/439d5e/32.png) [@mjones](https://discuss.elastic.co/u/mjones)\
**Post date:** [January 9, 2017, 11:18pm UTC](https://discuss.elastic.co/t/elasticsearch-upgrade-instructions-do-not-specify-rpm-switch-for-upgrade-will-i-fail/71007/1 "2017-01-09T23:18:04Z")

</div>

I'm reviewing the "Full cluster restart upgrade" instructions specified here: [https://www.elastic.co/guide/en/elasticsearch/reference/current/restart-upgrade.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/restart-upgrade.html) . At step 3 it supplies a link with procedures to "upgrade-node" . In turn, that leads to a page that in step 3 indicates "Stop and upgrade a single node" . Choosing to upgrade via RPM package, the link sends me to "Install Elasticsearch with RPM". I'm a bit confused. Shouldn't we use the -U switch when upgrading ElasticSearch (rpm -Uv )? What is the affect of not using the -U switch per the detailed instructions given?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 9, 2017, 11:26pm UTC](https://discuss.elastic.co/t/elasticsearch-upgrade-instructions-do-not-specify-rpm-switch-for-upgrade-will-i-fail/71007/2 "2017-01-09T23:26:20Z")

</div>

Yes, you can do that.  
Or just use `yum upgrade`.

---

<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:** [February 6, 2017, 11:26pm UTC](https://discuss.elastic.co/t/elasticsearch-upgrade-instructions-do-not-specify-rpm-switch-for-upgrade-will-i-fail/71007/3 "2017-02-06T23:26:22Z")

</div>

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