After the latest update I can't access the GUI on Ubuntu 22.04. When the system finished the update and restarted I'm met with a black terminal screen asking for my login and password. I've tried sudo apt update and upgrade and I'm met with:
gnome-shell: depends: gnome-shell-common (= 42.5-0ubuntu1) but 42.9-0ubuntu2 is to be installed
Recommends: gdm3 (>= 3.10.0.1-3~) but won't be installed Recommends: ubuntu-session but won't be installed or gnome-session but won't be installed
E: impossible to fix errors, but you kept (hold) broken packages.
EDIT2: This solved my problem. https://askubuntu.com/a/1051125/1711715
EDIT: Sudo apt update && upgrade output:
Hit:1 http://br.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://br.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 https://dl.winehq.org/wine-builds/ubuntu jammy InRelease
Get:4 http://br.archive.ubuntu.com/ubuntu jammy-backports InRelease [100kb]
Hit:5 https://dl.google.com/Linux/chrome/Deb stable InRelease
Hit:6 http://security.ubuntu.com/Ubuntu jammy-security InRelease
Hit:7 https://ppa.launchpadcontent.net/lutris-team/lutris/Ubuntu jammy InRelease
Fetching 108kb in 1s (85,2 kb/s)
Reading package list... Done
Building dependency tree... Done
Reading state information... Done
2 can be upgraded. Run 'apt list --upgradable' to see them.
The following packages will be kept at the current version:
initramfs-tools initramfs-tools-core
0 upgraded, 0 newly installed, 0 to removed and 2 not upgraded.
sudo apt update
and ofsudo apt upgrade
. The details in that output often offer important troubleshooting clues. – user535733 Jul 10 '23 at 18:18sudo dpkg-reconfigure gdm3
if you see the package configuration screen choose ok and in second screen choose gdm3 and press enter – Talaat Etman Jul 10 '23 at 19:24apt update
output. I do not see anyapt upgrade
output. – user535733 Jul 10 '23 at 19:49