microsoft / microsoft/winget-cli
Using command `winget upgrade --all` does not update some software and does not say why.
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
Using command winget upgrade --all does not update some software and does not say why.
I can see in the log the real reason :
Installer [X64,wix,Machine,] not applicable: Installed package type 'exe' is not compatible with installer type wix, or with accepted type(s) wix
Steps to reproduce
winget upgrade --all
Nom ID Version Disponible Source
-------------------------------------------------------------------------
MiKTeX ChristianSchenk.MiKTeX 22.3 22.7 winget
Password Safe (64-bit) RonyShapiro.PasswordSafe 3.58.0 3.59.0 winget
2 des mises à niveau sont disponibles.
Expected behavior
It must update all these softwares or say why it can't.
I think wget should provide a command to reinstall the software in this case.
Actual behavior
Somme's software are skipped without any visible explanation.
Environment
Windows: Windows.Desktop v10.0.19044.1889
Architecture du système: X64
Package: Microsoft.DesktopAppInstaller v1.18.2091.
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 --all with packages whose installed and available installer types are incompatible, then compare the visible output with the logged applicability reason. Done means incompatible upgrades are either handled as requested or the command clearly explains why each package was skipped.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100