Hi Sonny,
the issue is that after an upgrade services have to be restarted - this fails 
in your case.
The logs that are submitted are not helping to point at any particular issue, 
but the TL;DR is that the configuration of postgresql has to be fixed so the 
service can restart.

If you have no custom postgresql-10 config I'd recommend to get back to the 
default which usually works fine.
You can check which are modified with
 $ sudo dpkg --verify
And then restore some as needed by moving them away as a backup followed by
 $ sudo apt-get -o Dpkg::Options::="--force-confmiss" install --reinstall 
<package-name>

** Changed in: postgresql-10 (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1787987

Title:
  package postgresql-10 10.5-0ubuntu0.18.04 failed to install/upgrade:
  installed postgresql-10 package post-installation script subprocess
  returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/postgresql-10/+bug/1787987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to