Hello,
Our teachers need WSL (Windows Subsystem for Linux) for the NSI option.
The WSL package from the Wapt Store doesn't install WSL even after a machine restart (W11 Education 64-bit).
However, the installation task logs are OK:
Ensure wuauserv Auto Update option is disabled
Installing WSL
re-enabling wuauserv previous state: 0
A reboot is required to use WSL
Installed: lfkl-wsl(=1.0.1-13)
Since we're using Wapt Wua, I think this might be preventing the WSL download because the package runs (too) quickly to download WSL.
Even though setup.py does contain the command to disable it during installation (as seen in the log).
Would it be possible for you to test and possibly correct the package if there's an error?
Thank you in advance, sincerely,
Wapt console 2.6.1.17786 and Wapt server on Debian 12.14
WSL packet problem
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Hello,
After some testing, I haven't been able to reproduce your problem. WSL installs correctly but immediately prompts me to update to version 2. Could you please describe the output of the `wsl` command on the affected machine? Do you receive an error message?
Alternatively, you could try installing the package directly from https://wapt.tranquil.it/store/fr/tis-wsl2 ?
Sincerely
, Gwenaël
After some testing, I haven't been able to reproduce your problem. WSL installs correctly but immediately prompts me to update to version 2. Could you please describe the output of the `wsl` command on the affected machine? Do you receive an error message?
Alternatively, you could try installing the package directly from https://wapt.tranquil.it/store/fr/tis-wsl2 ?
Sincerely
, Gwenaël
Good morning,
Thank you for your reply.
I followed your advice on a newly instantiated machine and tried to install the WSL2 package directly.
I get the following error:
When I launch WSL after restarting my machine, I get the following command prompt:
Of course, our users do not have the rights, but if I validate as a local administrator, WSL installs correctly.
I'm a bit lost on the steps to take to fix the problem...
Thank you for your help, best regards.
Thank you for your reply.
I followed your advice on a newly instantiated machine and tried to install the WSL2 package directly.
I get the following error:
Code: Select all
Ensure wuauserv Auto Update option is disabled
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\common.py", line 4530, in install_wapt
exitstatus = setup.install()
File "C:\Program Files (x86)\wapt\private\tmp\waptj0nksv4l\setup.py", line 23, in install
File "C:\Program Files (x86)\wapt\setuphelpers_windows.py", line 2811, in __enter__
raise Exception('Unable to start wuauserv')
Exception: Unable to start wuauserv
Exception: Unable to start wuauserv]Code: Select all
Le Sous-Système Windows pour Linux n'est pas installé. vous pouvez effectuer l'installation en exécutant "wsl.exe --install".I'm a bit lost on the steps to take to fix the problem...
Thank you for your help, best regards.
Hello,
Installing WSL2 requires the Windows Update service to be running. The error you're encountering indicates that the service failed to start. Could you please verify that your service is running, perhaps start it manually with `net start wuauserv`, and then try the installation again?
Sincerely,
Gwenaël
Installing WSL2 requires the Windows Update service to be running. The error you're encountering indicates that the service failed to start. Could you please verify that your service is running, perhaps start it manually with `net start wuauserv`, and then try the installation again?
Sincerely,
Gwenaël
Hello,
The "wuauserv" service was indeed disabled; however, even after re-enabling it and then attempting a forced installation of WSL2, it won't install without elevated privileges.
Since Wapt manages Windows updates on our system, I understood that it was disabling "wuauserv," and I think that's where the problem lies.
We must have an issue with our WUA configuration, but I can't seem to pinpoint it.
Regards.
The "wuauserv" service was indeed disabled; however, even after re-enabling it and then attempting a forced installation of WSL2, it won't install without elevated privileges.
Since Wapt manages Windows updates on our system, I understood that it was disabling "wuauserv," and I think that's where the problem lies.
We must have an issue with our WUA configuration, but I can't seem to pinpoint it.
Regards.
