microsoft / microsoft/winget-pkgs

[Package Issue]: Libretro.RetroArch: Steam installation detected as winget (Unknown version) causing infinite duplicate installs

Open
#357,447 6 comments 0 reactions 0 assignees View on GitHub
Area-External Issue-Bug
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

When RetroArch is installed via Steam, winget detects it as Libretro.RetroArch with an Unknown version and Source: winget. Running winget upgrade --include-unknown then installs a second copy of RetroArch. This behavior repeats, resulting in multiple parallel installations.

### Steps to reproduce

Install RetroArch via Steam.

Run:

winget list RetroArch

→ Shows Libretro.RetroArch with:

Version: Unknown
Source: winget

Run:

winget upgrade --include-unknown
Winget installs RetroArch again (non-Steam version).
Repeat winget upgrade --include-unknown → another copy gets installed.

### Actual behavior

Steam installation is detected as Libretro.RetroArch
Version is shown as Unknown
winget upgrade --include-unknown installs a second instance
Repeating the command installs additional copies indefinitely

### Expected behavior

Steam-installed RetroArch should either:
Not be matched as Libretro.RetroArch, or
Be correctly version-detected and skipped
winget upgrade --include-unknown should not install duplicate copies.

### Environment

```raw
Windows Package Manager v1.28.220
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.26200.8117
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.28.220.0

Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root C:\Program Files\WinGet\Packages
Portable Package Root (x86) C:\Program Files (x86)\WinGet\Packages
Installer Downloads %USERPROFILE%\Downloads
Configuration Modules %LOCALAPPDATA%\Microsoft\WinGet\Configuration\Modules

Links
---------------------------------------------------------------------------
Privacy Statement https://aka.ms/winget-privacy
License Agreement https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Admin Setting State
--------------------------------------------------
LocalManifestFiles Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride Disabled
LocalArchiveMalwareScanOverride Disabled
ProxyCommandLineOptions Disabled
DefaultProxy Disabled
```

### Screenshots and Logs

```raw
winget list
Name Id Version Available Source
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
RetroArch Libretro.RetroArch Unknown 1.22.2 winget
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with a Steam installation of RetroArch, then run `winget list RetroArch` and `winget upgrade --include-unknown` using the reported Windows Package Manager version. Done means the Steam installation is not incorrectly matched, or its version is detected and skipped, and repeated upgrades no longer create duplicate installations.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.