PC failing to reboot after interrupted update

I was trying to install Google Chrome on my PC but interrupted the “sudo dnf update” operation by force closing the terminal. After rebooting the PC it kept getting stuck on the screen shown in the image.

I tried reverting the updates and cleaning the cache, but it still gets stuck on this screen.

Any advice would be appreciated.

Hello

GDM may be malfunctioning.

If you can log in using Ctrl+Alt+F3, please try the following:

sudo dnf clean all

sudo dnf reinstall -y gdm gnome-shell gnome-session mutter

sudo systemctl restart gdm