# Error on import the Elasticsearch public GPG key into apt

**URL:** <https://discuss.elastic.co/t/error-on-import-the-elasticsearch-public-gpg-key-into-apt/51799>\
**Category:** Elasticsearch\
**Created:** [June 3, 2016, 1:35pm UTC](https://discuss.elastic.co/t/error-on-import-the-elasticsearch-public-gpg-key-into-apt/51799 "2016-06-03T13:35:36Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![polyfractal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/polyfractal/32/48162_2.png) [@polyfractal](https://discuss.elastic.co/u/polyfractal)\
**Post date:** [June 3, 2016, 1:57pm UTC](https://discuss.elastic.co/t/error-on-import-the-elasticsearch-public-gpg-key-into-apt/51799/2 "2016-06-03T13:57:39Z")

</div>

In [this thread](https://discuss.elastic.co/t/pgp-keys-fails-to-install-no-valid-openpgp-data-found/32710), a user solved the problem by running the command separately. Perhaps try that?

---

_[View the full topic](https://discuss.elastic.co/t/error-on-import-the-elasticsearch-public-gpg-key-into-apt/51799)._
