# No luck installing Mariadb and Mariadb-server on Rocky 8.5 for Ras Pi

**URL:** <https://forums.rockylinux.org/t/no-luck-installing-mariadb-and-mariadb-server-on-rocky-8-5-for-ras-pi/6220>\
**Category:** Rocky Linux Help & Support\
**Created:** [May 31, 2022, 8:29pm UTC](https://forums.rockylinux.org/t/no-luck-installing-mariadb-and-mariadb-server-on-rocky-8-5-for-ras-pi/6220 "2022-05-31T20:29:16Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![drushtx](https://avatars.discourse-cdn.com/v4/letter/d/c57346/32.png) [@drushtx](https://forums.rockylinux.org/u/drushtx)\
**Post date:** [May 31, 2022, 8:29pm UTC](https://forums.rockylinux.org/t/no-luck-installing-mariadb-and-mariadb-server-on-rocky-8-5-for-ras-pi/6220/1 "2022-05-31T20:29:16Z")

</div>

After fresh install and update/upgrade, tried:  
$ sudo dnf install mariadb-server mariadb

and got:

"Remi’s Modular repository for Enterprise Linux 66 B/s | 131 B 00:01  
Errors during downloading metadata for repository ‘remi-modular’:

- Status code: 403 for [http://cdn.remirepo.net/enterprise/8/modular/aarch64/mirror](http://cdn.remirepo.net/enterprise/8/modular/aarch64/mirror) (IP: 109.238.14.107)
- Status code: 403 for [http://cdn.remirepo.net/enterprise/8/modular/aarch64/mirror](http://cdn.remirepo.net/enterprise/8/modular/aarch64/mirror) (IP: 176.31.103.194)

Another error but I’m out of link posts as a new user  
Error: Failed to download metadata for repo ‘remi-modular’: Cannot prepare internal mirrorlist: Status code: 403 for (link to remirepo net aarch mirror (IP: 176.31.103.194))

"  
Any thoughts?

This is all part of a tut to install osTicket on Alma. I’m sure I would succeed if I installed Alma in an x86 VM but I’m a Pi guy and really like to make things work on Rocky for Pi.  
TIA!

---

<div class="post-metadata">

**Author:** ![tjdoyle](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/tjdoyle/32/500_2.png) [@tjdoyle](https://forums.rockylinux.org/u/tjdoyle)\
**Post date:** [May 31, 2022, 9:27pm UTC](https://forums.rockylinux.org/t/no-luck-installing-mariadb-and-mariadb-server-on-rocky-8-5-for-ras-pi/6220/2 "2022-05-31T21:27:39Z")

</div>

Hi,

> [@drushtx](#):
>
> This is all part of a tut to install osTicket on Alma.

Could you please provide a link to the tutorial?

Thanks Tom.

---

<div class="post-metadata">

**Author:** ![drushtx](https://avatars.discourse-cdn.com/v4/letter/d/c57346/32.png) [@drushtx](https://forums.rockylinux.org/u/drushtx)\
**Post date:** [May 31, 2022, 9:29pm UTC](https://forums.rockylinux.org/t/no-luck-installing-mariadb-and-mariadb-server-on-rocky-8-5-for-ras-pi/6220/3 "2022-05-31T21:29:40Z")

</div>

Sure thing:

> **[How to Install osTicket on AlmaLinux - RoseHosting](https://www.rosehosting.com/blog/how-to-install-osticket-on-almalinux/)**
>
> Installing osTicket on AlmaLinux is a very easy and straightforward process that takes only about 20 minutes. Let's get started!

---

<div class="post-metadata">

**Author:** ![gerry666uk](https://avatars.discourse-cdn.com/v4/letter/g/dbc845/32.png) [@gerry666uk](https://forums.rockylinux.org/u/gerry666uk)\
**Post date:** [May 31, 2022, 9:58pm UTC](https://forums.rockylinux.org/t/no-luck-installing-mariadb-and-mariadb-server-on-rocky-8-5-for-ras-pi/6220/5 "2022-05-31T21:58:06Z")

</div>

I don’t know if it’s the same on Ras Pi, but in general you should be using MariaDB from the official Rocky repos.

---

<div class="post-metadata">

**Author:** ![tjdoyle](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/tjdoyle/32/500_2.png) [@tjdoyle](https://forums.rockylinux.org/u/tjdoyle)\
**Post date:** [May 31, 2022, 10:18pm UTC](https://forums.rockylinux.org/t/no-luck-installing-mariadb-and-mariadb-server-on-rocky-8-5-for-ras-pi/6220/6 "2022-05-31T22:18:41Z")

</div>

Hi,

I’ve allowed the link.

Remi’s repo is x86\_64 only. (Apologies should have checked earlier).

I think Remi is only there to cover the PHP 8 requirement, so if yo removed that repo I suspect mariadb would install fine.

But that does leave the problem of PHP8, I think the work around would be to be compile from source. This will be a PITA to maintain though. You would be better to run osticket on x86\_64 VM IMHO.

Regards Tom.

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [May 31, 2022, 10:37pm UTC](https://forums.rockylinux.org/t/no-luck-installing-mariadb-and-mariadb-server-on-rocky-8-5-for-ras-pi/6220/7 "2022-05-31T22:37:10Z")

</div>

EL8.6 did add PHP 8.0 stream. Seems to be there in Rocky aarch64. One has to switch the active PHP stream and then those `php*8.0*` packages do show for install.

---

<div class="post-metadata">

**Author:** ![tjdoyle](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/tjdoyle/32/500_2.png) [@tjdoyle](https://forums.rockylinux.org/u/tjdoyle)\
**Post date:** [May 31, 2022, 11:00pm UTC](https://forums.rockylinux.org/t/no-luck-installing-mariadb-and-mariadb-server-on-rocky-8-5-for-ras-pi/6220/8 "2022-05-31T23:00:09Z")

</div>

Hi jlehtone,

Thanks, I’d missed that php 8.0 was now supported. If I understand correctly switching consists of issuing:

```auto
sudo dnf module enable php:8.0

```

@drushtx If you remove remi and the php packages it provides and install the ones now provided by Rocky’s base repos, I believe osticket should work as expected.

Thanks Tom.

---

<div class="post-metadata">

**Author:** ![drushtx](https://avatars.discourse-cdn.com/v4/letter/d/c57346/32.png) [@drushtx](https://forums.rockylinux.org/u/drushtx)\
**Post date:** [June 1, 2022, 12:19am UTC](https://forums.rockylinux.org/t/no-luck-installing-mariadb-and-mariadb-server-on-rocky-8-5-for-ras-pi/6220/9 "2022-06-01T00:19:17Z")

</div>

Thanks for all of the info, guys. Now all I have to do is to learn a little more about how to remove the repo, “switch to the active stream” and the other advanced stuff that I don’t know yet. I’ll get it figured out with the info you’ve given. My one concern is that the notes seem to indicate that the fixes proposed here are for 8.6 but the RPi version of Rocky is still 8.5. We’ll see what happens.  
Best!

---

<div class="post-metadata">

**Author:** ![drushtx](https://avatars.discourse-cdn.com/v4/letter/d/c57346/32.png) [@drushtx](https://forums.rockylinux.org/u/drushtx)\
**Post date:** [June 1, 2022, 7:55pm UTC](https://forums.rockylinux.org/t/no-luck-installing-mariadb-and-mariadb-server-on-rocky-8-5-for-ras-pi/6220/10 "2022-06-01T19:55:10Z")

</div>

Thank you for allowing the link. working on finding PHP 8 in the RPi Rocky repos/EPEL. 7.x is there but no luck with 8. I’ll keep at it.  
It would be easy to do the x86 VM but that’s not the point. I have a weekly, 2-hour live show where we use RPis as a tool to study for CompTIA (and other) certifications. The new A+ calls for ticketing system knowledge so I’m trying to install one on a Pi. If I can’t get osTicket on a Pi, there are others but I love the idea of doing it on an RHEL distro instead of Raspberry Pi OS. I’ve done other Rocky-based projects in the past and they were very well received.

---

<div class="post-metadata">

**Author:** ![brian](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/brian/32/5777_2.png) [@brian](https://forums.rockylinux.org/u/brian)\
**Post date:** [August 25, 2023, 3:48am UTC](https://forums.rockylinux.org/t/no-luck-installing-mariadb-and-mariadb-server-on-rocky-8-5-for-ras-pi/6220/11 "2023-08-25T03:48:19Z")

</div>

Closed on August 25, 2023, 3:48am UTC


