RoliSoft / WSL-Distribution-Switcher

Scripts to replace the distribution behind Windows Subsystem for Linux with any other Linux distribution published on Docker Hub.
MIT License
1.68k stars 185 forks source link

`python install.py rootfs_kalilinux_kali-linux-docker_latest.tar.gz` with python 3.7 #86

Open NandoPrates opened 6 years ago

NandoPrates commented 6 years ago

[] Probing the Linux subsystem... [] Default user is root at /root. [] Reading /etc/{passwd,shadow,group,gshadow} entries for root... [] Beginning extraction... [!] Failed to extract usr/share/doc/vim-tiny: [Errno 13] Permission denied: 'C:\Users\nando\AppData\Local\lxss\root\rootfs-temp/usr/share/doc/vim-tiny' [] Backing up current rootfs to rootfs_ubuntu_xenial... [] Switching to new rootfs... [*] Writing entries of root to /etc/{passwd,shadow,group,gshadow}... PS C:\WSL-Distribution-Switcher>

Lebensdesigner commented 5 years ago

Same problem

snowwolf109 commented 5 years ago

Same problem, do you find the solution for this? please advise

GaryGMg commented 4 years ago

I get an error from the installer.py: python install.py rootfs_kalilinux_kali-linux-docker_latest.tar.gz

Traceback (most recent call last): File "install.py", line 15, in from utils import File "/root/WSL-Distribution-Switcher/utils.py", line 87 def create_certifi_context(purpose = ssl.Purpose.SERVER_AUTH, , cafile = None, capath = None, cadata = None): ^ SyntaxError: invalid syntax

Would someone know the correct syntax? Python isn't my strong suit yet.