I am using Ubuntu 18.04 and faced an unclean shutdown. After that, I am unable to login. After entering the password, the screen freezes. I am unable to move the mouse cursor. I can enter tty but not sure how to troubleshoot.
Can someone please guide me on how to troubleshoot this issue?
Update:
If I do journalctl -f
from tty
I can see a syntax error in a Python command. Not sure if that's related
It's in file /usr/lib/python3/dist-packages/aptdaemon/client.py
async = reply_handler and error_handler
SyntaxError: invalid syntax
Update:
Did a release upgrade to 20.04 but still no luck. Now it is stuck on login screen with message "Press Ctrl+C to cancel all filesystem checks in progress". Pressing Ctrl+C does not do anything and I am not even able to enter tty now. Pressing Ctrl+Alt+F2 just shows a blinking cursor and no tty
sudo dpkg --configure -a
in tty. – Pilot6 Feb 20 '22 at 15:51After that I ran the command you shared but there is no output for that
– Mandeep Singh Feb 20 '22 at 16:06do-release-upgrade
in hopes that I can get my system working again – Mandeep Singh Feb 20 '22 at 16:27