Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't upgrade nor uninstall ffmpeg #133283

Closed
bkosowski opened this issue Jan 7, 2024 · 7 comments
Closed

Can't upgrade nor uninstall ffmpeg #133283

bkosowski opened this issue Jan 7, 2024 · 7 comments
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Resolution-Duplicate This issue or pull request already exists
Milestone

Comments

@bkosowski
Copy link

bkosowski commented Jan 7, 2024

Brief description of your issue

Trying to upgrade, install --force, or even uninstall the package Gyan.FFMpeg just hands. I have to double Ctrl+C to exit.

Steps to reproduce

  1. Have ffmpeg 6.0 already installed
  2. Run winget install --disable-interactivity --force --verbose --accept-source-agreements --accept-package-agreements Gyan.FFMpeg
  3. See some info from the command, including Starting package install...
  4. Wait... and wait... and nothing happens

Expected behavior

The package is actually being upgraded or the installation completes successfully.

Actual behavior

Winget installation hangs indefinitely. In the console, I see:

Found FFmpeg [Gyan.FFmpeg] Version 6.1.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...

Environment

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

Windows: Windows.Desktop v10.0.22631.2861
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.21.3482.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                     Enabled
LocalArchiveMalwareScanOverride           Disabled
ffmpeg -version
ffmpeg version 6.0-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
winget list
FFmpeg   Gyan.FFmpeg   6.1.1   winget
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage This work item needs to be triaged by a member of the core team. label Jan 7, 2024
@stephengillie stephengillie added Issue-Bug It either shouldn't be doing this or needs an investigation. and removed Needs-Triage This work item needs to be triaged by a member of the core team. labels Jan 8, 2024
@stephengillie
Copy link
Collaborator

This should be moved to the winget-pkgs repo.

Is it possible to try uninstalling FFmpeg through other means, such as the uninstaller, then install again through Winget? It might be something like an installer type mismatch preventing the install from proceeding.

@denelon denelon transferred this issue from microsoft/winget-cli Jan 8, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage This work item needs to be triaged by a member of the core team. label Jan 8, 2024
@bkosowski
Copy link
Author

@stephengillie Unfortunately not. The normal Windows uninstaller just starts cmd with winget uninstall and it hangs as usual.

@microsoft microsoft deleted a comment from github-actions bot Jan 8, 2024
@stephengillie stephengillie removed the Needs-Triage This work item needs to be triaged by a member of the core team. label Jan 8, 2024
@mdanish-kh
Copy link
Contributor

mdanish-kh commented Jan 10, 2024

This is because of:

@bkosowski Can you try one of the workarounds listed in the issue to see if it unblocks the install/uninstall/upgrade scenario for you?

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Author-Feedback This needs a response from the author. label Jan 10, 2024
@MagicAndre1981
Copy link

try the preview. I also got a crash with the normal stable version.

@bkosowski
Copy link
Author

@mdanish-kh Yes, the workaround worked 👍

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Attention This work item needs to be reviewed by a member of the core team. and removed Needs-Author-Feedback This needs a response from the author. labels Jan 11, 2024
@mdanish-kh
Copy link
Contributor

mdanish-kh commented Jan 11, 2024

Copy link
Contributor

Hello @bkosowski,

We've identified this as a duplicate of another issue or PR that already exists. This specific instance is being closed in favor of the linked issue. Please add your 👍 to the other issue to raise its priority. Thanks for your contribution!

Template: msftbot/duplicate/closed

@microsoft-github-policy-service microsoft-github-policy-service bot added Resolution-Duplicate This issue or pull request already exists and removed Needs-Attention This work item needs to be reviewed by a member of the core team. labels Jan 11, 2024
@denelon denelon added this to the 1.7 Packages milestone Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation. Resolution-Duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

5 participants