microsoft / microsoft/winget-cli
Winget can't update program with dependencies
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Brief description of your issue
When updating yt-dlp, winget will install the dependency Gyan.FFmpeg, and continue to yt-dlp but finishes the program before it can install it and also blocking the next packages in queue, when prompted to install all packages yt-dlp will still be fisrt in queue and repeating until uninstalled and reinstalled.
Steps to reproduce
- install a previous version of yt-dlp that can be updated.
- type the command
winget update -r -u -h
Expected behavior
download and install yt-dlp and Gyan.FFmpeg uodates and continue updating the other packages
Actual behavior
download of Gyan.FFmpeg, check the hash of the program and extracting the files, then abruptly stoping and returning to the command prompt.
Environment
Administrador de paquetes de Windows v1.8.1911
Copyright (c) Microsoft Corporation. Todos los derechos reservados.
Windows: Windows.Desktop v10.0.22631.4317
Arquitectura del sistema: X64
Paquete: Microsoft.DesktopAppInstaller v1.23.1911.0
Directorios de WinGet
Registros %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalS…
Configuración de usuario %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalS…
Directorio de vínculos portátiles (usuario) %LOCALAPPDATA%\Microsoft\WinGet\Links
Directorio de vínculos portátiles (equipo) C:\Program Files\WinGet\Links
Raíz de paquete portátil (usuario) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Raíz de paquete portátil C:\Program Files\WinGet\Packages
Raíz de paquete portátil (x86) C:\Program Files (x86)\WinGet\Packages
Descargas del instalador %USERPROFILE%\Downloads
Vínculos
Declaración de privacidad https://aka.ms/winget-privacy
Contrato de licencia https://aka.ms/winget-license
Avisos de terceros https://aka.ms/winget-3rdPartyNotice
Página principal https://aka.ms/winget
Términos de Microsoft Store https://www.microsoft.com/en-us/storedocs/terms-of-sale
Configuración de administrador Estado
LocalManifestFiles Deshabilitado
BypassCertificatePinningForMicrosoftStore Deshabilitado
InstallerHashOverride Deshabilitado
LocalArchiveMalwareScanOverride Deshabilitado
ProxyCommandLineOptions Deshabilitado
DefaultProxy Deshabilitado
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with winget update -r -u -h using an updatable yt-dlp package with the Gyan.FFmpeg dependency, then trace the update and dependency-processing flow. Done means both packages install successfully and the remaining packages in the queue continue updating instead of returning to the command prompt.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100