microsoft / microsoft/winget-pkgs

[Package Issue]: KiCad.KiCad uninstall claim uninstall is successful, but uninstaller is still running

Open
#145,443 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Blocking-Issue Issue-Bug Validation-Uninstall-Error
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

winget uninstall KiCad.KiCad claims Successfully uninstalled, but still lists KiCad as installed. After waiting some time, KiCad disappears, so apparently, that command just launched a background task for uninstalling the program.

This was very confusing when combined with other problems with KiCad uninstallation. I request better output, so that it is clear if uninstallation is really complete, or if the process was started and is still running.

Steps to reproduce
  1. Install KiCad:
> winget install KiCad.KiCad
Found KiCad [KiCad.KiCad] Version 8.0.1
...
Successfully installed
  1. Uninstall it:
> winget uninstall KiCad.KiCad
Found KiCad [KiCad.KiCad]
Starting package uninstall...
Successfully uninstalled
  1. Check if KiCad is still installed:
> winget list KiCad.Kicad
Actual behavior

Still listed as installed:

Name                     Id          Version Source
----------------------------------------------------
KiCad 8.0 (current user) KiCad.KiCad 8.0.1   winget

After waiting for some time, like 10 seconds, the list becomes empty.

Expected behavior

Either:

  1. winget uninstall command reports that is has started a background uninstallation process, OR
  2. winget uninstall waits for the uninstaller to complete and only claims successful uninstallation when the package is really gone.
Environment
> winget --info
Windows Package Manager v1.7.10661
Windows: Windows.Desktop v10.0.22631.3296
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.10661.0
Screenshots and Logs

No response

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 with the reported winget uninstall and list commands on the stated Windows environment, then determine whether the package manifest or winget client owns the uninstall completion status. Done means the command either clearly reports background work or waits before reporting success, with the KiCad listing reflecting the selected behavior.

Written by the indexing model from the issue text.

Assessment

Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.