microsoft / microsoft/winget-pkgs

[Package Issue]: All versions of `SUSE.RancherDesktop` should remove the dependency on `Microsoft.WSL`

Open
#284,264 1 comment 1 reaction 0 assignees View on GitHub
Issue-Bug Needs-Triage
Dominant language
No language data
Stars
11.1k
Forks
9.7k
PR merge metrics
PR metrics pending

Description

### Please confirm these before moving forward

- [x] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
- [x] I have not been informed if the issue is resolved in a preview version of the winget client.

### Category of the issue

Installation issue.

### Brief description of your issue

- This is a follow-up to https://github.com/microsoft/winget-pkgs/issues/281351 . The related issue suddenly became reproducible starting on 2025.08.16.
- All versions of `SUSE.RancherDesktop` should remove the dependency on `Microsoft.WSL`. See https://github.com/microsoft/winget-pkgs/blob/master/manifests/s/SUSE/RancherDesktop/1.19.3/SUSE.RancherDesktop.installer.yaml .
- This leads to issues like https://github.com/microsoft/WSL/issues/13190 .
- This results in issues like https://github.com/rancher-sandbox/rancher-desktop/issues/8888 where the winget dependency check must be skipped.
```shell
winget install --id SUSE.RancherDesktop --source winget --skip-dependencies
```
- Early investigation came from https://github.com/apache/shardingsphere/pull/36317.

### Steps to reproduce

- Just execute the following on Windows Server 2025:
```shell
winget install --id SUSE.RancherDesktop --source winget
```
- I created minimal reproducible unit tests at https://github.com/linghengqian/winget-rancher-desktop-test . Just fork git and execute https://github.com/linghengqian/winget-rancher-desktop-test/blob/master/.github/workflows/test.yml manually.
- A CI that reproduces the error is located at https://github.com/linghengqian/winget-rancher-desktop-test/actions/runs/17004555010/job/48212282734 .

### Actual behavior

- This will fail due to the issue mentioned in https://github.com/microsoft/WSL/issues/13190 , as WSL cannot be updated via winget.

### Expected behavior

- All versions of `SUSE.RancherDesktop` should remove the dependency on `Microsoft.WSL`.

### Environment

```raw
- This step can always be replicated using the Windows Server 2025 Runner in Github Actions, whose winget version is dynamically updated. See https://github.com/actions/runner-images/blob/main/images/windows/Windows2025-Readme.md .
```

### Screenshots and Logs

```shell
> winget install --id SUSE.RancherDesktop --source winget

-

Found Rancher Desktop [SUSE.RancherDesktop] Version 1.19.3
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
This package requires the following dependencies:
- Packages
Microsoft.WSL
(1/1) Found Windows Subsystem for Linux [Microsoft.WSL] Version 2.5.10
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/microsoft/WSL/releases/download/2.5.10/wsl.2.5.10.0.x64.msi

-
\
|
/

████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 35.0 MB / 234 MB
███████████████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ 125 MB / 234 MB
████████████████████████████▒▒ 220 MB / 234 MB
██████████████████████████████ 234 MB / 234 MB
Successfully verified installer hash
Starting package install...

-
\
|
/
-
\
|
/
-
\
|
/

Installer failed with exit code: 1603
Installer log is available at: C:\Users\runneradmin\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\WinGet-Microsoft.WSL.2.5.10-2025-08-16-04-57-59.742.log

Error: Process completed with exit code 1.
```

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the SUSE.RancherDesktop.installer.yaml manifest linked in the issue and compare its dependency entries across all versions. Run the linked GitHub Actions reproduction on a Windows Server 2025 runner; done means installing Rancher Desktop no longer attempts to install Microsoft.WSL and the reproduction succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd, release
Issue type
Bug
Difficulty
3/5
Estimated time
Half a day
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.