microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
22.96k stars 1.43k forks source link

WinGet not installing the actual package when it has a dependency, and tries to install the dependency itself even though it is already present #4679

Open silverwing102 opened 1 month ago

silverwing102 commented 1 month ago

Brief description of your issue

So I'm trying to update the package yt-dlp.

I type out the command winget upgrade yt-dlp.yt-dlp. WinGet will indicate that the package has a dependency on Gyan.FFmeg. That's alright, I already have it and I have the latest version too. The first thing winget does is download FFmpeg again and installs it, and after it does that, it "forgets" that its supposed to update yt-dlp in the first place and what's worse is that it messes up the environment variables, making me unable to access ffmpeg itself.

So at the time of writing, the latest version of Gyan.FFmpeg is 7.0.1 and for yt-dlp.yt-dlp, it is 2024.07.25. I was trying to upgrade from version 2024.05.27. This is how the output looked like:

Found yt-dlp [yt-dlp.yt-dlp] Version 2024.07.25
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
This package requires the following dependencies:
  - Packages
      Gyan.FFmpeg
(1/1) Found FFmpeg [Gyan.FFmpeg] Version 7.0.1
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/GyanD/codexffmpeg/releases/download/7.0.1/ffmpeg-7.0.1-full_build.zip
  ██████████████████████████████   162 MB /  162 MB
Successfully verified installer hash
Extracting archive...
Successfully extracted archive

C:\Users\(username)>ffmpeg
'ffmpeg' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\(username)>yt-dlp --version
2024.05.27

So the only way to go about installing this manually is by first removing yt-dlp and installing it again like:

Found yt-dlp [yt-dlp.yt-dlp]
Starting package uninstall...
Successfully uninstalled

C:\Users\(username)>winget install yt-dlp
Found yt-dlp [yt-dlp.yt-dlp] Version 2024.07.25
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
This package requires the following dependencies:
  - Packages
      Gyan.FFmpeg
(1/1) Found FFmpeg [Gyan.FFmpeg] Version 7.0.1
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Extracting archive...
Successfully extracted archive
Starting package install...
Command line alias added: "ffmpeg"
Command line alias added: "ffplay"
Command line alias added: "ffprobe"
Successfully installed

Downloading https://github.com/yt-dlp/yt-dlp/releases/download/2024.07.25/yt-dlp.exe
  ██████████████████████████████  18.2 MB / 18.2 MB
Successfully verified installer hash
Starting package install...
Path environment variable modified; restart your shell to use the new value.
Command line alias added: "yt-dlp"
Successfully installed

So now, after restarting the terminal, yt-dlp now works fine but ffmpeg is still not recognised:

2024.07.25

C:\Users\(username)>ffmpeg
'ffmpeg' is not recognized as an internal or external command,
operable program or batch file. 

So now I try to install FFmpeg again and

Found FFmpeg [Gyan.FFmpeg] Version 7.0.1
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Extracting archive...
Successfully extracted archive
Starting package install...
Command line alias added: "ffmpeg"
Command line alias added: "ffplay"
Command line alias added: "ffprobe"
Successfully installed

Restarted terminal and still no ffmpeg in sight:

'ffmpeg' is not recognized as an internal or external command,
operable program or batch file.

So now I remove ffmpeg and install it again:

Found FFmpeg [Gyan.FFmpeg]
Starting package uninstall...
Successfully uninstalled

C:\Users\(username)>winget install ffmpeg
Found FFmpeg [Gyan.FFmpeg] Version 7.0.1
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Extracting archive...
Successfully extracted archive
Starting package install...
Path environment variable modified; restart your shell to use the new value.
Command line alias added: "ffmpeg"
Command line alias added: "ffplay"
Command line alias added: "ffprobe"
Successfully installed

FINALLY on restarting I can now use FFmpeg again:

