So, I was updating my ubuntu 20.04 to 22.04 yesterday. I left it on updating and when I woke up I found that the laptop had turned off due to low power. I wasn't able to run ubuntu on my system after charging it.
I immediately switched to recovery mode and accessed the root shell. There, I tried to run the command sudo apt update but I am getting the error - No module named apt_pkg as shown in the image.
Image may be NSFW.
Clik here to view.
How to solve this issue ?