Comment 13 for bug 1996826

Revision history for this message
Scott Carey (sputnik78) wrote (last edit ): Re: Unable to upgrade 22.04 to 22.10: Broken ubuntu-desktop:amd64 Depends on ubuntu-session:amd64

removing gnome-calendar did not fix it for me, but otherwise my apt.log and main.log are nearly identical.

What I did notice was that gnome-calendar was the first thing listed as broken by in the apt.log file here. For me, it was gir1.2-mutter-10 I removed that --

sudo apt remove gir1.2-mutter-10

(which removed ubuntu-desktop in the process!)

Then went ahead and did

sudo apt autoremove

sudo apt do-release-upgrade

and it worked!

Of course, with ubuntu-desktop gone, upon reboot the system was in text mode, so there was one more step:

sudo apt install ubuntu-desktop

TL;DR

Removing ubuntu-desktop and doing the upgrade without a window manager installed, then re-installing ubuntu-deskto from text mode worked.