yum fails with "All matches were filtered out by modular filtering" in RHEL 8 / CentOS 8 / Oracle Linux 8
Installation of packages is failing due this error in RHEL 8.
Error:
'postgresql10 All matches were filtered out by modular filtering for argument: postgresql10'
No package postgresql10 available.
This issue is caused as yum fails to find or install non-modular content when a module provides the same package.
Find Articles on troubleshooting Other OCI issues.
Solution:
Modular packages can only be installed from Enabled or Default modules. To identify what module:stream
a package is part of, use yum module provides
#
yum module provides postgresql10
If you want install the package from another source, then "disable" the module first and then install the package.
dnf module enable -y postgresql10
If want to install from the module then enable the module.
dnf module enable -y postgresql10
No comments