I found a "work around" thanks to Gemini.

# Add the Official PostgreSQL Repo
# By adding the official repo, the upgrader will see that `postgresql-15` is 
available for **both** Jammy (24.04) and Noble (24.04). This usually clears the 
"unresolvable problem" because it no longer has to choose between "delete it" 
or "break dependencies."

# A. **Add the repository key and source:**
sudo apt install -y postgresql-common
sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh

# B. Update your package lists:
sudo apt update

# C. Try the "Dry Run" Upgrade
#    Instead of the full GUI or release-upgrade immediately, run this to see 
exactly what is breaking:
sudo apt dist-upgrade
# Note: If it completes: Great! Now run `sudo do-release-upgrade`.

# D. Run Upgrade:
sudo do-release-upgrade

# E. Re-enable and Update the Repository
#    The upgrade process usually comments out the lines in your source files. 
We need to point them to the new version of Ubuntu.
#    Run the following to automatically refresh the PostgreSQL repo for 24.04:
sudo /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh

# F. Verify Version 15 is Active
#   Check the status of your database cluster. This command is the "gold 
standard" for seeing which versions are running and on which ports:
pg_lsclusters

I'm now working through all the stuff the upgrade broke.
I had to re-install vim.
I'm trying to get my desktop "launchers" to not show ".desktop"
Get the desktop "launchers" so the icons show again.
And figure out how to get pgadmin4 back (their problem not yours as for some 
reason they don't support LTS releases).

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

Title:
  24.04 LTS won't install due to PostgreSQL 15

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2139618/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to