ffmpeg version 7.0.1-full_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers
  built with gcc 13.2.0 (Rev5, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libxevd --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxeve --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
  libavutil      59.  8.100 / 59.  8.100
  libavcodec     61.  3.100 / 61.  3.100
  libavformat    61.  1.100 / 61.  1.100
  libavdevice    61.  1.100 / 61.  1.100
  libavfilter    10.  1.100 / 10.  1.100
  libswscale      8.  1.100 /  8.  1.100
  libswresample   5.  1.100 /  5.  1.100
  libpostproc    58.  1.100 / 58.  1.100
Universal media converter
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

All that to just update a package that has a dependency 😬

Steps to reproduce

Expected behavior

I expected it to only update yt-dlp without trying to modify FFmpeg which is already present.

Actual behavior

Winget tries to re-install FFmpeg, messees it up, then I need to remove yt-dlp and install it, then remove FFmpeg and install it, just to get both packages working.

Environment

winget --info
Windows Package Manager v1.8.1911
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19045.4717
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.23.1911.0

Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

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

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
ProxyCommandLineOptions                   Disabled
DefaultProxy                              Disabled
github-actions[bot] commented 1 month ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

denelon commented 1 month ago

Can you share the log files? What version of Gyan.FFmpeg was installed when you attempted to upgrade yt-dlp.yt-dlp?

You can open the flog older using winget --logs.

silverwing102 commented 1 month ago

Hi denelon,

I already had the latest version, 7.0.1 and when I tried to update yt-dlp.yt-dlp, it tried to upgrade Gyan.FFmpeg to the exact same version, as shown in

This package requires the following dependencies:
  - Packages
      Gyan.FFmpeg
(1/1) Found FFmpeg [Gyan.FFmpeg] Version 7.0.1
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/GyanD/codexffmpeg/releases/download/7.0.1/ffmpeg-7.0.1-full_build.zip

I don't have access to my PC now, can only share that in a few hours or so.

Mujtaba0150 commented 1 month ago

The problem still exists in the latest version. I had the latest version of ffmpeg installed (7.0.2 in this case) and it was working perfectly fine but when I tried updating yt-dlp here's what it outputs to the terminal:

C:\Users\user>winget update --name yt-dlp
Found yt-dlp [yt-dlp.yt-dlp] Version 2024.08.06
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
This package requires the following dependencies:
  - Packages
      Gyan.FFmpeg
(1/1) Found FFmpeg [Gyan.FFmpeg] Version 7.0.2
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Extracting archive...
Successfully extracted archive

Here are the logs for after this command was executed:

2024-08-08 23:20:52.728 [CORE] WinGet, version [1.8.1911], activity [{D7655CC5-1C3E-42D1-82B6-AF9126376A23}]
2024-08-08 23:20:52.729 [CORE] OS: Windows.Desktop v10.0.19045.4717
2024-08-08 23:20:52.729 [CORE] Command line Args: "C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.23.1911.0_x64__8wekyb3d8bbwe\WindowsPackageManagerServer.exe" -Embedding
2024-08-08 23:20:52.729 [CORE] Package: Microsoft.DesktopAppInstaller v1.23.1911.0
2024-08-08 23:20:52.729 [CORE] IsCOMCall:1; Caller: C:\Windows\explorer.exe
2024-08-08 23:20:52.741 [CORE] Default proxy is not set
2024-08-08 23:20:52.741 [REPO] REST HTTP Client helper does not use proxy
2024-08-08 23:20:52.753 [REPO] REST HTTP Client helper does not use proxy
2024-08-08 23:20:52.766 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2024-08-08 23:20:53.469 [REPO] Response status: 200
2024-08-08 23:20:53.470 [REPO] Authentication node not found. Assuming authentication type none.
2024-08-08 23:20:53.471 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2024-08-08 23:20:53.634 [REPO] Response status: 200
2024-08-08 23:20:53.634 [REPO] Authentication node not found. Assuming authentication type none.
2024-08-08 23:20:53.641 [REPO] Creating new SQLite Index with version [Latest] at ':memory:'
2024-08-08 23:20:53.826 [REPO] Reading MSI UpgradeCodes
2024-08-08 23:20:53.911 [REPO] Reading MSI UpgradeCodes
2024-08-08 23:20:54.513 [REPO] Opening database for ReadWrite at 'C:\Users\mujta\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db'
2024-08-08 23:20:54.514 [REPO] Opened SQLite Index with version [1.7], last write [2024-05-29 07:42:57.000]
2024-08-08 23:20:54.610 [REPO] Sending http POST request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/manifestSearch
2024-08-08 23:20:54.767 [REPO] Response status: 200
2024-08-08 23:20:54.964 [REPO] Opening database for ReadWrite at 'C:\Users\mujta\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2024-08-08 23:20:54.965 [REPO] Opened SQLite Index with version [1.7], last write [2024-08-08 23:14:52.000]
2024-08-08 23:20:55.055 [REPO] Did not find Id [yt-dlp.yt-dlp] in tracked source: winget
2024-08-09 01:00:34.144 [CORE] WinGet, version [1.8.1911], activity [{660778AA-306B-47F9-BBB7-4B57BB376BBC}]
2024-08-09 01:00:34.145 [CORE] OS: Windows.Desktop v10.0.19045.4717
2024-08-09 01:00:34.145 [CORE] Command line Args: winget  update --name yt-dlp
2024-08-09 01:00:34.145 [CORE] Package: Microsoft.DesktopAppInstaller v1.23.1911.0
2024-08-09 01:00:34.146 [CORE] IsCOMCall:0; Caller: winget-cli
2024-08-09 01:00:34.172 [CLI ] WinGet invoked with arguments: 'update' '--name' 'yt-dlp'
2024-08-09 01:00:34.172 [CLI ] Found subcommand: update
2024-08-09 01:00:34.172 [CLI ] Leaf command to execute: root:upgrade
2024-08-09 01:00:34.223 [CLI ] Executing command: upgrade
2024-08-09 01:00:34.228 [REPO] Default source requested, multiple sources available, adding all to source references.
2024-08-09 01:00:34.228 [REPO] Adding to source references msstore
2024-08-09 01:00:34.229 [CORE] Default proxy is not set
2024-08-09 01:00:34.229 [REPO] REST HTTP Client helper does not use proxy
2024-08-09 01:00:34.229 [REPO] Adding to source references winget
2024-08-09 01:00:34.229 [CLI ] Created authentication arguments. Mode: silentPreferred, Account: 
2024-08-09 01:00:34.282 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2024-08-09 01:00:34.283 [CORE] Found matching extension.
2024-08-09 01:00:34.299 [REPO] Source `winget` after auto update time [3 mins]; it has been at least 6 mins
2024-08-09 01:00:34.321 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2024-08-09 01:00:34.321 [CORE] Found matching extension.
2024-08-09 01:00:35.718 [REPO] Multiple sources available, creating aggregated source.
2024-08-09 01:00:35.718 [REPO] Adding to aggregated source: msstore
2024-08-09 01:00:35.718 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2024-08-09 01:00:36.770 [REPO] Response status: 200
2024-08-09 01:00:36.771 [REPO] Authentication node not found. Assuming authentication type none.
2024-08-09 01:00:36.772 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2024-08-09 01:00:37.017 [REPO] Response status: 200
2024-08-09 01:00:37.017 [REPO] Authentication node not found. Assuming authentication type none.
2024-08-09 01:00:37.018 [REPO] Adding to aggregated source: winget
2024-08-09 01:00:37.043 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2024-08-09 01:00:37.043 [CORE] Found matching extension.
2024-08-09 01:00:37.148 [REPO] Opening database for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2024.808.2037.26_neutral__8wekyb3d8bbwe\Public\index.db'
2024-08-09 01:00:37.150 [REPO] Opened SQLite Index with version [2.0], last write [2024-08-09 00:35:26.000]
2024-08-09 01:00:37.548 [REPO] Creating new SQLite Index with version [Latest] at ':memory:'
2024-08-09 01:00:37.570 [REPO] Reading MSI UpgradeCodes
2024-08-09 01:00:37.698 [REPO] Reading MSI UpgradeCodes
2024-08-09 01:00:38.197 [REPO] Opening database for ReadWrite at 'C:\Users\mujta\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db'
2024-08-09 01:00:38.198 [REPO] Opened SQLite Index with version [1.7], last write [2024-05-29 07:42:57.000]
2024-08-09 01:00:38.311 [REPO] Opening database for ReadWrite at 'C:\Users\mujta\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2024-08-09 01:00:38.312 [REPO] Opened SQLite Index with version [1.7], last write [2024-08-08 23:14:52.000]
2024-08-09 01:00:38.420 [REPO] Sending http POST request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/manifestSearch
2024-08-09 01:00:38.753 [REPO] Response status: 200
2024-08-09 01:00:38.762 [CLI ] Found one app. App id: yt-dlp.yt-dlp App name: yt-dlp
2024-08-09 01:00:38.794 [REPO] Attempting to open pinning database: C:\Users\mujta\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db
2024-08-09 01:00:38.809 [CLI ] Manifest fields: Name [yt-dlp], Version [2024.08.06]
2024-08-09 01:00:39.291 [REPO] Opening database for ReadWrite at 'C:\Users\mujta\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2024-08-09 01:00:39.295 [REPO] Opened SQLite Index with version [1.7], last write [2024-08-08 23:14:52.000]
2024-08-09 01:00:39.645 [REPO] Attempting to open pinning database: C:\Users\mujta\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db
2024-08-09 01:00:39.647 [CLI ] Manifest fields: Name [FFmpeg], Version [7.0.2]
2024-08-09 01:00:39.752 [CLI ] Found existing installer file at 'C:\Users\mujta\AppData\Local\Temp\WinGet\Gyan.FFmpeg.7.0.2\ffmpeg-7.0.2-full_build.zip'. Verifying file hash.
2024-08-09 01:00:41.155 [CLI ] Existing installer file hash matches. Will use existing installer.
2024-08-09 01:00:41.155 [CLI ] Installer hash verified
2024-08-09 01:00:41.156 [CORE] Started applying motw to C:\Users\mujta\AppData\Local\Temp\WinGet\Gyan.FFmpeg.7.0.2\ffmpeg-7.0.2-full_build.zip with zone: 2
2024-08-09 01:00:41.161 [CORE] Finished applying motw
2024-08-09 01:00:41.277 [CLI ] Extracting archive to: C:\Users\mujta\AppData\Local\Temp\WinGet\Gyan.FFmpeg.7.0.2\extracted
2024-08-09 01:00:56.138 [CLI ] Successfully extracted archive
2024-08-09 01:00:49.895 [CORE] WinGet, version [1.8.1911], activity [{0DA46CB1-C87C-4C03-9F79-826FFDDF20FE}]
2024-08-09 01:00:49.896 [CORE] OS: Windows.Desktop v10.0.19045.4717
2024-08-09 01:00:49.896 [CORE] Command line Args: "C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.23.1911.0_x64__8wekyb3d8bbwe\WindowsPackageManagerServer.exe" -Embedding
2024-08-09 01:00:49.896 [CORE] Package: Microsoft.DesktopAppInstaller v1.23.1911.0
2024-08-09 01:00:49.896 [CORE] IsCOMCall:1; Caller: C:\Windows\explorer.exe
2024-08-09 01:00:49.902 [CORE] Default proxy is not set
2024-08-09 01:00:49.947 [REPO] REST HTTP Client helper does not use proxy
2024-08-09 01:00:49.958 [REPO] REST HTTP Client helper does not use proxy
2024-08-09 01:00:49.969 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2024-08-09 01:00:50.914 [REPO] Response status: 200
2024-08-09 01:00:50.914 [REPO] Authentication node not found. Assuming authentication type none.
2024-08-09 01:00:50.914 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2024-08-09 01:00:51.140 [REPO] Response status: 200
2024-08-09 01:00:51.140 [REPO] Authentication node not found. Assuming authentication type none.
2024-08-09 01:00:51.145 [REPO] Creating new SQLite Index with version [Latest] at ':memory:'
2024-08-09 01:00:51.228 [REPO] Reading MSI UpgradeCodes
2024-08-09 01:00:51.313 [REPO] Reading MSI UpgradeCodes
2024-08-09 01:00:52.236 [REPO] Opening database for ReadWrite at 'C:\Users\mujta\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\StoreEdgeFD\installed.db'
2024-08-09 01:00:52.237 [REPO] Opened SQLite Index with version [1.7], last write [2024-05-29 07:42:57.000]
2024-08-09 01:00:52.346 [REPO] Sending http POST request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/manifestSearch
2024-08-09 01:00:52.595 [REPO] Response status: 200
2024-08-09 01:00:52.756 [REPO] Opening database for ReadWrite at 'C:\Users\mujta\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2024-08-09 01:00:52.758 [REPO] Opened SQLite Index with version [1.7], last write [2024-08-08 23:14:52.000]
2024-08-09 01:00:52.909 [REPO] Did not find Id [Gyan.FFmpeg] in tracked source: winget

After I try updating yt-dlp, it doesn't update and it shows that I still need an update. It also messes with my ffmpeg installation. The only way I found to update yt-dlp was to remove it and then reinstall it which properly updated ffmpeg (even though it was on the latest version) and then installed the latest version of yt-dlp

Mujtaba0150 commented 1 month ago

More details referenced in this issue

erincerys commented 2 weeks ago

I too experience this issue.

winget does not appear to be detecting that the dependency (ffmpeg) was updated, and going back to continue the yt-dlp package upgrade.


What I did

Attempt to upgrade yt-dlp and dependencies:

PS C:\Users\erin> winget upgrade --accept-package-agreements --accept-source-agreements --verbose yt-dlp                Found yt-dlp [yt-dlp.yt-dlp] Version 2024.08.06
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
This package requires the following dependencies:
  - Packages
      Gyan.FFmpeg
(1/1) Found FFmpeg [Gyan.FFmpeg] Version 7.0.2
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Extracting archive...
Successfully extracted archive

Verify ffmpeg package and binary versions:

PS C:\Users\erin> winget list gyan.ffmpeg
Name   Id          Version Source
----------------------------------
FFmpeg Gyan.FFmpeg 7.0.2   winget

PS C:\Users\erin> ffmpeg -version
ffmpeg version 7.0.2-full_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers
[...]

Check whether yt-dlp was upgraded:

PS C:\Users\erin> winget list --upgrade-available
Name   Id            Version    Available  Source
-------------------------------------------------
yt-dlp yt-dlp.yt-dlp 2024.05.27 2024.08.06 winget
1 upgrades available.

Manually upgrade yt-dlp only (skipping dependencies):

PS C:\Users\erin> winget upgrade --accept-package-agreements --skip-dependencies --verbose yt-dlp                       Found yt-dlp [yt-dlp.yt-dlp] Version 2024.08.06
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Dependencies skipped.
Downloading https://github.com/yt-dlp/yt-dlp/releases/download/2024.08.06/yt-dlp.exe
  ██████████████████████████████  18.2 MB / 18.2 MB
Successfully verified installer hash
Starting package uninstall...
Successfully uninstalled
Starting package install...
Command line alias added: "yt-dlp"
Successfully installed

Verify yt-dlp was upgraded:

PS C:\Users\erin> winget list yt-dlp
Name   Id            Version    Source
---------------------------------------
yt-dlp yt-dlp.yt-dlp 2024.08.06 winget

PS C:\Users\erin> yt-dlp --version
2024.08.06

Environment

winget --info output:

PS C:\Users\erin> winget --info
Windows Package Manager v1.8.1911
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19045.4780
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.23.1911.0

Winget Directories
-----------------------------------------------------------------------------------------------------------------------
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads

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

Admin Setting                             State
--------------------------------------------------
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
ProxyCommandLineOptions                   Disabled
DefaultProxy                              Disabled

Logs

2024-08-26 10:00:08.677 [CORE] WinGet, version [1.8.1911], activity [{58A17C44-1D81-4DBC-9D67-2CECEE6D1D9C}]
2024-08-26 10:00:08.678 [CORE] OS: Windows.Desktop v10.0.19045.4780
2024-08-26 10:00:08.678 [CORE] Command line Args: "C:\Users\erin\AppData\Local\Microsoft\WindowsApps\winget.exe" update --silent --verbose --recurse --accept-package-agreements
2024-08-26 10:00:08.678 [CORE] Package: Microsoft.DesktopAppInstaller v1.23.1911.0
2024-08-26 10:00:08.678 [CORE] IsCOMCall:0; Caller: winget-cli
2024-08-26 10:00:08.684 [CLI ] WinGet invoked with arguments: 'update' '--silent' '--verbose' '--recurse' '--accept-package-agreements'
2024-08-26 10:00:08.684 [CLI ] Found subcommand: update
2024-08-26 10:00:08.684 [CLI ] Leaf command to execute: root:upgrade
2024-08-26 10:00:08.687 [CORE] Setting action: Get, Type: Secure, Name: admin_settings
2024-08-26 10:00:08.687 [CORE] Admin settings was not found
2024-08-26 10:00:08.687 [CORE] Setting action: Get, Type: Secure, Name: admin_settings
2024-08-26 10:00:08.687 [CORE] Admin settings was not found
2024-08-26 10:00:08.687 [CORE] Setting action: Get, Type: Secure, Name: admin_settings
2024-08-26 10:00:08.687 [CORE] Admin settings was not found
2024-08-26 10:00:08.687 [CORE] Setting action: Get, Type: Secure, Name: admin_settings
2024-08-26 10:00:08.687 [CORE] Admin settings was not found
2024-08-26 10:00:08.687 [CORE] Setting action: Get, Type: Secure, Name: admin_settings
2024-08-26 10:00:08.687 [CORE] Admin settings was not found
2024-08-26 10:00:08.687 [CLI ] Executing command: upgrade
2024-08-26 10:00:08.688 [REPO] Additional sources GP is not enabled.
2024-08-26 10:00:08.688 [CORE] Setting action: Get, Type: Secure, Name: user_sources
2024-08-26 10:00:08.688 [CORE] Setting action: Get, Type: Secure, Name: admin_settings
2024-08-26 10:00:08.688 [CORE] Admin settings was not found
2024-08-26 10:00:08.688 [CORE] Adding chain to pinning configuration [Microsoft Store Source]:
DigiCert Global Root G3 : PublicKey
  Microsoft Azure ECC TLS Issuing CA 04 : Subject | Issuer
    sfdataservice.microsoft.com : Subject | Issuer
2024-08-26 10:00:08.688 [CORE] Adding chain to pinning configuration [Microsoft Store Source]:
DigiCert Global Root G3 : PublicKey
  Microsoft Azure ECC TLS Issuing CA 04 : Subject | Issuer
    sfdataservice.microsoft.com : Subject | Issuer
2024-08-26 10:00:08.688 [CORE] Setting action: Get, Type: Standard, Name: sources_metadata
2024-08-26 10:00:08.688 [YAML] Detected UTF-8
2024-08-26 10:00:08.689 [REPO] GetCurrentSourceRefs: Source named 'microsoft.builtin.desktop.frameworks' from origin Default is hidden and is dropped.
2024-08-26 10:00:08.689 [REPO] Default source requested, multiple sources available, adding all to source references.
2024-08-26 10:00:08.689 [REPO] Adding to source references msstore
2024-08-26 10:00:08.689 [CORE] Setting action: Get, Type: Secure, Name: admin_settings
2024-08-26 10:00:08.689 [CORE] Admin settings was not found
2024-08-26 10:00:08.689 [CORE] Default proxy is not set
2024-08-26 10:00:08.689 [REPO] REST HTTP Client helper does not use proxy
2024-08-26 10:00:08.689 [REPO] Adding to source references winget
2024-08-26 10:00:08.689 [CLI ] Created authentication arguments. Mode: silentPreferred, Account: 
2024-08-26 10:00:08.697 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2024-08-26 10:00:08.697 [CORE] Found matching extension.
2024-08-26 10:00:08.699 [REPO] Source `winget` after auto update time [15 mins]; it has been at least 76 mins
2024-08-26 10:00:08.704 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2024-08-26 10:00:08.704 [CORE] Found matching extension.
2024-08-26 10:00:08.707 [CORE] Retrieving headers from url: https://cdn.winget.microsoft.com/cache/source2.msix
2024-08-26 10:00:08.848 [REPO] Header indicates version is: 2024.826.1653.26
2024-08-26 10:00:08.848 [REPO] Remote source data (2024.826.1653.26) was newer than existing (2024.826.1253.28), updating
2024-08-26 10:00:08.890 [CORE] Downloading to path: C:\Users\erin\AppData\Local\Temp\WinGet\Microsoft.Winget.Source_8wekyb3d8bbwe.msix
2024-08-26 10:00:08.890 [CORE] Started applying motw to C:\Users\erin\AppData\Local\Temp\WinGet\Microsoft.Winget.Source_8wekyb3d8bbwe.msix with zone: 3
2024-08-26 10:00:08.891 [CORE] Finished applying motw
2024-08-26 10:00:08.891 [CORE] WinINet downloading from url: https://cdn.winget.microsoft.com/cache/source2.msix
2024-08-26 10:00:08.968 [CORE] Download request status success.
2024-08-26 10:00:08.968 [CORE] Download size: 1356554
2024-08-26 10:00:09.323 [CORE] Download completed.
2024-08-26 10:00:09.366 [CORE] Started trust validation of msix at: C:\Users\erin\AppData\Local\Temp\WinGet\Microsoft.Winget.Source_8wekyb3d8bbwe.msix
2024-08-26 10:00:09.405 [CORE] Result for certificate chain validation of Microsoft origin: 0
2024-08-26 10:00:09.432 [CORE] Result for trust info validation of the msix: 0
2024-08-26 10:00:09.432 [CORE] Starting AddPackage operation #0: file:///C:/Users/erin/AppData/Local/Temp/WinGet/Microsoft.Winget.Source_8wekyb3d8bbwe.msix SkipSmartScreen: 1
2024-08-26 10:00:09.433 [CORE] Begin waiting for operation #0
2024-08-26 10:00:09.433 [CORE] Begin blocking for operation #0
2024-08-26 10:00:09.980 [CORE] Successfully completed #0
2024-08-26 10:00:09.986 [REPO] Additional sources GP is not enabled.
2024-08-26 10:00:09.986 [CORE] Setting action: Get, Type: Secure, Name: user_sources
2024-08-26 10:00:09.986 [CORE] Setting action: Get, Type: Secure, Name: admin_settings
2024-08-26 10:00:09.986 [CORE] Admin settings was not found
2024-08-26 10:00:09.987 [CORE] Adding chain to pinning configuration [Microsoft Store Source]:
DigiCert Global Root G3 : PublicKey
  Microsoft Azure ECC TLS Issuing CA 04 : Subject | Issuer
    sfdataservice.microsoft.com : Subject | Issuer
2024-08-26 10:00:09.987 [CORE] Adding chain to pinning configuration [Microsoft Store Source]:
DigiCert Global Root G3 : PublicKey
  Microsoft Azure ECC TLS Issuing CA 04 : Subject | Issuer
    sfdataservice.microsoft.com : Subject | Issuer
2024-08-26 10:00:09.987 [CORE] Setting action: Get, Type: Standard, Name: sources_metadata
2024-08-26 10:00:09.987 [YAML] Detected UTF-8
2024-08-26 10:00:09.987 [CORE] Setting action: Set, Type: Standard, Name: sources_metadata
2024-08-26 10:00:09.988 [REPO] Multiple sources available, creating aggregated source.
2024-08-26 10:00:09.988 [REPO] Adding to aggregated source: msstore
2024-08-26 10:00:09.988 [REPO] User agent caller found: winget-cli
2024-08-26 10:00:09.988 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2024-08-26 10:00:09.989 [REPO] Http GET request details:
GET / HTTP/1.1

Content-Type: application/json

User-Agent: winget-cli WindowsPackageManager/1.8.1911 DesktopAppInstaller/Microsoft.DesktopAppInstaller v1.23.1911.0

2024-08-26 10:00:10.168 [REPO] Response status: 200
2024-08-26 10:00:10.168 [REPO] Response details:
HTTP/1.1 200 OK

Cache-Control: max-age=0, no-cache, no-store

Connection: keep-alive

Content-Length: 861

Content-Type: application/json; charset=utf-8

Date: Mon, 26 Aug 2024 17:00:10 GMT

Expires: Mon, 26 Aug 2024 17:00:10 GMT

MS-CV: bfnCEvhI0kmHhAvM.0

Pragma: no-cache

Server: Microsoft-HTTPAPI/2.0

X-OSG-Served-By: Torus-EastAsia_LEGACY0003K2_1.0.0.0

X-Segment-On: true

{"$type":"Microsoft.Marketplace.Storefront.StoreEdgeFD.BusinessLogic.Response.PackageMetadata.PackageMetadataResponse, StoreEdgeFD","Data":{"$type":"Microsoft.Marketplace.Storefront.StoreEdgeFD.BusinessLogic.Response.PackageMetadata.PackageMetadataData, StoreEdgeFD","SourceIdentifier":"StoreEdgeFD","SourceAgreements":{"$type":"Microsoft.Marketplace.Storefront.StoreEdgeFD.BusinessLogic.Response.PackageMetadata.SourceAgreements, StoreEdgeFD","AgreementsIdentifier":"StoreEdgeFD","Agreements":[{"$type":"Microsoft.Marketplace.Storefront.StoreEdgeFD.BusinessLogic.Response.PackageManifest.AgreementDetail, StoreEdgeFD","AgreementLabel":"Terms of Transaction","AgreementUrl":"https://aka.ms/microsoft-store-terms-of-transaction"}]},"ServerSupportedVersions":["1.0.0","1.1.0","1.6.0"],"RequiredQueryParameters":["market"],"RequiredPackageMatchFields":["market"]}}
2024-08-26 10:00:10.169 [REPO] Authentication node not found. Assuming authentication type none.
2024-08-26 10:00:10.169 [REPO] User agent caller found: winget-cli
2024-08-26 10:00:10.169 [REPO] Sending http GET request to: https://storeedgefd.dsx.mp.microsoft.com/v9.0/information
2024-08-26 10:00:10.169 [REPO] Http GET request details:
GET / HTTP/1.1

Content-Type: application/json

User-Agent: winget-cli WindowsPackageManager/1.8.1911 DesktopAppInstaller/Microsoft.DesktopAppInstaller v1.23.1911.0

2024-08-26 10:00:10.191 [REPO] Response status: 200
2024-08-26 10:00:10.191 [REPO] Response details:
HTTP/1.1 200 OK

Cache-Control: max-age=0, no-cache, no-store

Connection: keep-alive

Content-Length: 861

Content-Type: application/json; charset=utf-8

Date: Mon, 26 Aug 2024 17:00:10 GMT

Expires: Mon, 26 Aug 2024 17:00:10 GMT

MS-CV: bfnCEvhI0kmHhAvM.0

Pragma: no-cache

Server: Microsoft-HTTPAPI/2.0

X-OSG-Served-By: Torus-EastAsia_LEGACY0003K2_1.0.0.0

X-Segment-On: true

{"$type":"Microsoft.Marketplace.Storefront.StoreEdgeFD.BusinessLogic.Response.PackageMetadata.PackageMetadataResponse, StoreEdgeFD","Data":{"$type":"Microsoft.Marketplace.Storefront.StoreEdgeFD.BusinessLogic.Response.PackageMetadata.PackageMetadataData, StoreEdgeFD","SourceIdentifier":"StoreEdgeFD","SourceAgreements":{"$type":"Microsoft.Marketplace.Storefront.StoreEdgeFD.BusinessLogic.Response.PackageMetadata.SourceAgreements, StoreEdgeFD","AgreementsIdentifier":"StoreEdgeFD","Agreements":[{"$type":"Microsoft.Marketplace.Storefront.StoreEdgeFD.BusinessLogic.Response.PackageManifest.AgreementDetail, StoreEdgeFD","AgreementLabel":"Terms of Transaction","AgreementUrl":"https://aka.ms/microsoft-store-terms-of-transaction"}]},"ServerSupportedVersions":["1.0.0","1.1.0","1.6.0"],"RequiredQueryParameters":["market"],"RequiredPackageMatchFields":["market"]}}
2024-08-26 10:00:10.192 [REPO] Authentication node not found. Assuming authentication type none.
2024-08-26 10:00:10.192 [REPO] Adding to aggregated source: winget
2024-08-26 10:00:10.198 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2024-08-26 10:00:10.198 [CORE] Found matching extension.
2024-08-26 10:00:10.217 [REPO] Opening database for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2024.826.1653.26_neutral__8wekyb3d8bbwe\Public\index.db'
2024-08-26 10:00:10.219 [REPO] Opened SQLite Index with version [2.0], last write [2024-08-26 08:50:44.000]
2024-08-26 10:00:10.325 [CLI ] Checking Source agreements for source: msstore
2024-08-26 10:00:10.325 [REPO] Additional sources GP is not enabled.
2024-08-26 10:00:10.325 [CORE] Setting action: Get, Type: Secure, Name: user_sources
2024-08-26 10:00:10.326 [CORE] Setting action: Get, Type: Secure, Name: admin_settings
2024-08-26 10:00:10.326 [CORE] Admin settings was not found
2024-08-26 10:00:10.326 [CORE] Adding chain to pinning configuration [Microsoft Store Source]:
DigiCert Global Root G3 : PublicKey
  Microsoft Azure ECC TLS Issuing CA 04 : Subject | Issuer
    sfdataservice.microsoft.com : Subject | Issuer
2024-08-26 10:00:10.326 [CORE] Adding chain to pinning configuration [Microsoft Store Source]:
DigiCert Global Root G3 : PublicKey
  Microsoft Azure ECC TLS Issuing CA 04 : Subject | Issuer
    sfdataservice.microsoft.com : Subject | Issuer
2024-08-26 10:00:10.326 [CORE] Setting action: Get, Type: Standard, Name: sources_metadata
2024-08-26 10:00:10.326 [YAML] Detected UTF-8
2024-08-26 10:00:10.326 [CLI ] Source agreements satisfied. Source: msstore
2024-08-26 10:00:10.326 [CLI ] Checking Source agreements for source: winget
2024-08-26 10:00:10.326 [REPO] Additional sources GP is not enabled.
2024-08-26 10:00:10.326 [CORE] Setting action: Get, Type: Secure, Name: user_sources
2024-08-26 10:00:10.326 [CORE] Setting action: Get, Type: Secure, Name: admin_settings
2024-08-26 10:00:10.326 [CORE] Admin settings was not found
2024-08-26 10:00:10.326 [CORE] Adding chain to pinning configuration [Microsoft Store Source]:
DigiCert Global Root G3 : PublicKey
  Microsoft Azure ECC TLS Issuing CA 04 : Subject | Issuer
    sfdataservice.microsoft.com : Subject | Issuer
2024-08-26 10:00:10.326 [CORE] Adding chain to pinning configuration [Microsoft Store Source]:
DigiCert Global Root G3 : PublicKey
  Microsoft Azure ECC TLS Issuing CA 04 : Subject | Issuer
    sfdataservice.microsoft.com : Subject | Issuer
2024-08-26 10:00:10.326 [CORE] Setting action: Get, Type: Standard, Name: sources_metadata
2024-08-26 10:00:10.326 [YAML] Detected UTF-8
2024-08-26 10:00:10.327 [CLI ] Source agreements satisfied. Source: winget
2024-08-26 10:00:10.328 [REPO] Creating PredefinedInstalledSource with filter [ARP]
2024-08-26 10:00:10.328 [REPO] Creating new SQLite Index with version [Latest] at ':memory:'
2024-08-26 10:00:10.332 [REPO] Reading MSI UpgradeCodes
2024-08-26 10:00:10.333 [REPO] Examining ARP entries for Machine | X64
[...]
2024-08-26 10:00:10.443 [REPO] Adding manifest for [ARP\User\X64\yt-dlp.yt-dlp_Microsoft.Winget.Source_8wekyb3d8bbwe, 2024.05.27] at relative path []
2024-08-26 10:00:10.443 [REPO] Did not find an Id { ARP\User\X64\yt-dlp.yt-dlp_Microsoft.Winget.Source_8wekyb3d8bbwe }
[...]
2024-08-26 10:00:10.436 [REPO] Adding manifest for [ARP\User\X64\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe, 7.0.2] at relative path []
2024-08-26 10:00:10.436 [REPO] Did not find an Id { ARP\User\X64\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe }
[...]
2024-08-26 10:00:11.294 [REPO] Finding available package from installed package using system reference search: Query:[none] Include:ProductCode='yt-dlp.yt-dlp_microsoft.winget.source_8wekyb3d8bbwe'[Exact] Include:NormalizedNameAndPublisher='ytdlp'+'ytdlp'[Exact]
2024-08-26 10:00:11.294 [REPO]  ... searching source: msstore [StoreEdgeFD]
2024-08-26 10:00:11.294 [REPO] Performing search: Query:[none] Include:ProductCode='yt-dlp.yt-dlp_microsoft.winget.source_8wekyb3d8bbwe'[Exact] Include:NormalizedNameAndPublisher='ytdlp'+'ytdlp'[Exact]
2024-08-26 10:00:11.295 [REPO]  ... searching source: winget [Microsoft.Winget.Source_8wekyb3d8bbwe]
2024-08-26 10:00:11.295 [REPO] Performing search: Query:[none] Include:ProductCode='yt-dlp.yt-dlp_microsoft.winget.source_8wekyb3d8bbwe'[Exact] Include:NormalizedNameAndPublisher='ytdlp'+'ytdlp'[Exact]
2024-08-26 10:00:11.296 [REPO]  ... setting latest tracking package to: yt-dlp.yt-dlp
2024-08-26 10:00:11.296 [REPO] Performing search: Query:[none] Include:ProductCode='yt-dlp.yt-dlp_microsoft.winget.source_8wekyb3d8bbwe'[Exact] Include:NormalizedNameAndPublisher='ytdlp'+'ytdlp'[Exact]
2024-08-26 10:00:11.297 [REPO]  ... adding available package: yt-dlp.yt-dlp
[...]
2024-08-26 10:00:11.463 [REPO] Did not find pin Package=[ARP\User\X64\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe] Source=[*PredefinedInstalledSource]
2024-08-26 10:00:11.463 [CORE] Reading cached file [C:\Users\erin\AppData\Local\Temp\WinGet\cache\V2_PVD\Microsoft.Winget.Source_8wekyb3d8bbwe\packages\Gyan.FFmpeg\1d994356\versionData.mszyml]
2024-08-26 10:00:11.463 [CORE] PackageVersionDataManifest deserializing:
sV: 1.0
vD:
- v: 7.0.2
  rP: manifests/g/Gyan/FFmpeg/7.0.2/b646
  s256H: 6a2cac9c6c4cf6240c186ee633ad5d20b808326c93fa23080fce9a5d704d4b79
- v: 7.0.1
  rP: manifests/g/Gyan/FFmpeg/7.0.1/3c33
  s256H: 89d42afce845e89e11fa3604a5b2b3f4fd96f98aba1e58aa91c2940820bafc6c
- v: 7.0
  rP: manifests/g/Gyan/FFmpeg/7.0/3c33
  s256H: ed70332eec2f8075c4898664cfcb75acb6f20ccffe8e37479dc9423ada823c58
- v: 6.1.1
  rP: manifests/g/Gyan/FFmpeg/6.1.1/3c33
  s256H: 68dbb1955d1ac858a09c1650cff1b5fdde0ff7abc5d8906c10ed04f8223b5310
- v: 6.1
  rP: manifests/g/Gyan/FFmpeg/6.1/3c33
  s256H: 6d978c791dea2cc8e3bc4148babfeb216f3c1f074b84a7f0899f212f894129a7
- v: 6.0
  rP: manifests/g/Gyan/FFmpeg/6.0/3c33
  s256H: 6e2a29d5f1b073dec0f5d6cacc95501732ab7349a1155360418f63fe428fb45a
- v: 5.1.2
  rP: manifests/g/Gyan/FFmpeg/5.1.2/3c33
  s256H: 2ac532862772dac21712d3b513540783ee631db8cbbd67efecca156125601604
- v: 5.1.1
  rP: manifests/g/Gyan/FFmpeg/5.1.1/3c33
  s256H: a1f920cebaad925c36195d9b7758ad235ed8dddf2ef7a56e2d8a7682d9fbdd47
- v: 5.1
  rP: manifests/g/Gyan/FFmpeg/5.1/3c33
  s256H: 3bb069328cb150fcf838f1a2d25a7f3922b4d6a49fdb5af63669136bb2ab6a75
- v: 5.0.1
  rP: manifests/g/Gyan/FFmpeg/5.0.1/3c33
  s256H: 63194888d1e80761ece8ea289d41a38695765a07de157e14ccdfc68b7497e93b
- v: 5.0
  rP: manifests/g/Gyan/FFmpeg/5.0/3c33
  s256H: 54cc276d8a27d08cbeaa2a6c4fa8111ab022a1b3a5ab7969e10df17f97e2a952

2024-08-26 10:00:11.463 [YAML] Detected UTF-8
2024-08-26 10:00:11.463 [REPO] Did not find pin Package=[Gyan.FFmpeg] Source=[Microsoft.Winget.Source_8wekyb3d8bbwe]
[...]

2024-08-26 10:00:11.467 [REPO] Did not find pin Package=[ARP\User\X64\yt-dlp.yt-dlp_Microsoft.Winget.Source_8wekyb3d8bbwe] Source=[*PredefinedInstalledSource]
2024-08-26 10:00:11.467 [CORE] Reading cached file [C:\Users\erin\AppData\Local\Temp\WinGet\cache\V2_PVD\Microsoft.Winget.Source_8wekyb3d8bbwe\packages\yt-dlp.yt-dlp\9268b866\versionData.mszyml]
2024-08-26 10:00:11.467 [CORE] PackageVersionDataManifest deserializing:
sV: 1.0
vD:
- v: 2024.08.06
  rP: manifests/y/yt-dlp/yt-dlp/2024.08.06/c222
  s256H: e48f25d944ada3095d50aaa57a9d626b327e207cabb2a95fe57654a517fbcb5b
- v: 2024.08.01
  rP: manifests/y/yt-dlp/yt-dlp/2024.08.01/e7e2
  s256H: f01adea9b25ad9dc951f983ad89aa73d32ed25aafdaa9a5ab8556d9588fb200e
- v: 2024.07.25
  rP: manifests/y/yt-dlp/yt-dlp/2024.07.25/30b4
  s256H: 97530afcf974c312307f305918bf1f3bf9348b6a5c6301401bf75e2313263a3e
- v: 2024.07.16
  rP: manifests/y/yt-dlp/yt-dlp/2024.07.16/6afe
  s256H: 807b476d3f656427272fe878ed19cabe49dd935b95e4d9bb91469926ea16662b
- v: 2024.07.09
  rP: manifests/y/yt-dlp/yt-dlp/2024.07.09/8310
  s256H: d9fab47a9288f729585442412c3397ac88171f19da33a75ceec764771fc151ae
- v: 2024.07.08
  rP: manifests/y/yt-dlp/yt-dlp/2024.07.08/171a
  s256H: 6503a14544a26a3aa16f145b432f02fb640b3668a0c8656aaaa5be2723b1418a
- v: 2024.07.07
  rP: manifests/y/yt-dlp/yt-dlp/2024.07.07/ed92
  s256H: 4492907ca096f92ca1f2f2bade9715754ba8e30a9a08ebe335e5123584ce665c
- v: 2024.07.02
  rP: manifests/y/yt-dlp/yt-dlp/2024.07.02/2ed4
  s256H: a4a956cd5d5df3995f7a3a2f482c13e2aa1ac3d2154436b80fac894446f05043
- v: 2024.07.01
  rP: manifests/y/yt-dlp/yt-dlp/2024.07.01/a6ff
  s256H: 92121f028f193a41aa66fee298335eec810f5e8c8f45d4739a1c9a821417fd81
- v: 2024.05.27
  rP: manifests/y/yt-dlp/yt-dlp/2024.05.27/3c33
  s256H: b3f1829a17501e04381a4409f3309d04499a8ed219adca64eb0a93fb583faafd
- v: 2024.05.26
  rP: manifests/y/yt-dlp/yt-dlp/2024.05.26/3c33
  s256H: 6f3aa821b95f0d0e8a3e0ed67e66427221da56fa40e13cbe470e27f50ab54eda
- v: 2024.04.09
  rP: manifests/y/yt-dlp/yt-dlp/2024.04.09/3c33
  s256H: 6e8bfcd73a2b97ae85cad9a254c95541075712830031474b0cee4a9fa8bb044e
- v: 2024.03.10
  rP: manifests/y/yt-dlp/yt-dlp/2024.03.10/3c33
  s256H: 8df9ab776fd0fb6b7a57d4d740629a3577cb3dbe19a9bca4538642f1ac05267b
- v: 2023.12.30
  rP: manifests/y/yt-dlp/yt-dlp/2023.12.30/3c33
  s256H: a01c27d8562b1041c5f4774a2644850c1a4c66deff0aa8fff0efbd62b83f29a4
- v: 2023.11.16
  rP: manifests/y/yt-dlp/yt-dlp/2023.11.16/3c33
  s256H: 5dbd43b1afdca33f8a6161e02fb859110119bf46d8ffebfe2e7ef4fc8735e0dc
- v: 2023.11.14
  rP: manifests/y/yt-dlp/yt-dlp/2023.11.14/3c33
  s256H: 3f9436bd6d25e06aaf9d71379258ccbce7a84fb53e8cb318495cc3b64612d08f
- v: 2023.10.13
  rP: manifests/y/yt-dlp/yt-dlp/2023.10.13/3c33
  s256H: 0acd8a6e0fa183f9701fc9167edc2b5bd8183b173312b8ab548dd784e248cf02
- v: 2023.10.07
  rP: manifests/y/yt-dlp/yt-dlp/2023.10.07/3c33
  s256H: a036c845421da9ac9260b96762bea8348d1f5dd895e984ce11a0c3f73b59a23f
- v: 2023.09.24
  rP: manifests/y/yt-dlp/yt-dlp/2023.09.24/3c33
  s256H: 08ba490890c55ce0f69e3669ca359dd844e3d993b57cf4878ed044756cf47363
- v: 2023.07.06
  rP: manifests/y/yt-dlp/yt-dlp/2023.07.06/3c33
  s256H: aca398a5a13768b9953026c87a761c1b9998d312f0cb339d6b3c710a42282406
- v: 2023.06.22
  rP: manifests/y/yt-dlp/yt-dlp/2023.06.22/3c33
  s256H: 3ac360feaf88f4110f6e3d0f9827f58d0f4449bba1ab2cb415b38740a277a220
- v: 2023.03.04
  rP: manifests/y/yt-dlp/yt-dlp/2023.03.04/3c33
  s256H: 2fa446a87972b9d84f5a2afa178792ead6cb6c5cd1960fa7d95c9b34216d36b9
- v: 2023.02.17
  rP: manifests/y/yt-dlp/yt-dlp/2023.02.17/3c33
  s256H: 7deddd52272ab861fa6b51a267287a6df82326c8f8411d15ab4455ab93e58d26
- v: 2023.01.06
  rP: manifests/y/yt-dlp/yt-dlp/2023.01.06/3c33
  s256H: c4325e08cb591cd09c7c0d0dfa06fbb7c82e3a8ae026c8d32beca3e2ea51f8a1
- v: 2023.01.02
  rP: manifests/y/yt-dlp/yt-dlp/2023.01.02/3c33
  s256H: 943042a3d815155ac7b14a3bfb21ee42c46795020a319eaf4354ca197273e152
- v: 2022.11.11
  rP: manifests/y/yt-dlp/yt-dlp/2022.11.11/3c33
  s256H: 1866000a88c48043c54f45798c7407e907ce0cec525353ac518406a9b62ab811
- v: 2022.10.04
  rP: manifests/y/yt-dlp/yt-dlp/2022.10.04/3c33
  s256H: 28f3b7c5f7e4f81012f900c44fe1d6cf48dcefdcf6a86ca9171a73e0d661fe3b
- v: 2022.09.01
  rP: manifests/y/yt-dlp/yt-dlp/2022.09.01/3c33
  s256H: f8a4611c9a0f8894a0f226a5c6755214401a6ca8ad33c2a1a0d93dc6c7e3f63e
- v: 2022.08.19
  rP: manifests/y/yt-dlp/yt-dlp/2022.08.19/3c33
  s256H: d81e4680b45137cd0faac9dc9a915340b58e2d1a3456a0c2a1b3ed6ed3a76eef
- v: 2022.08.14
  rP: manifests/y/yt-dlp/yt-dlp/2022.08.14/3c33
  s256H: cdf045851ffe32c5751f8a9bd97530066917c97987afa3c914d0d058352cffe2
- v: 2022.06.29
  rP: manifests/y/yt-dlp/yt-dlp/2022.06.29/3c33
  s256H: 753e104879c8f6234c58f55f5f327c620d0749ee374c4c50fa9eb6c587412142

2024-08-26 10:00:11.467 [YAML] Detected UTF-8
2024-08-26 10:00:11.468 [REPO] Did not find pin Package=[yt-dlp.yt-dlp] Source=[Microsoft.Winget.Source_8wekyb3d8bbwe]
[...]
2024-08-26 10:00:11.787 [REPO] Attempting to open pinning database: C:\Users\erin\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db
2024-08-26 10:00:11.787 [REPO] ... opening existing pinning database
2024-08-26 10:00:11.787 [REPO] Opening database for Read at 'C:\Users\erin\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db'
2024-08-26 10:00:11.787 [REPO] Opened Pinning Index with version [1.0], last write [2023-08-04 04:33:11.000]
2024-08-26 10:00:11.787 [REPO] Did not find pin Package=[ARP\User\X64\yt-dlp.yt-dlp_Microsoft.Winget.Source_8wekyb3d8bbwe] Source=[*PredefinedInstalledSource]
2024-08-26 10:00:11.788 [CLI ] Updating from [2024.05.27] to [2024.08.06]
2024-08-26 10:00:11.788 [REPO] Did not find pin Package=[yt-dlp.yt-dlp] Source=[Microsoft.Winget.Source_8wekyb3d8bbwe]

2024-08-26 10:00:11.788 [CORE] Reading cached file [C:\Users\erin\AppData\Local\Temp\WinGet\cache\V2_M\Microsoft.Winget.Source_8wekyb3d8bbwe\manifests/y/yt-dlp/yt-dlp/2024.08.06/c222]
2024-08-26 10:00:11.788 [YAML] Detected UTF-8
2024-08-26 10:00:11.789 [CLI ] Starting installer selection.
2024-08-26 10:00:11.789 [CLI ] Installer [X64,portable,Unknown,] is current best choice
2024-08-26 10:00:11.789 [CLI ] Installer [X64,portable,Unknown,] is better [strong] than [X86,portable,Unknown,] due to: Machine Architecture
2024-08-26 10:00:11.789 [CLI ] Completed installer selection.
2024-08-26 10:00:11.789 [CLI ] Selected installer Architecture: 2
2024-08-26 10:00:11.789 [CLI ] Selected installer URL: https://github.com/yt-dlp/yt-dlp/releases/download/2024.08.06/yt-dlp.exe
2024-08-26 10:00:11.789 [CLI ] Selected installer InstallerType: portable
2024-08-26 10:00:11.789 [CLI ] Selected installer Scope: Unknown
2024-08-26 10:00:11.789 [CLI ] Selected installer Language: 
2024-08-26 10:00:11.789 [CLI ] Manifest fields: Name [yt-dlp], Version [2024.08.06]
2024-08-26 10:00:11.790 [CLI ] Market Filter created with market: US
2024-08-26 10:00:11.790 [CLI ] Locale Comparator created with Required Locales: [] , Preferred Locales: [en-US] , IsInstalledLocale: 0
2024-08-26 10:00:11.790 [CLI ] Architecture Comparator created with allowed architectures: [X64, X86, Neutral]

It then attempts and fails to install some other packages (that I was able to manually resolve as well,) producing pretty identical output to the above. After that, it loops on reading the pinning database for hundreds of lines, with no deviation in output (below) before finally installing the ffmpeg dependency and terminating. Nothing remarkable, really.)

