# Unable to install myrocks storage engine on percona-server 5.7

**URL:** <https://forums.percona.com/t/unable-to-install-myrocks-storage-engine-on-percona-server-5-7/14135>\
**Category:** Percona Server for MySQL 5.7\
**Created:** [January 27, 2022, 10:43pm UTC](https://forums.percona.com/t/unable-to-install-myrocks-storage-engine-on-percona-server-5-7/14135 "2022-01-27T22:43:47Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Saaharjit\_Singh](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/saaharjit_singh/32/5710_2.png) [@Saaharjit\_Singh](https://forums.percona.com/u/Saaharjit_Singh)\
**Post date:** [January 27, 2022, 10:43pm UTC](https://forums.percona.com/t/unable-to-install-myrocks-storage-engine-on-percona-server-5-7/14135/1 "2022-01-27T22:43:48Z")

</div>

Hi,

I wanted to test out the myrocks storage engine with percona -server5.7. I am trying to follow the instructions listed [here](https://www.percona.com/doc/percona-server/5.7/myrocks/install.html) but I keep running into the error below. We are currently running Server version: 5.7.23-25 but for some reason it’s looking for a different version.

```auto
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 percona-server-rocksdb-5.7 : Depends: percona-server-server-5.7 (= 5.7.22-22-1.stretch) but 5.7.23-25-1.stretch is to be installed
E: Unable to correct problems, you have held broken packages.

```

---

<div class="post-metadata">

**Author:** ![Evgeniy\_Patlan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/evgeniy_patlan/32/41_2.png) [@Evgeniy\_Patlan](https://forums.percona.com/u/Evgeniy_Patlan)\
**Post date:** [January 28, 2022, 11:44am UTC](https://forums.percona.com/t/unable-to-install-myrocks-storage-engine-on-percona-server-5-7/14135/2 "2022-01-28T11:44:15Z")

</div>

HI @Saaharjit_Singh  
In order to solve this issue you need to mention the package version in apt command  
i.e. apt install percona-server-rocsdb-5.7=5.7.22-22

---

<div class="post-metadata">

**Author:** ![Saaharjit\_Singh](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/saaharjit_singh/32/5710_2.png) [@Saaharjit\_Singh](https://forums.percona.com/u/Saaharjit_Singh)\
**Post date:** [January 28, 2022, 2:19pm UTC](https://forums.percona.com/t/unable-to-install-myrocks-storage-engine-on-percona-server-5-7/14135/3 "2022-01-28T14:19:19Z")

</div>

> [@Evgeniy\_Patlan](#):
>
> apt install percona-server-rocsdb-5.7=5.7.22-22

That doesn’t work either. I get the below error

```auto
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Version '5.7.22-22' for 'percona-server-rocksdb-5.7' was not found

```

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [January 28, 2022, 4:52pm UTC](https://forums.percona.com/t/unable-to-install-myrocks-storage-engine-on-percona-server-5-7/14135/4 "2022-01-28T16:52:25Z")

</div>

I don’t see rocksdb packages for all similar mysql packages:

[https://repo.percona.com/apt/pool/main/p/percona-server-5.7/](https://repo.percona.com/apt/pool/main/p/percona-server-5.7/)

@Evgeniy_Patlan Issues with our build system?

---

<div class="post-metadata">

**Author:** ![Evgeniy\_Patlan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/evgeniy_patlan/32/41_2.png) [@Evgeniy\_Patlan](https://forums.percona.com/u/Evgeniy_Patlan)\
**Post date:** [January 28, 2022, 5:44pm UTC](https://forums.percona.com/t/unable-to-install-myrocks-storage-engine-on-percona-server-5-7/14135/5 "2022-01-28T17:44:14Z")

</div>

The issue appears as we store only 5 latest versions in our ps-57 repo and only 1 latest version in original repo  
[https://repo.percona.com/ps-57/apt/pool/main/p/percona-server-5.7/](https://repo.percona.com/ps-57/apt/pool/main/p/percona-server-5.7/)  
So if the version is older - then it is needed to download it from website

---

<div class="post-metadata">

**Author:** ![Saaharjit\_Singh](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/saaharjit_singh/32/5710_2.png) [@Saaharjit\_Singh](https://forums.percona.com/u/Saaharjit_Singh)\
**Post date:** [January 28, 2022, 7:41pm UTC](https://forums.percona.com/t/unable-to-install-myrocks-storage-engine-on-percona-server-5-7/14135/6 "2022-01-28T19:41:43Z")

</div>

@Evgeniy_Patlan It seems like version 5.7.23-25 is missing from the repo  
[https://repo.percona.com/apt/pool/main/p/percona-server-5.7/](https://repo.percona.com/apt/pool/main/p/percona-server-5.7/)

---

<div class="post-metadata">

**Author:** ![matthewb](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/matthewb/32/34_2.png) [@matthewb](https://forums.percona.com/u/matthewb)\
**Post date:** [January 28, 2022, 7:51pm UTC](https://forums.percona.com/t/unable-to-install-myrocks-storage-engine-on-percona-server-5-7/14135/7 "2022-01-28T19:51:09Z")

</div>

@Saaharjit_Singh ,  
As Evgeniy said, we only keep the latest 5 versions of MyRocks in the repo. The current version of Percona Server is 5.7.36. You are running 5.7.23 which is 13 versions older than latest.

Please go here [Download Percona Server for MySQL 5.7](https://www.percona.com/downloads/Percona-Server-5.7/LATEST/) and select your version of MySQL. Then you can download the correct MyRocks package. I do see your version listed with MyRocks.

---

<div class="post-metadata">

**Author:** ![George\_Lorch](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/george_lorch/32/1108_2.png) [@George\_Lorch](https://forums.percona.com/u/George_Lorch)\
**Post date:** [January 31, 2022, 12:22am UTC](https://forums.percona.com/t/unable-to-install-myrocks-storage-engine-on-percona-server-5-7/14135/8 "2022-01-31T00:22:36Z")

</div>

5.7.23 is very old regardless and you should update to a more modern and more secure version before exploring MyRocks. There have beena great many things fixed in both the server and MyRocks engine since then. Since you are considering an engine change, you should also consider an 8.0 upgrade as 5.7 will be EOL by the end of next year. New development on both the core server and MyRocks is moving forward on the 8.0 series only.

–  
George O. Lorch III  
Director of Server Engineering, Percona Server for MySQL, Percona XtraDB Cluster, and Percona XtraBackup
