I repeated all the install and remove/purge commands shown in the DpkgHistoryLog.txt attachment, but couldn't reproduce the problem. Maybe there was an error in one of the installation or removal steps prior to this, that is not shown in this bug report.
Could you please attach /var/log/apt/term.log? If your system is still experiencing apt errors, could you please try this: sudo apt update sudo apt -f install and post back the results please. Thanks! ** Changed in: postgresql-10 (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to postgresql-10 in Ubuntu. https://bugs.launchpad.net/bugs/1793019 Title: package postgresql-10 10.5-0ubuntu0.18.04 failed to install/upgrade: installed postgresql-10 package pre-removal script subprocess returned error exit status 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/postgresql-10/+bug/1793019/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs