I’m trying to install PXC 5.7 on Rocky Linux 8 and I require jemalloc. However, when I try to install it via yum -y install jemalloc-devel
, I get the following error:
Last metadata expiration check: 0:58:09 ago on Wed 19 Mar 2025 04:28:53 AM MSK.
Error:
Problem: cannot install the best candidate for the job
- nothing provides jemalloc = 3.6.0-1.el8 needed by jemalloc-devel-1:3.6.0-1.el8.x86_64 from pxc-57-release-x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
yum list *jemalloc*
Last metadata expiration check: 0:58:38 ago on Wed 19 Mar 2025 04:28:53 AM MSK.
Installed Packages
jemalloc.x86_64 1:3.6.0-1.el8 @pxc-57-release-x86_64
Available Packages
jemalloc-debuginfo.x86_64 1:3.6.0-1.el8 pxc-57-release-x86_64
jemalloc-debugsource.x86_64 1:3.6.0-1.el8 pxc-57-release-x86_64
jemalloc-devel.x86_64 1:3.6.0-1.el8 pxc-57-release-x86_64
For some reason, the jemalloc-devel-1:3.6.0-1.el8.x86_64
in the official repo requires jemalloc = 3.6.0-1.el8
, but only jemalloc = 1:3.6.0-1.el8
is available.
For now I fixed this by running yum -y install jemalloc-devel --nobest
, but this requires a repo fix.