Appendix B. Troubleshooting PostgreSQL
If the 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:el8Copy to Clipboard Copied! Toggle word wrap Toggle overflow Install the PostgreSQL upgrade package:
dnf install postgresql-upgrade
# dnf install postgresql-upgradeCopy to Clipboard Copied! Toggle word wrap Toggle overflow Perform the upgrade:
postgresql-setup --upgrade
# postgresql-setup --upgradeCopy to Clipboard Copied! Toggle word wrap Toggle overflow