microsoft / microsoft/winget-cli
"Ghost" installations of certain apps
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 using the upgrade command (winget upgrade), it lists all availabe updates, but there are several that can't be updated or uninstalled. To me, they seem like ghost applications.
Steps to reproduce
I don't know what I did to get here.
Expected behavior
Every app either not installed or updated should not be displayed when running winget upgrade.
Actual behavior
> winget upgrade
Name ID Version Available Quelle
------------------------------------------------------------------------
digiKam 7.9.0 KDE.digikam 7.9.0 8.2.0 winget
blender BlenderFoundation.Blender.LTS 3.3.3 3.3.14 winget
Above, you see several applications, supposedly awaiting an update, but in both cases, updating them doesn't do anything about these "entries".
With digiKam, it downloads and runs the 8.2.0 installer, even though 8.2.0 is already installed, and 7.9.0 isn't even on my pc.
In the case of blender, I can't update or uninstall it, every time I try, I get exitcode 1605.
In both cases, even if they aren't installed, they show up when I run winget upgrade (blender isn't installed, digiKam is).
This issue is similar to #4066.
Environment
Windows: Windows.Desktop v10.0.22631.3007
Systemarchitektur: X64
Paket: Microsoft.DesktopAppInstaller v1.21.3482.0
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 winget upgrade with the reported Windows.Desktop v10.0.22631.3007 and Microsoft.DesktopAppInstaller v1.21.3482.0 environment, using the digiKam and Blender entries described here and comparing the related behavior in #4066. Done means ghost entries no longer appear, and valid installed applications still update or uninstall correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100