Skip to content
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.

Added uninstall.sh #43

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

Added uninstall.sh #43

wants to merge 16 commits into from

Conversation

alanmburr
Copy link

Looking through the Issues, I found a few users who wanted an uninstall script. So, I made one!

@deepaksp
Copy link

getting this error after running uninstall script

-bash: /usr/sbin/start-systemd-namespace: No such file or directory

@alanmburr
Copy link
Author

alanmburr commented Nov 23, 2020

Sorry, @deepaksp, sed wasn't working. The uninstall script now uses grep. Hopefully this works for you.

Sorry, @alanmburr.

@lancer-sudo
Copy link

omg, thank you very much for this pr. I met a problem that when I use wsl2(windows 10 vm like?) open the vscode, the path of the vscode terminal is not the path,where I use the command "code .".
This problem waste my hole day ToT.
Finally I found that this tool will set an env "pwd", but the value of "pwd" is a path where I install the wsl(ubuntu), It should actually be the path to "pwd" in the virtual disk of wsl.
So I'm trying to unstall this tool and find your PR.
Think you very much!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I can finally sleep T T😭

@PCDSandwichMan
Copy link

@wackyblackie You are an incredible human being. Thank you so much.

@mrconnerton-encorehc
Copy link

https://devblogs.microsoft.com/commandline/systemd-support-is-now-available-in-wsl/

Gonna uninstall this so I can give the built in support now released a try

@bhatsudo
Copy link

@wackyblackie Thanks for the script!
I installed the script, but now my WSL2 is not starting and shows the error

nsenter: failed to parse pid: '25..

So, now I can't even use the uninstall script. Any idea how I can resolve this? Thanks!

@MightyCoderX
Copy link

@bhatsudo I ran wsl like this

wsl.exe -u root

@BHellstream
Copy link

@wackyblackie Thanks for the script it was a life saver
also thanks @MightyCoderX, that also saved me a lot of trouble.

wsl.exe -u root

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants