Skip to content

Unable to update to version 7.5.4.0 with winget: "install technology is different from the current version installed" #26325

@michellejazmin

Description

@michellejazmin

Prerequisites

Steps to reproduce

  1. List available upgrades using winget upgrade.
  2. Try to update PowerShell using winget.

Expected behavior

PS>winget upgrade --id Microsoft.PowerShell
Found PowerShell [Microsoft. PowerShell] Version 7.5.4.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third—party packages.
Downloading https://github.com/PowerShell/PowerShell/releases/download/v7.5.4/PowerShell-7.5.4-win-x64.msi

Actual behavior

PS>winget upgrade
Name                   Id                   Version Available Source
--------------------------------------------------------------------
PowerShell 7.5.3.0-x64 Microsoft.PowerShell 7.5.3.0 7.5.4.0   winget
1 upgrades available.


PS>winget upgrade --id Microsoft.PowerShell
No installed package found matching input criteria.

PS>winget upgrade powershell
No available upgrade found.
No newer package versions are available from the configured sources.

PS>winget upgrade "PowerShell 7.5.3.0-x64"
A newer version was found, but the install technology is different from the current version installed. Please uninstall the package and install the newer version.

Error details

Environment data

Name                           Value
----                           -----
PSVersion                      7.5.3
PSEdition                      Core
GitCommitId                    7.5.3
OS                             Microsoft Windows 10.0.26200
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visuals

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs-TriageThe issue is new and needs to be triaged by a work group.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions