X Tutup
The Wayback Machine - https://web.archive.org/web/20250810165530/https://github.com/PowerShell/PowerShell/issues/24237
Skip to content

PowerShell-Release : --tag v7.4.5 --version 7.4.5.0 is not upgrading or installing via winget from --source winget. Note: I am on PowerShell Core 7.4.4 #24237

@iCanHazConfetti

Description

@iCanHazConfetti

Prerequisites

Steps to reproduce

I am having no luck installing or upgrading the v7.4.5 Release of PowerShell.

Here are some Software Versions that (may) be relevant?

  1. Windows Terminal : --id Microsoft.WindowsTerminal ; version : v1.21.2361.0 ; source : winget
  2. WinGet : version : v1.8.1911
  3. PowerShell : PS> $PSVersionTable :
    3.1. PSVersion : 7.4.4
    3.2. PSEdition : Core
    3.3. GitCommitId : 7.4.4
    3.4. OS : Microsoft Windows 10.0.19045
    3.5. Platform : Win32NT
    3.6. PSCompatibleVersions : {1.0, 2.0, 3.0, 4.0 ...}
    3.7. PSRemotingProtocolVersion : 2.3
    3.8. SerializationVersion : 1.1.0.1
    3.9. WSManStackVersion : 3.0

Expected behavior

PS> winget find --id Microsoft.PowerShell -s winget 
#<should find --id Microsoft.PowerShell -s winget --version 7.4.5.0>

PS> winget upgrade --id Microsoft.PowerShell -s winget
#<should upgrade --id Microsoft.PowerShell -s winget to --version 7.4.5.0>


Expected: Latest Release version of PowerShell (--tag v7.4.5) (--e v7.4.5.0) would upgrade the existing installed version (--version 7.4.4.0).

Actual behavior

PS> winget upgrade --id Microsoft.PowerShell -s winget 
#<the latest version should be defaulted to>
PS> No available upgrade found.
PS> No newer package versiona are available from the configured sources.

Actual: 
PS> winget find --id Microsoft.PowerShell -s winget -v 7.4.5.0 
#<DOES Find --id Microsoft.PowerShell -s winget -v 7.4.5.0 >
PS> winget upgrade --id Microsoft.PowerShell -s winget 
#<DOES NOT Find --id Microsoft.PowerShell -s winget -v 7.4.5.0>
#<ERRORS WITH: 
PS> No available upgrade found.
PS> No newer package versiona are available from the configured sources.
>

Error details

Get-Error returns Nothing.

Environment data

$PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.4.4
PSEdition                      Core
GitCommitId                    7.4.4
OS                             Microsoft Windows 10.0.19045
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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup