-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installer locale does not match required locale (No applicable installer found; see logs for more details.) #2305
Comments
Still seeing this issue. The log message has become better at least.
|
Same issue for me, for the following update
I was able to force an update with this:
The cause seems to lie in the manifesto. In which the entry InstallerLocal has been added. |
The problem is indeed a missing Unless winget-cli/src/AppInstallerCLICore/Workflows/ManifestComparator.cpp Lines 684 to 693 in 2979fd8
The problem is likely just a small mishap, just a few lines above, which happened in commit 4b613b3. For a Preferred Locale a match is always made, if the Installer Locale is empty. This code path is not taken, unless the locale is what is currently installed. This is exactly why one would like to use winget-cli/src/AppInstallerCLICore/Workflows/ManifestComparator.cpp Lines 669 to 670 in 2979fd8
However, in case of a Required Locale, the empty Installer Locale is not checked. This code path is not taken, if there is no Required Locale present, i.e.
Unless there is a match (and for an empty string there is none), So, to summarize, at the moment installing a problematic package is not possible with |
Brief description of your issue
Attempting to install a package, I get an error message: "No applicable installer found; see logs for more details."
I first noticed this with
upgrade --all
failing to upgrade many packages without any warnings/errors. Then tried to uninstall/reinstall packages manually and discovered this issue.Steps to reproduce
Tried this with a number of applications (installer types), including:
winget install OpenTTD.OpenTTD
(nullsoft)winget install Microsoft.PowerToys
(burn)REALiX.HWiNFO
(inno)All gave the same error, non of them installed correctly.
Downloading the installer (from the manifest file) and running it directly works without issue.
Expected behavior
Correctly install the application, or provide a helpful error message.
Actual behavior
Nothing happens; useless error message.
Environment
The text was updated successfully, but these errors were encountered: