microsoft / microsoft/winget-cli

Windows PC Health Check showing upgrade but not applicable

Open
#2,053 9 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Brief description of your issue

winget upgrade shows:

Windows PC Health Check Microsoft.WindowsPCHealthCheck 3.2.2110.14001 3.3.2110.22002 winget

The upgrade is on a different build version.

It displays an upgrade available but it won't upgrade it.

C:\> winget upgrade Microsoft.WindowsPCHealthCHeck
No applicable update found.
C:\>
Steps to reproduce

having PC Health Check installed version 3.2.2110.14001
upgrading to 3.3.2110.22002

won't upgrade it.

Notice that is just a minor version build.

Expected behavior

Upgrade to the reported version.
Or it should not be shown as upgrade available.

Actual behavior

it won't install it, trying running winget will return with this message:
No applicable update found.

Environment
Windows Package Manager (Preview) v1.3.692-preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19044.1586
Package: Microsoft.DesktopAppInstaller v1.18.692.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

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

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

Reproduce the mismatch with winget upgrade and winget upgrade Microsoft.WindowsPCHealthCheck, then inspect the diagnostic logs under %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir. Done means the reported upgrade installs successfully or is no longer shown as applicable.

Written by the indexing model from the issue text.

Assessment

Domain
cli, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.