I hit this in my development environment with no MAAS snap involved: focal LXD container, long lived which then got updates to the various postgresql packages via unattended-upgrades - see https://paste.ubuntu.com/p/VrY4Gv8SyC/ for /var/log/apt/history.log snippet, the last two entries being me trying to get out of the buggy situation.
The issue showed up for me when I was running MAAS unit tests against a change I was making. Initially showed as https://paste.ubuntu.com/p/gKT6Mhzd34/ then I tried reinstalling the postgresql-12 package in case there was some re-initalisation that would be triggered. Finally I simply rebooted the container, at which point the error went away. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1939898 Title: Unnatended postgresql-12 upgrade caused MAAS internal error To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1939898/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs