PowerShell client fails to install certain packages which work with the winget CLI #4661
Labels
Command-Install
Issue related to WinGet Install
Issue-Bug
It either shouldn't be doing this or needs an investigation.
PowerShell
Issue related to WinGet PowerShell Module or cmdlet
Brief description of your issue
Installing the
yt-dlp.yt-dlp
package using theInstall-WinGetPackage
fails while the winget CLI works as expected.Steps to reproduce
Microsoft.WinGet.Client
PowerShell package:Install-Module -Name Microsoft.WinGet.Client
Install-WinGetPackage -Id yt-dlp.yt-dlp -Scope System
Expected behavior
The package should install successfully.
Actual behavior
The package fails to install with the following output:
And please see the relevant WinGetCOM.log log file below:
The winget CLI works just fine:
Environment
The text was updated successfully, but these errors were encountered: