# Install old beats version from repository

**URL:** <https://discuss.elastic.co/t/install-old-beats-version-from-repository/69073>\
**Category:** Beats\
**Created:** [December 14, 2016, 7:30pm UTC](https://discuss.elastic.co/t/install-old-beats-version-from-repository/69073 "2016-12-14T19:30:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mathias](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mathias/32/23176_2.png) [@mathias](https://discuss.elastic.co/u/mathias)\
**Post date:** [December 14, 2016, 7:30pm UTC](https://discuss.elastic.co/t/install-old-beats-version-from-repository/69073/1 "2016-12-14T19:30:49Z")

</div>

Hi,

I wonder if it is possible to install the beats of a specific version from the repository?  
I have tried:  
wget -qO - [https://artifacts.elastic.co/GPG-KEY-elasticsearch](https://artifacts.elastic.co/GPG-KEY-elasticsearch) | sudo apt-key add -  
echo "deb [https://artifacts.elastic.co/packages/5.x/apt](https://artifacts.elastic.co/packages/5.x/apt) stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-5.x.list  
sudo apt-get update && sudo apt-get install filebeat=5.0.2

But then I get the reply:  
E: Version '5.0.2' for 'filebeat' was not found

I do not always want the latest. I want to upgrade in a controlled manner.

Do you have another track than "stable main" with all 5.x versions?

Br Mathias

---

<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:** [December 14, 2016, 9:50pm UTC](https://discuss.elastic.co/t/install-old-beats-version-from-repository/69073/2 "2016-12-14T21:50:02Z")

</div>

This is currently a known issue with our packages, the release process removed the older 5.X packages and we're working to fix it 🙂

---

<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:** [January 4, 2017, 7:30pm UTC](https://discuss.elastic.co/t/install-old-beats-version-from-repository/69073/3 "2017-01-04T19:30:51Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
