dnfコマンドで「libc.so.6」が必要とされていますのエラー

「fping」をdnfコマンドでインストールしようとすると、「nothing provides libc.so.6(GLIBC_2.34)(64bit) needed by fping-5.1-1.el9.x86_64 from zabbix-non-supported (try to add '–skip-broken’ to skip uninstallable packages or '–nobest’ to use not only best candidate packages」とエラーが表示されます。

fpingのインストール時に「libc.so.6」が必要とされていますとエラーがでてインストールできません

$ sudo dnf install fping
Last metadata expiration check: 0:03:30 ago on Mon 09 Sep 2024 03:56:34 PM JST.
Error: 
 Problem: cannot install the best candidate for the job
  - nothing provides libc.so.6(GLIBC_2.34)(64bit) needed by fping-5.1-1.el9.x86_64 from zabbix-non-supported
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

「libc.so.6」がどのパッケージに含まれているかを「dnf provides libc.so.6」で検索することができます

$ sudo dnf provides libc.so.6
Last metadata expiration check: 0:06:37 ago on Mon 09 Sep 2024 03:56:34 PM JST.
glibc-2.28-251.el8_10.2.i686 : The GNU libc libraries
Repo        : baseos
Matched from:
Provide    : libc.so.6

glibc-2.28-251.el8_10.4.i686 : The GNU libc libraries
Repo        : baseos
Matched from:
Provide    : libc.so.6

libc.so.6」は、「glibc-2.28-251.el8_10.4.i686」に含まれているので、そのパッケージをインストールします

$ sudo dnf install glibc-2.28-251.el8_10.4.i686