Open joe-spall opened 8 months ago
Oh man okay. Uh I just ran this on my WSL2 setup so maybe we can diff errors or something
I had followed the WSL2 instructions manually last year but wanted to try to new script so that's why I am guessing it's because it is already set
On WSL2 if running udev_setup.bash after update-alternatives has been set for usbip, the line
update-alternatives --install /usr/local/bin/usbip usbip /usr/lib/linux-tools/*-generic/usbip 20
fails withupdate-alternatives: priority must be an integer
This causes the rest of the setup script to not be run. This error also occurs if the line is ran from the command line. I am speculating its because the priority is already set? 20 is clearly an integer.
Commenting out the line lets the rest of the script run.