Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2797

Sudo apt command not found

$
0
0

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.


Viewing all articles
Browse latest Browse all 2797

Trending Articles



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