# New elastic search debian package error

**URL:** <https://discuss.elastic.co/t/new-elastic-search-debian-package-error/66128>\
**Category:** Elasticsearch\
**Created:** [November 15, 2016, 3:12pm UTC](https://discuss.elastic.co/t/new-elastic-search-debian-package-error/66128 "2016-11-15T15:12:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DimitrisFilippou](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dimitrisfilippou/32/13229_2.png) [@DimitrisFilippou](https://discuss.elastic.co/u/DimitrisFilippou)\
**Post date:** [November 15, 2016, 3:12pm UTC](https://discuss.elastic.co/t/new-elastic-search-debian-package-error/66128/1 "2016-11-15T15:12:59Z")

</div>

```
sudo apt-get install openjdk-8-jre
curl -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.0.1.deb
sudo dpkg -i elasticsearch-5.0.1.deb

```

when i try to install it , it gives me this error

```
dpkg-deb: error: 'elasticsearch-5.0.1.deb' is not a debian format archive
dpkg: error processing archive elasticsearch-5.0.1.deb (--install):
 subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
 elasticsearch-5.0.1.deb

```

Whats wrong?

**Note**

`du -h elasticsearch-5.0.1.deb`

output:

`4.0K elasticsearch-5.0.1.deb`

(I dont like that size , it may be corrupted)

---

<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 13, 2016, 3:13pm UTC](https://discuss.elastic.co/t/new-elastic-search-debian-package-error/66128/2 "2016-12-13T15:13:48Z")

</div>

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