Unable to install Ubuntu 20.04 LTS in WSL 2. I have enabled all the required things for WSl. It is resulting following error.
Please try the following:
taskkill /f /pid [PID]
.Users/[youruser]/AppData/Local/Packages/
and look for a folder called CanonicalGroupLimitedUbuntu...
then right click on it, go to Properties => Advanced Options
and disable compression for the folder, then click accept and also apply this change for subfolders.[Note] Windows uses Compression for the installation folders so is not possible to run it.
Once this is done, try to run your installation and should be working.
Hope it helps. Regards
Open PowerShell as Administrator and run this command to set WSL back to 1.
PS C:> wsl --set-default-version 1
If you have run the kernel update as of today before installing Ubuntu or Kali you will encounter this issue. This is the only way I have found to work around the issue. You can switch it back to WSL 2 after installing OS.
/TCG
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With