Appendix A. Troubleshooting DNF modules
If DNF modules fails to enable, it can mean an incorrect module is enabled. In that case, you have to resolve dependencies manually as follows. List the enabled modules:
dnf module list --enabled
# dnf module list --enabled
A.1. Ruby
If Ruby module fails to enable, it can mean an incorrect module is enabled. In that case, you have to resolve dependencies manually as follows:
List the enabled modules:
dnf module list --enabled
# dnf module list --enabled
If the Ruby 2.5 module has already been enabled, perform a module reset:
dnf module reset ruby
# dnf module reset ruby
A.2. PostgreSQL
If PostgreSQL module fails to enable, it can mean an incorrect module is enabled. In that case, you have to resolve dependencies manually as follows:
List the enabled modules:
dnf module list --enabled
# dnf module list --enabled
If the PostgreSQL 10 module has already been enabled, perform a module reset:
dnf module reset postgresql
# dnf module reset postgresql
If a database was previously created using PostgreSQL 10, perform an upgrade:
Enable the DNF modules:
dnf module enable satellite:el8
# dnf module enable satellite:el8
Copy to Clipboard Copied! Install the PostgreSQL upgrade package:
dnf install postgresql-upgrade
# dnf install postgresql-upgrade
Copy to Clipboard Copied! Perform the upgrade:
postgresql-setup --upgrade
# postgresql-setup --upgrade
Copy to Clipboard Copied!