For data safety reasons we do not upgrade Postgres between major versions / remove postgres during upgrades. You'll want to ensure your database is backed up, remove postgres packages, upgrade, install the latest postgres and restore.
** Changed in: ubuntu-release-upgrader (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2081008 Title: I am facing problem while upgrading from ubuntu22 to ubuntu24, it gives some message like "Could not calculate the upgrade An unresolvable problem occurred while calculating the upgrade. The package postgresql-16-postgis-1' is marked for removal but it is in the removal deny list. If none of this applies, then please report this bug using the command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal. If you want to investigate this yourself the log files in '/var/log/dist-upgrade' will contain details about the upgrade. Specifically, look at main.log and apt. log" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2081008/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs