r/bashonubuntuonwindows • u/userrr237 • 21m ago
HELP! Support Request The 5 errors I hit installing a Linux-only AI tool on Windows (WSL), and the fix for each
I’m not a developer. I tried to install an AI CLI (Composio) on Windows and the installer said “Windows is not supported. Use WSL.” Then I hit error after error. Here’s every fix, so you don’t lose an afternoon like I did:
1. 0x80370102 when installing WSL
Turn on virtualization in BIOS (Intel VT-x / AMD SVM), tick Virtual Machine Platform and Windows Subsystem for Linux in Windows Features, restart, then wsl --update.
2. unzip is required
sudo apt update && sudo apt install -y unzip
3. Could not resolve host (Ubuntu has no DNS)
printf '\n[network]\ngenerateResolvConf = false\n' | sudo tee -a /etc/wsl.conf
then wsl --shutdown in PowerShell, reopen Ubuntu, and:
sudo rm -f /etc/resolv.conf && echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf
(On a VPN? Try networkingMode=mirrored + dnsTunneling=true in .wslconfig instead.)
4. command not found right after installing
source ~/.bashrc or close and reopen Ubuntu.
5. Duplicated config key warning
Harmless. Remove the extra lines with sudo nano /etc/wsl.conf.
I made a 4-minute video showing all of it step by step: https://youtu.be/CtT1BxWFLFM
What other errors have you hit with WSL? I’m collecting them.