I am in a big problem. Everything was running ok, then I tried to install MongoDB, I was getting dpkg: unrecoverable fatal error, aborting: statoverride file contains empty line
errors and was not able to install MongoDB. By mistake, I run sudo apt remove dpkg
. After that, no Linux commands are getting run. I am worried if my WSL ubuntu 18.04
is crashed. How can I recover this issue? I don't want to lose any work files. Please help.
Edit:When I run the command sudo apt remove dpkg
after some time, it opened a screen asking OK
or CANCEL
. I did not understand and I close the terminal directly. So, I am really not getting what exactly happened. After that, I cannot run sudo apt
like commands.