@Algnis I read your answer, and I didn't find anything wrong with it except I didn't like the sudo aptitude -f install --reinstall ubuntu-desktop^ command, but then I already told you about that and it doesn't make your answer deserve to be deleted.
I don't like to install packages that wouldn't normally be installed by apt. I'd rather let the user decide for himself whether or not to install these packages.
It seems like just a Python issue that was triggered by a release upgrade, so the default apps would all be already installed anyway. tasksel has been buggy lately.
Is it ok now, I removed ubuntu-desktop^ and added ubuntu-session @karel
As user seems to use ubuntu-session instead of ubuntu-desktop
And Also I am not sure why N0rbert always just cut my answer and say it is unsecured when it is the only way to fix it, and even when it is just fine it just says that it will break the system(And after some time OP accepts my answer as solved LOL). I am tired of him. Sometimes I feel like quitting AU
Security is a game changer for me. I'd buy the Mac Pro 2022 workstation (not released yet), except that you can't run a Linux desktop on Apple M1 silicon.
Macs are really nice computers, but they're just not free somehow. You can only do what Apple lets you do on macOS. And despite being Unix-like, macOS is less secure than Linux.