2024-08-26 10:00:12.162 [REPO] Attempting to open pinning database: C:\Users\erin\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db
2024-08-26 10:00:12.162 [REPO] ... opening existing pinning database
2024-08-26 10:00:12.162 [REPO] Opening database for Read at 'C:\Users\erin\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db'
2024-08-26 10:00:12.163 [REPO] Opened Pinning Index with version [1.0], last write [2023-08-04 04:33:11.000]
2024-08-26 10:00:12.163 [REPO] Did not find pin Package=[MSIX\microsoft.windowscommunicationsapps_16005.14326.22041.0_x64__8wekyb3d8bbwe] Source=[*PredefinedInstalledSource]
2024-08-26 10:00:12.163 [CLI ] Terminating context: 0x8a15002b at C:\__w\1\s\external\pkg\src\AppInstallerCLICore\Workflows\UpdateFlow.cpp:be
2024-08-26 10:00:12.281 [REPO] Opening database for ReadWrite at 'C:\Users\erin\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Microsoft.Winget.Source_8wekyb3d8bbwe\installed.db'
2024-08-26 10:00:12.281 [REPO] Opened SQLite Index with version [1.6], last write [2024-08-26 07:28:19.000]
2024-08-26 10:00:12.314 [REPO] Performing search: Query:[none] Filter:Id='Gyan.FFmpeg'[CaseInsensitive]
2024-08-26 10:00:12.315 [CORE] Reading cached file [C:\Users\erin\AppData\Local\Temp\WinGet\cache\V2_PVD\Microsoft.Winget.Source_8wekyb3d8bbwe\packages\Gyan.FFmpeg\1d994356\versionData.mszyml]
2024-08-26 10:00:12.315 [CORE] PackageVersionDataManifest deserializing:
sV: 1.0
vD:
- v: 7.0.2
  rP: manifests/g/Gyan/FFmpeg/7.0.2/b646
  s256H: 6a2cac9c6c4cf6240c186ee633ad5d20b808326c93fa23080fce9a5d704d4b79
