Removing vim will cause "ubuntu-wsl" to be removed
I'm currently using Ubuntu 24.04.1 LTS in WSL. I wanted to use "neovim" instead of "vim", so I tried to remove "vim". However, the return message informed me that this would remove "ubuntu-wsl" at the same time. I've read the description of "ubuntu-wsl", which says "it is recommended that it not be removed." This really confused me. Why does "ubuntu-wsl" strongly depend on programs like "vim" and "rsync"? After I replace "vim" with "neovim", do I still need "ubuntu-wsl"?
```
~$ sudo apt remove vim
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libpython3.12t64 libsodium23 vim-runtime
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
ubuntu-wsl vim
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 4247 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
```
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply: