dnf installでperl系のモジュールがnothing providesとか言われるとき

dnf installでperl系のモジュールがnothing providesとか言われるとき

$ sudo dnf install nagios-plugins-all
Last metadata expiration check: 0:00:34 ago on Sat Dec 6 14:37:33 2025.
Error:
Problem: package nagios-plugins-all-2.4.9-1.el9.x86_64 from epel requires nagios-plugins-disk_smb, but none of the providers can be installed
- package nagios-plugins-disk_smb-2.4.9-1.el9.x86_64 from epel requires perl(utf8::all), but none of the providers can be installed
- conflicting requests
- nothing provides perl(Import::Into) needed by perl-utf8-all-0.024-14.el9.noarch from epel
- nothing provides perl(PerlIO::utf8_strict) needed by perl-utf8-all-0.024-14.el9.noarch from epel
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
$

こういう感じの時
「–enablerepo=crb」オプションを指定しCodeReady Linux Builderリポジトリを有効にするとパッケージが入る。ただし、CodeReady Linux Builderはサポート対象外なので注意すること。

$ sudo dnf --enablerepo=crb install nagios-plugins-all

シェアする

  • このエントリーをはてなブックマークに追加

フォローする