- v: 7.0.1
  rP: manifests/g/Gyan/FFmpeg/7.0.1/3c33
  s256H: 89d42afce845e89e11fa3604a5b2b3f4fd96f98aba1e58aa91c2940820bafc6c
- v: 7.0
  rP: manifests/g/Gyan/FFmpeg/7.0/3c33
  s256H: ed70332eec2f8075c4898664cfcb75acb6f20ccffe8e37479dc9423ada823c58
- v: 6.1.1
  rP: manifests/g/Gyan/FFmpeg/6.1.1/3c33
  s256H: 68dbb1955d1ac858a09c1650cff1b5fdde0ff7abc5d8906c10ed04f8223b5310
- v: 6.1
  rP: manifests/g/Gyan/FFmpeg/6.1/3c33
  s256H: 6d978c791dea2cc8e3bc4148babfeb216f3c1f074b84a7f0899f212f894129a7
- v: 6.0
  rP: manifests/g/Gyan/FFmpeg/6.0/3c33
  s256H: 6e2a29d5f1b073dec0f5d6cacc95501732ab7349a1155360418f63fe428fb45a
- v: 5.1.2
  rP: manifests/g/Gyan/FFmpeg/5.1.2/3c33
  s256H: 2ac532862772dac21712d3b513540783ee631db8cbbd67efecca156125601604
