I tried to update my system76 laptop from 22.04 to 24.04 using sudo do-release-upgrade d
The first try failed because postgresql-12 was on 'removal deny list'. So, I uninstalled postgresql-12. This may have affected some dependency issues...? But I ran the command again and the system proceeded with the upgrade. However, after it finished it was on the login screen but would not allow me to type. I did a hard reboot and was presented with a login shell. I logged in fine and all files appear to be intact.
I searched the forums and found this: How to fix broken 24.04.1 LTS upgrade which is missing necessary software?
I tried the remove, reinstall gdm3. No luck. The system prompted me to run this:
sudo dpkg --configure -a
The output was several lines of:
cp: warning: behavior of -n is non-portable and may change in future: use --update=none instead
Then:
Error were encountered while processing:
libtext-iconv-per1:amd64
libtext-charwidth-per1:amd64
libxml-parser-per1
libunicode-utf8-per1
libsub-identify-per1
...
libalgorithm-diff-xs-per1:amd64
These look connected to postgresql-12 dependencies.
How can I make corrections and get the GUI back?