microsoft / microsoft/winget-pkgs

[Package Issue]: Package.Identifer

Open
#127,910 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug
Dominant language
No language data
Stars
11.1k
Forks
9.7k
Avg merge
1h 32m
Merged PRs (30d)
376

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

Other

Brief description of your issue

I am trying to use the winget pin add command to pin a package (in this case, OpenAL [OpenAL.OpenAL] Versão 1.1) so that it is not updated when I run winget upgrade --all. However, even after pinning the OpenAL package, it is still being updated when I run winget upgrade --all.

Steps to reproduce

powershell -Command "Write-Host ' [UPGRADE] Winget ' -F yellow -B black"

:: Atualização do Windows Package Manager (Winget)
winget settings --enable LocalManifestFiles >nul 2>nul
winget settings --enable BypassCertificatePinningForMicrosoftStore >nul 2>nul
winget settings --enable InstallerHashOverride >nul 2>nul
winget settings --enable LocalArchiveMalwareScanOverride >nul 2>nul
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "Add-AppxPackage -DisableDevelopmentMode -Register 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2023.1117.2310.834_neutral__8wekyb3d8bbwe\AppXManifest.xml' -Verbose">nul 2>nul
pause
winget pin add OpenAL

winget upgrade --all --force --accept-package-agreements --accept-source-agreements --ignore-security-hash --include-unknown

powershell -Command "Write-Host ' Atualização do WINGET Concluída. ' -F Blue -B black"

pause

Actual behavior

ailed to try to update the source: winget Found OpenAL [OpenAL.OpenAL] There is already a PIN for the OpenAL package Failed to try to update the source: winget Name ID Version Available Source
OpenAL OpenAL.OpenAL Unknown 1.1 winget 1 updates available.

Installing dependencies: (1/1) Found OpenAL [OpenAL.OpenAL] Version 1.1 This application is licensed to you by the owner. Microsoft is not responsible for, nor does it grant licenses to third-party packages. Installer hash successfully verified Extracting file… File successfully extracted Starting package installation… Successfully installed

WINGET Update Completed. Press any key to continue . . .

Expected behavior

There is already a PIN for the OpenAL package
Name ID Version Available Source

OpenAL OpenAL.OpenAL Unknown 1.1 winget
1 updates available.
OpenAL will not be updated due to the winget pin add command!
All programs updated successfully!

WINGET update completed.
Press any key to continue . . ."
winget comandos.txt
The winget.comandos.txt is a winget.comandos.bat (Script.bat).

Environment
winget --info
Gerenciador de Pacotes do Windows v1.6.3133
Microsoft Windows [Version 10.0.22621.2715]
Windows: Windows.Desktop v10.0.22621.2715
Arquitetura do Sistema: X64
Pacote: Microsoft.DesktopAppInstaller v1.21.3133.0

Without any other relevant software!
Screenshots and Logs

Problema winget com o OpenAL
WinGet-2023-11-16-23-32-15.583.log

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the behavior from the listed winget pin add and winget upgrade --all commands using the reported Windows and WinGet versions. Review the attached WinGet log and winget.comandos.txt to establish whether the pin is recognized and whether the issue belongs in this package-manifest repository. Done means identifying the component responsible and documenting or routing a confirmed fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.