- v: 5.1.1
  rP: manifests/g/Gyan/FFmpeg/5.1.1/3c33
  s256H: a1f920cebaad925c36195d9b7758ad235ed8dddf2ef7a56e2d8a7682d9fbdd47
- v: 5.1
  rP: manifests/g/Gyan/FFmpeg/5.1/3c33
  s256H: 3bb069328cb150fcf838f1a2d25a7f3922b4d6a49fdb5af63669136bb2ab6a75
- v: 5.0.1
  rP: manifests/g/Gyan/FFmpeg/5.0.1/3c33
  s256H: 63194888d1e80761ece8ea289d41a38695765a07de157e14ccdfc68b7497e93b
- v: 5.0
  rP: manifests/g/Gyan/FFmpeg/5.0/3c33
  s256H: 54cc276d8a27d08cbeaa2a6c4fa8111ab022a1b3a5ab7969e10df17f97e2a952

2024-08-26 10:00:12.315 [YAML] Detected UTF-8
2024-08-26 10:00:12.336 [REPO] Performing search: Query:[none] Filter:Id='Gyan.FFmpeg'[CaseInsensitive]
2024-08-26 10:00:12.338 [REPO] Finding installed package from available package using system reference search: Query:[none] Include:NormalizedNameAndPublisher='ffmpeg'+'gyan'[Exact]
2024-08-26 10:00:12.338 [REPO] Performing search: Query:[none] Include:NormalizedNameAndPublisher='ffmpeg'+'gyan'[Exact]
2024-08-26 10:00:12.339 [REPO] Performing search: Query:[none] Include:ProductCode='gyan.ffmpeg_microsoft.winget.source_8wekyb3d8bbwe'[Exact] Include:NormalizedNameAndPublisher='ffmpeg'+'gyan'[Exact]
2024-08-26 10:00:12.339 [REPO]  ... installed package [ARP\User\X64\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe] had multiple correlations and is being ignored as a match for [Gyan.FFmpeg]
2024-08-26 10:00:12.344 [REPO] Attempting to open pinning database: C:\Users\erin\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db
2024-08-26 10:00:12.344 [REPO] ... opening existing pinning database
2024-08-26 10:00:12.344 [REPO] Opening database for Read at 'C:\Users\erin\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\pinning.db'
2024-08-26 10:00:12.344 [REPO] Opened Pinning Index with version [1.0], last write [2023-08-04 04:33:11.000]
2024-08-26 10:00:12.344 [CORE] Reading cached file [C:\Users\erin\AppData\Local\Temp\WinGet\cache\V2_M\Microsoft.Winget.Source_8wekyb3d8bbwe\manifests/g/Gyan/FFmpeg/7.0.2/b646]
2024-08-26 10:00:12.344 [YAML] Detected UTF-8
2024-08-26 10:00:12.345 [CLI ] Market Filter created with market: US
2024-08-26 10:00:12.345 [CLI ] Locale Comparator created with Required Locales: [] , Preferred Locales: [en-US] , IsInstalledLocale: 0
2024-08-26 10:00:12.345 [CLI ] Architecture Comparator created with allowed architectures: [X64, X86, Neutral]
2024-08-26 10:00:12.345 [CLI ] Starting installer selection.
2024-08-26 10:00:12.345 [CLI ] Installer [X64,portable,Unknown,] is current best choice
2024-08-26 10:00:12.345 [CLI ] Completed installer selection.
2024-08-26 10:00:12.345 [CLI ] Selected installer Architecture: 2
2024-08-26 10:00:12.345 [CLI ] Selected installer URL: https://github.com/GyanD/codexffmpeg/releases/download/7.0.2/ffmpeg-7.0.2-full_build.zip
2024-08-26 10:00:12.345 [CLI ] Selected installer InstallerType: portable
2024-08-26 10:00:12.345 [CLI ] Selected installer Scope: Unknown
2024-08-26 10:00:12.345 [CLI ] Selected installer Language: 
2024-08-26 10:00:12.345 [CLI ] Manifest fields: Name [FFmpeg], Version [7.0.2]
2024-08-26 10:00:12.378 [CLI ] Found existing installer file at 'C:\Users\erin\AppData\Local\Temp\WinGet\Gyan.FFmpeg.7.0.2\ffmpeg-7.0.2-full_build.zip'. Verifying file hash.
2024-08-26 10:00:12.722 [CLI ] Existing installer file hash matches. Will use existing installer.
2024-08-26 10:00:12.722 [CLI ] Installer hash verified
2024-08-26 10:00:12.722 [CORE] Started applying motw to C:\Users\erin\AppData\Local\Temp\WinGet\Gyan.FFmpeg.7.0.2\ffmpeg-7.0.2-full_build.zip with zone: 2
2024-08-26 10:00:12.728 [CORE] Finished applying motw
2024-08-26 10:00:12.834 [CLI ] Extracting archive to: C:\Users\erin\AppData\Local\Temp\WinGet\Gyan.FFmpeg.7.0.2\extracted
2024-08-26 10:00:19.345 [CLI ] Successfully extracted archive

This indicates to me that it has been a problem for some time, as the ffmpeg installer has been cached on disk prior. Indeed, I see logs back to three days ago that are comparable.