# Curator APT repository error

**URL:** <https://discuss.elastic.co/t/curator-apt-repository-error/83780>\
**Category:** Elasticsearch\
**Created:** [April 27, 2017, 1:15am UTC](https://discuss.elastic.co/t/curator-apt-repository-error/83780 "2017-04-27T01:15:59Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![hmoffatt](https://avatars.discourse-cdn.com/v4/letter/h/c57346/32.png) [@hmoffatt](https://discuss.elastic.co/u/hmoffatt)\
**Post date:** [April 27, 2017, 1:15am UTC](https://discuss.elastic.co/t/curator-apt-repository-error/83780/1 "2017-04-27T01:15:59Z")

</div>

Since last week I'm getting the following error from "apt-get update" from the Curator repository:

W: Failed to fetch [http://packages.elastic.co/curator/5/debian/dists/stable/InRelease](http://packages.elastic.co/curator/5/debian/dists/stable/InRelease) Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)

I just updated the URL from Curator 4 to 5 and it did not fix it. The v4 repository worked until a week or two agao.

Looks like you stopped providing i386 packages?

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [April 27, 2017, 2:15am UTC](https://discuss.elastic.co/t/curator-apt-repository-error/83780/2 "2017-04-27T02:15:38Z")

</div>

That is correct. We had an unfortunate event happen with our package release box (which was hosted on Amazon AWS), and it went away. I was forced to re-create the repository.

Since Curator 4.2, the DEB packages are frozen binary packages built from 64bit Python 3.5.2 or 3.6.1:

```auto
user@host:/opt/elasticsearch-curator$ file curator
curator: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=7787034e6f9883bdec09e5ccb26fbc1a372f8390, stripped

```

While I _could_ have kept the older, pre-4.2, `python-elasticsearch-curator` (and associated) packages (which were python, and therefore architecture independent), all of the new builds were compiled, and 64bit only, so that's all I pushed.

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [April 27, 2017, 2:17am UTC](https://discuss.elastic.co/t/curator-apt-repository-error/83780/3 "2017-04-27T02:17:47Z")

</div>

So, if you were still using Curator 4.1.2, it was installed via `apt install python-elasticsearch-curator`. Now it's installed via `apt install elasticsearch-curator`, and the packages conflict with one another. I'm pretty sure 4.1.2 was the last version like that. Everything since then is 64bit.

---

<div class="post-metadata">

**Author:** ![hmoffatt](https://avatars.discourse-cdn.com/v4/letter/h/c57346/32.png) [@hmoffatt](https://discuss.elastic.co/u/hmoffatt)\
**Post date:** [April 27, 2017, 2:53am UTC](https://discuss.elastic.co/t/curator-apt-repository-error/83780/4 "2017-04-27T02:53:10Z")

</div>

OK, thanks for your reply. It looks like I've actually installed 4.2.6 using PIP and not used the repository at all. I don't remember why I would have done that.

I have pretty basic needs for Curator, so can I safely keep using 4.2.6 with Elasticsearch 5.3?

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [April 27, 2017, 4:11am UTC](https://discuss.elastic.co/t/curator-apt-repository-error/83780/5 "2017-04-27T04:11:48Z")

</div>

Sure, if it's meeting your needs. If you've already done that, however, there's no reason not to upgrade (via `pip`) to Curator 5.0.1:

```auto
pip install -U elasticsearch-curator==5.0.1

```

---

<div class="post-metadata">

**Author:** ![hmoffatt](https://avatars.discourse-cdn.com/v4/letter/h/c57346/32.png) [@hmoffatt](https://discuss.elastic.co/u/hmoffatt)\
**Post date:** [April 27, 2017, 7:21am UTC](https://discuss.elastic.co/t/curator-apt-repository-error/83780/6 "2017-04-27T07:21:28Z")

</div>

That works too. Thanks.

---

<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:** [May 25, 2017, 7:33am UTC](https://discuss.elastic.co/t/curator-apt-repository-error/83780/7 "2017-05-25T07:33:12Z")

</div>

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