While I was trying to install xubuntu-desktop on wsl2(Ubuntu 20.04) on windows 10.
It got stuck at
Initializing mlocate database; this may take some time...
after waiting for a long time(left it for a whole night, as I heard this process takes a lot of time as it parses through every path present on the system)
I closed the process and ran:
sudo dpkg --configure -a
again it's stuck at the same point.
My question is:
- How to resolve it?
- Why does it take so much time?
Any help will be appreciated.
Thanks in advance!