Skip to content

[Package Issue]: Gyan.FFmpeg does not uninstall correctly #2949

Closed

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

Package Gyan.FFmpeg (v5.1.2) does not properly uninstall:
image

I'm using --force because otherwise it refuses to uninstall due to the package being supposedly modified, which is not the case. I even get this straight away after installing it fresh.

Notice I'm running this as Administrator because that also how I install it (due to microsoft/winget-pkgs#95349 / #2909).

Steps to reproduce

(As administrator:)
winget install gyan.ffmpeg
winget uninstall gyan.ffmpeg (complains about the package being modified, which is not the case)
winget uninstall gyan.ffmpeg --force

Actual behavior

%LOCALAPPDATA%\Microsoft\WinGet\Packages\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe and subfolder/files remain behind.

Expected behavior

All files/folders related to package are gone.

Environment

Windows Package Manager v1.4.10173
Windows: Windows.Desktop v10.0.22621.1105
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.10173.0


Gyan.FFmpeg v5.1.2

Screenshots and Logs

No response

Activity

  1. added
    Issue-Bug
    on Feb 10, 2023
  2. Trenly commented on Feb 10, 2023

    @Trenly
    Contributor

    I'm using --force because otherwise it refuses to uninstall due to the package being supposedly modified, which is not the case. I even get this straight away after installing it fresh.

    Demitrius Nelon (@denelon) - sounds like a CLI issue

    Actual behavior

    %LOCALAPPDATA%\Microsoft\WinGet\Packages\Gyan.FFmpeg_Microsoft.Winget.Source_8wekyb3d8bbwe and subfolder/files remain behind.

    Expected behavior

    All files/folders related to package are gone.

    If any files are created in the folder outside of just the ffmpeg application, the default behavior of winget is to preserve them when uninstalling to avoid removing user data. You can override this using --purge when uninstalling or by setting the default behavior to purge in winget settings

  3. added
    Needs-Author-Feedback
    on Feb 10, 2023
  4. microsoft-github-policy-service commented on Feb 10, 2023

    @microsoft-github-policy-service
  5. removed
    Needs-Triage
    Needs-Author-Feedback
    on Feb 10, 2023
  6. added
    Portable
    on Feb 21, 2023
  7. modified the milestones: v1.5-Client, on Apr 19, 2023
  8. mdanish-kh commented on Apr 29, 2023

    @mdanish-kh
    Contributor

    This has been fixed in WinGet v1.5.1081-preview release through PR #3002

    cc Demitrius Nelon (@denelon)

  9. modified the milestones: , v1.5-Client on May 5, 2023
  10. alexyo02 commented on Aug 22, 2023

    @alexyo02

    Hi, still have the same problem on the latest stable version of Winget (v1.5.2201), on Windows 11 22h2. No matter what command I use, the process is stuck

  11. mdanish-kh commented on Aug 22, 2023

    @mdanish-kh
    Contributor

    alexyo (@alexyo02) That is probably related to #3279. There are a couple workarounds to fix the uninstall mentioned in that issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugPortable

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions