Good people, any ideas? # # #

root@dwhitfield-ubuntu201804:/var/spool# dpkg --configure -a
Setting up foreman (1.20.3-2) ...
dpkg: error processing package foreman (--configure):
installed foreman package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of foreman-postgresql:
foreman-postgresql depends on foreman (= 1.20.3-2); however:
Package foreman is not configured yet.

dpkg: error processing package foreman-postgresql (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
foreman
foreman-postgresql