yq icon indicating copy to clipboard operation
yq copied to clipboard

winget installation fails on Windows 11

Open sjfke opened this issue 2 years ago • 2 comments

From winver

  • Windows 11
  • Version 23H2 (OS Build 22631.3527)

Installation using winget

PS> winget install --id MikeFarah.yq
Failed when searching source: msstore
An unexpected error occurred while executing the command:
0x8a15005e : The server certificate did not match any of the expected values.

The following packages were found among the working sources.
Please specify one of them using the --source option to proceed.
Name Id           Source
------------------------
yq   MikeFarah.yq winget

Configured sources

PS> winget source list
Name    Argument
-----------------------------------------------------
msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0
winget  https://cdn.winget.microsoft.com/cache

sjfke avatar Apr 24 '24 12:04 sjfke

use command to install from available source: winget install --id MikeFarah.yq -s winget use in administrator powershell window to make this setting permanent: winget settings --enable BypassCertificatePinningForMicrosoftStore

ajangir avatar Dec 03 '24 05:12 ajangir

Wow I opened this a long while ago... just retested as of 10-Dec-2024 it is working...

geoff@wallace> winget install --id MikeFarah.yq Found an existing package already installed. Trying to upgrade the installed package... Found yq [MikeFarah.yq] Version 4.44.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. Downloading https://github.com/mikefarah/yq/releases/download/v4.44.3/yq_windows_amd64.exe ██████████████████████████████ 9.89 MB / 9.89 MB Successfully verified installer hash Starting package install... Command line alias added: "yq" Successfully installed

sjfke avatar Dec 10 '24 17:12 sjfke