Fresh install on almalinux 8 fails on mariadb installation

I’m installing on a fresh server with Almalinux 8 and the ansible playbook command keeps failing on the mariadb installation step

TASK [Install MariaDB] ***************************************************************************************************************************************

TASK [common : Edit /etc/yum.repos.d/mariadb.repo] ***********************************************************************************************************
ok: [localhost] => (item=Set mariadb => name = MariaDB)
changed: [localhost] => (item=Set mariadb => baseurl = http://yum.mariadb.org/11.4/rhel$releasever-amd64)
ok: [localhost] => (item=Set mariadb => gpgkey = https://yum.mariadb.org/RPM-GPG-KEY-MariaDB)
ok: [localhost] => (item=Set mariadb => gpgcheck = 1)

TASK [packages/install : Install MariaDB 10.6+ prereqs] ******************************************************************************************************
fatal: [localhost]: FAILED! => changed=false 
  failures:
  - No package libpmem available.
  msg: |-
    Depsolve Error occurred:
     Problem: cannot install the best candidate for the job
      - package galera-4-26.4.19-1.el8.x86_64 from mariadb does not have a compatible architecture
      - nothing provides ld-linux-x86-64.so.2()(64bit) needed by galera-4-26.4.19-1.el8.x86_64 from mariadb
      - nothing provides ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) needed by galera-4-26.4.19-1.el8.x86_64 from mariadb
      - nothing provides libm.so.6(GLIBC_2.2.5)(64bit) needed by galera-4-26.4.19-1.el8.x86_64 from mariadb
      - nothing provides libpthread.so.0(GLIBC_2.2.5)(64bit) needed by galera-4-26.4.19-1.el8.x86_64 from mariadb
      - nothing provides libpthread.so.0(GLIBC_2.3.2)(64bit) needed by galera-4-26.4.19-1.el8.x86_64 from mariadb
      - nothing provides libpthread.so.0(GLIBC_2.3.3)(64bit) needed by galera-4-26.4.19-1.el8.x86_64 from mariadb
  rc: 1
  results: []

PLAY RECAP ***************************************************************************************************************************************************
localhost                  : ok=108  changed=1    unreachable=0    failed=1    skipped=64   rescued=0    ignored=0   

When I execute yum install libpmem I get the error below

ApisCP Packages for CentOS Linux 8 - aarch64                                                                                  435  B/s | 521  B     00:01    
Errors during downloading metadata for repository 'apnscp':
  - Status code: 402 for https://yum.apiscp.com/os/8/aarch64/repodata/repomd.xml (IP: 45.32.193.57)
Error: Failed to download metadata for repo 'apnscp': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
ApisCP Package Updates for CentOS Linux 8 - aarch64                                                                           582  B/s | 521  B     00:00    
Errors during downloading metadata for repository 'apnscp-updates':
  - Status code: 402 for https://yum.apiscp.com/updates/8/aarch64/repodata/repomd.xml (IP: 45.32.193.57)
Error: Failed to download metadata for repo 'apnscp-updates': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Ignoring repositories: apnscp, apnscp-updates
Last metadata expiration check: 0:11:52 ago on Fri 01 Nov 2024 04:08:35 PM UTC.
No match for argument: libpmem
Error: Unable to find a match: libpmem

ARM64 is not supported. You’ll need to install on an x86-64 server.

1 Like