I have verified the fix using ubuntu-release-upgrader from noble- propesed:
First, install postgresql in focal container: nr@six:~$ lxc launch ubuntu:focal f nr@six:~$ lxc exec f bash root@f:~# apt install -y postgresql [ ...SNIP... ] Then upgrade to jammy: root@f:~# do-release-upgrade -f DistUpgradeViewNonInteractive [ ...SNIP... ] Finally, attempt to ugrade to noble: root@f:~# sed -i 's/Prompt=lts/Prompt=normal/g' /etc/update-manager/release-upgrades root@f:~# do-release-upgrade --proposed [ ...SNIP... ] An unresolvable problem occurred while calculating the upgrade. The package 'postgresql-12' is marked for removal but it is in the removal deny list. To prevent data loss, postgresql packages are not removed automatically during the upgrade. If you are certain you no longer need postgresql-12, you can manually remove it and try the upgrade again. 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'. Restoring original system state Aborting Reading package lists... Done Building dependency tree... Done Reading state information... Done ** Tags removed: verification-needed verification-needed-noble ** Tags added: verification-done verification-done-noble -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2073278 Title: Dist-upgrade failed: 'The package 'postgresql-12' is marked for removal but it is in the removal deny list.' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2073278/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
