Cann't install httpd: nothing provides /etc/mime.types

cann’t install httpd on latest RockyLinux 8.4
dnf install httpd

Problem: conflicting requests

  • nothing provides /etc/mime.types needed by httpd-2.4.37-39.module+el8.4.0+571+fd70afb1.x86_64
    (try to add ‘–skip-broken’ to skip uninstallable packages or ‘–nobest’ to use not only best candidate packages)

first dnf install mailcap and next dnf install httpd

needed a dependency of mailcap on httpd
it’s pretty the same bug as