Skip to content

v7.4.3 Release of PowerShell (Latest) - NOT YET AVAILABLE - via --source winget (PLEASE FIX)  #23970

Closed

Description

@iCanHazConfetti

Prerequisites

Steps to reproduce

(v7.4.3) Release of PowerShell (Latest) - NOT YET AVAILABLE - via --source winget (PLEASE FIX)
Attempt via ' PS (v7.4.2) ' in ' Windows Terminal (v1.20.11381.0) ' from ' --source (winget) '
It is (2024-06-16 @ 11:55 PDT) currently.

  1. Receive NOTICE when I open a New Tab in Windows Terminal (v1.20.11381.0) that is PowerShell (v.7.4.2) (both are the
    latest available via WinGet on my System.
    Yes. Did a : 'winget source update' prior to a :
    'winget upgrade -r -u --force --verbose --wait -s winget' ...

  2. NOTICE LISTS :
    '' A new PowerShell stable release is available: v7.4.3
    Upgrade now, or check out the release page at:
    https://aka.ms/PowerShell-Release?tag=v7.4.3 '' ...

  3. WinGet can NOT find PowerShell (v7.4.3) via ' --name ' , ' --id ' , OR ' --version ' in the ' --source winget ' ?Repo? (is
    that the correct term)?

  4. PLEASE FIX the winget source so that ' PowerShell --tag v7.4.3 can be located/installed/upgraded via WinGet

  5. FYI ' App Installer is already installed ' , ' (v1.22.11261.0) on Windows 10.

  6. THANKS in advance!

Expected behavior

When I ' CRTL+SHIFT+L-CLICK ' the NOTIFICATION BANNER MESSAGE in a PS (v7.4.2) Session in Windows Terminal that displays the new PowerShell stable release version tag, I expect to be able to then click to open the github page for the latest stable release of PowerShell to see what was updated, and then also be able to find and upgrade the version of PowerShell on my PC via WinGet...

Actual behavior

When I attempt to perform : ' winget find Powershell ' I expect to find the version that is the latest stable release I was notified of by PowerShell's Notification Banner.

This is not possible. If I search : ' winget find --id Microsoft.PowerShell ' I only find my currently installed version --tag (v7.4.2.0) and no listing for the new --tag (v7.4.3.0)...

...so I request that the package for this Latest Release (v7.4.3.0) be added to the winget source.

Thanks In Advance...

Error details

No PS > Get-Error : to report...

Environment data

PS > $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.4.2
PSEdition                      Core
GitCommitId                    7.4.2
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

PS (v7 4 3) - WinGet Upgrade ERROR -  2024-06-19 = 12 30 00

Activity

  1. added
    Needs-Triage
    on Jun 19, 2024
  2. RicardoGEsteves commented on Jun 19, 2024

    @RicardoGEsteves

    Was about to create this issue to.

    powershell-issue

  3. rhubarb-geek-nz commented on Jun 24, 2024

    @rhubarb-geek-nz

    I suggest the package manifest for PowerShell in WinGet should automatically define POWERSHELL_UPDATECHECK=Off when installed. Then leave it to WinGet to do the update when it is ready and avoid the pointless nagging message.

  4. Flameancer commented on Jun 30, 2024

    @Flameancer

    Hello I seem to have a similar issue. Albeit with mine, winget does say there is a new powershell update, but it fails to actually perform the updating.

    Prompt from Powershell stating there's an Update
    image

    Winget update shows that there is a new version of PowerShell available. v7.4.3.0 and the source is Winget:
    image

    Winget fails to update Powershell citing No installed package found matching input criteria. and even fails when you specify the version number.
    image

  5. StevenBucher98 commented on Jul 8, 2024

    @StevenBucher98
    Collaborator

    I am able to find 7.4.3 published to winget, closing as resolved

  6. added
    Resolution-Fixed
    and removed
    Needs-Triage
    on Jul 8, 2024
  7. jhribal commented on Jul 9, 2024

    @jhribal

    I am able to find 7.4.3 published to winget, closing as resolved

    Yes you can find it published on winget. The problem is the upgrade.

    1. Here we can see i have installed previous version (7.4.2) of powershell.
    image
    2. Now i check whether new version of powershell is available and it shows that 7.4.3 is there.
    image
    3. I try to upgrade, but it shows i don't have powershell installed.
    image

    So what is this behavior? Did i something incorrect? (I don't think so).

  8. Flameancer commented on Jul 13, 2024

    @Flameancer

    Hello can this be reopened? This issue has not been fixed yet.
    image

  9. StevenBucher98 commented on Jul 18, 2024

    @StevenBucher98
    Collaborator

    How did you originally get 7.4.2? Upgrading seems to work just fine for me.

    image

  10. StevenBucher98 commented on Jul 22, 2024

    @StevenBucher98
    Collaborator

    Update this actually does not work, whenever I restart the latest version is not there.

  11. StevenBucher98 commented on Jul 23, 2024

    @StevenBucher98
    Collaborator

    7.4.3 update seems to be working again for me, seemingly no change to what I was doing...

  12. avernigora-clgx commented on Jul 23, 2024

    @avernigora-clgx

    no 7.4.4 is NOT available.

    winget list --id Microsoft.PowerShell
    
    Name             Id                   Version Source
    -----------------------------------------------------
    PowerShell 7-x64 Microsoft.PowerShell 7.4.3.0 winget
  13. mycloud1 commented on Aug 5, 2024

    @mycloud1

    I finally found a forum where others are reporting same this issue that to me for all intents and purposes clearly have a problem with this install/upgrade (to PowerShell version 7.4.4), via winget.

  14. StevenBucher98 commented on Aug 5, 2024

    @StevenBucher98
    Collaborator

    Andrey Vernigora (@avernigora-clgx) 7.4.4 should be available now, there may be a day or two delay after GH releases are published to get the correct WinGet packages available. Please let me know if you are having any issues with upgrading it.

    mycloud1 can you please elaborate on the issues you are hitting? Please give details of your environment and reproduction steps, if it is easier please open up a new issue.

  15. mycloud1 commented on Aug 6, 2024

    @mycloud1

    Andrey Vernigora (@avernigora-clgx) 7.4.4 should be available now, there may be a day or two delay after GH releases are published to get the correct WinGet packages available. Please let me know if you are having any issues with upgrading it.

    mycloud1 can you please elaborate on the issues you are hitting? Please give details of your environment and reproduction steps, if it is easier please open up a new issue.

    Steven Bucher (@StevenBucher98) I was to reply say briefly that I run Windows 11 Pro 22H2 and done same that has been successful for me with PowerShell 7.4.2 (Two) and before to run script, (or variations of) winget install --id Microsoft.Powershell --source winget and wondering if because I didn't have Windows Feature Pack 23H2 if this might be the reason (have .NET 8.0.303), but just today this update looks as though it's going to apply to my computer through Windows Update, as opposed to me running a Winget command per Windows screenshot. Little bit odd behaviour, but ok - thanks for your reply. PS it isn't a big issue for me.

    Screenshot 2024-08-06 123406

  16. iCanHazConfetti commented on Aug 17, 2024

    @iCanHazConfetti
    Author

    the microsoft-github-policy-service bot asked "how did we do?"

    FEEDBACK :

    Since winget can not install the package via the Windows Package Manager (winget/WinGet/whatever), eg the PowerShell CLI :

    PS> winget upgrade --id Microsoft.PowerShell --version 7.4.4.0 --source winget ) via the Windows Package Manager (winget) Source Repository...

    I'd say this works "less-reliably-than-expected" as an end-user would "expect" the process to " just work", without error, and be 100% "stable/reliable"...

    I was hoping for an "it just works" User Experience. Got an update forced by Windows Update, however, now I don't know if the "mechanism" that was causing the issue upgrading via winget was actually fixed?

    Thank you for making it available in all of the "other" available formats it can be installed by, though.

    Thanks for all of the Troubleshooting Assistance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Resolution-Fixed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions