Quantcast
Viewing all articles
Browse latest Browse all 4542

No module named apt_pkg [duplicate]

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.
Error message

How to solve this issue ?


Viewing all articles
Browse latest Browse all 4542

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>