microsoft / winget-pkgs

The Microsoft community Windows Package Manager manifest repository
MIT License
8.63k stars 4.48k forks source link

[Package Issue]: Microsoft.WindowsTerminal #59542

Closed cneumann closed 2 years ago

cneumann commented 2 years ago

Please confirm these before moving forward

Category of the issue

Installation issue.

Brief description of your issue

Package does not install on Windows 10 21H1 (OS Build 19044.1645), logs contain:

2022-05-04 14:44:56.659 [CLI ] Installer [X64,msix,Unknown,] not applicable: Current OS is lower than MinOSVersion 10.0.22000.0
2022-05-04 14:44:56.659 [CLI ] Installer [Arm64,msix,Unknown,] not applicable: Current OS is lower than MinOSVersion 10.0.22000.0
2022-05-04 14:44:56.659 [CLI ] Installer [Arm64,msix,Unknown,] not applicable: Machine is not compatible with Arm64
2022-05-04 14:44:56.659 [CLI ] Installer [X86,msix,Unknown,] not applicable: Current OS is lower than MinOSVersion 10.0.22000.0
2022-05-04 14:44:56.670 [CLI ] Terminating context: 0x8a150010 at D:\a\_work\1\s\external\pkg\src\AppInstallerCLICore\Workflows\InstallFlow.cpp:74

This looks like it was introduced in #59245.

Steps to reproduce

winget install Microsoft.WindowsTerminal

Actual behavior

Installation fails with message:

No applicable installer found; see logs for more details.

Expected behavior

Package installs successfully.

Environment

Windows Package Manager v1.2.10271
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19044.1645
Package: Microsoft.DesktopAppInstaller v1.17.10271.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

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

Screenshots and Logs

Full log:

2022-05-04 14:44:55.695 [CORE] IsCOMCall:0; Caller: winget-cli
2022-05-04 14:44:55.706 [CLI ] WinGet invoked with arguments: 'install' 'Microsoft.WindowsTerminal'
2022-05-04 14:44:55.706 [CLI ] Found subcommand: install
2022-05-04 14:44:55.706 [CLI ] Leaf command to execute: root:install
2022-05-04 14:44:55.709 [CLI ] Executing command: install
2022-05-04 14:44:55.709 [REPO] GetCurrentSourceRefs: Source named 'microsoft.builtin.desktop.frameworks' from origin Default is hidden and is dropped.
2022-05-04 14:44:55.709 [REPO] Default source requested, multiple sources available, adding all to source references.
2022-05-04 14:44:55.709 [REPO] Adding to source references msstore
2022-05-04 14:44:55.709 [REPO] Adding to source references winget
2022-05-04 14:44:55.709 [REPO] Multiple sources available, creating aggregated source.
2022-05-04 14:44:55.709 [REPO] Adding to aggregated source: msstore
2022-05-04 14:44:55.709 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2022-05-04 14:44:55.928 [REPO] Response status: 200
2022-05-04 14:44:55.928 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2022-05-04 14:44:56.007 [REPO] Response status: 200
2022-05-04 14:44:56.007 [REPO] Adding to aggregated source: winget
2022-05-04 14:44:56.019 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2022-05-04 14:44:56.019 [CORE] Found matching extension.
2022-05-04 14:44:56.036 [REPO] Opening SQLite Index for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2022.504.1555.843_neutral__8wekyb3d8bbwe\Public\index.db'
2022-05-04 14:44:56.036 [SQL ] Opening SQLite connection: 'file:/C:/Program Files/WindowsApps/Microsoft.Winget.Source_2022.504.1555.843_neutral__8wekyb3d8bbwe/Public/index.db?immutable=1' [1, 40]
2022-05-04 14:44:56.036 [REPO] Opened SQLite Index with version [1.3], last write [2022-05-04 10:55:40.000]
2022-05-04 14:44:56.083 [REPO] Sending http POST request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/manifestSearch
2022-05-04 14:44:56.628 [REPO] Response status: 200
2022-05-04 14:44:56.641 [CLI ] Found one app. App id: Microsoft.WindowsTerminal App name: Windows Terminal
2022-05-04 14:44:56.642 [REPO] Downloading manifest
2022-05-04 14:44:56.642 [CORE] WinINet downloading from url: https://winget.azureedge.net/cache/manifests/m/Microsoft/WindowsTerminal/1.12.10983.0/1899-Microsoft.WindowsTerminal.yaml
2022-05-04 14:44:56.658 [CORE] Download hash: 13986f2255623d2524b88da4db3c7fe5990af86c088bdf6eaed9a487d08f19b5
2022-05-04 14:44:56.658 [CORE] Download completed.
2022-05-04 14:44:56.659 [CLI ] Manifest fields: Name [Windows Terminal], Version [1.12.10983.0]
2022-05-04 14:44:56.659 [CLI ] Starting installer selection.
2022-05-04 14:44:56.659 [CLI ] Installer [X64,msix,Unknown,] not applicable: Current OS is lower than MinOSVersion 10.0.22000.0
2022-05-04 14:44:56.659 [CLI ] Installer [Arm64,msix,Unknown,] not applicable: Current OS is lower than MinOSVersion 10.0.22000.0
2022-05-04 14:44:56.659 [CLI ] Installer [Arm64,msix,Unknown,] not applicable: Machine is not compatible with Arm64
2022-05-04 14:44:56.659 [CLI ] Installer [X86,msix,Unknown,] not applicable: Current OS is lower than MinOSVersion 10.0.22000.0
2022-05-04 14:44:56.670 [CLI ] Terminating context: 0x8a150010 at D:\a\_work\1\s\external\pkg\src\AppInstallerCLICore\Workflows\InstallFlow.cpp:74
ItzLevvie commented 2 years ago

Duplicate of https://github.com/microsoft/winget-cli/issues/2134

cneumann commented 2 years ago

Ah, yes, that is the underlying issue. I can work around this by specifying the version:

winget install --id Microsoft.WindowsTerminal --version 1.12.10982.0

Sorry for the noise.