-
Notifications
You must be signed in to change notification settings - Fork 6.6k
[Package Issue]: TheDocumentFoundation.LibreOffice unable to upgrade due to mismatching InstallerLocale #355183
Description
Please confirm these before moving forward
- I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
- I have not been informed if the issue is resolved in a preview version of the winget client.
Category of the issue
No applicable update found.
Brief description of your issue
Unable to upgrade package TheDocumentFoundation.LibreOffice from 26.2.1.2 to 26.2.2.2 preserving locale (in my case it-IT).
2026-04-03 17:19:28.706 [CLI ] Starting installer selection.
2026-04-03 17:19:28.706 [CLI ] Installer [X86,msi,Machine,en-US] not applicable: Installer locale does not match required locale: en-USRequired locales: [] Or does not satisfy compatible match for Preferred Locales: [it-IT]
2026-04-03 17:19:28.706 [CLI ] Installer [X64,msi,Machine,en-US] not applicable: Installer locale does not match required locale: en-USRequired locales: [] Or does not satisfy compatible match for Preferred Locales: [it-IT]
I think it's due to the InstallerLocale directive introduced with latest manifest (26.2.2.2):
Line 6 in b63bea4
| InstallerLocale: en-US |
It was not present in version 26.2.1.2
Attached full logs (via winget upgrade TheDocumentFoundation.LibreOffice --verbose-logs)
Steps to reproduce
- Install TheDocumentFoundation.LibreOffice version 26.2.1.2 with a locale other than en-US (in my case it-IT).
- Try updating TheDocumentFoundation.LibreOffice to version 26.2.2.2
winget upgrade TheDocumentFoundation.LibreOffice --verbose-logs - Check winget logs
winget --logs
Actual behavior
2026-04-03 17:19:28.706 [CLI ] Installer [X86,msi,Machine,en-US] not applicable: Installer locale does not match required locale: en-USRequired locales: [] Or does not satisfy compatible match for Preferred Locales: [it-IT]
2026-04-03 17:19:28.706 [CLI ] Installer [X64,msi,Machine,en-US] not applicable: Installer locale does not match required locale: en-USRequired locales: [] Or does not satisfy compatible match for Preferred Locales: [it-IT]
Expected behavior
Update TheDocumentFoundation.LibreOffice from 26.2.1.2 to 26.2.2.2 preserving locale (in my case it-IT).
Environment
Windows: Windows.Desktop v10.0.19045.6456
Architettura di sistema: X64
Pacchetto: Microsoft.DesktopAppInstaller v1.28.220.0