Skip to content

[Package Issue]: Microsoft.PowerShell #100108

Open
@simkoG

Description

@simkoG

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

After updating Microsoft.PowerShell to the latest version (v7.3.3), winget still shows that an update is available for the app (even after Terminal relaunch).

Steps to reproduce

  1. Install Microsoft.PowerShell 7.3.2.0.
  2. Run winget upgrade Microsoft.PowerShell.
  3. The app will be updated.
  4. Close the Terminal app.
  5. Run winget list Microsoft.PowerShell.
  6. See that the version remains 7.3.2.0.

Actual behavior

Do not try to update Microsoft.PowerShell after updating it.

Expected behavior

The app gets updated but the version number will be the old one within winget package manager.

Environment

> winget --info
Windows Package Manager v1.4.10173
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19045.2728
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.10173.0

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

User Settings: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json

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

Screenshots and Logs

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIt either shouldn't be doing this or needs an investigation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions