Ajax http request terminated error while installing a Drupal 8 site
The UnmetDependenciesException is something you get when Drupal tries to install a configuration that depends on other modules/configuration which are missing.

You shouldn't see this error installing one of the standard install profiles. My hunch is that the source to your errors is PostgreSQL which is not fully supported by Drupal 8 at this time of writing.

See more in the issue queue: https://www.drupal.org/node/2157455 for running Drupal 8 on postgreSQL.