Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian/Ubuntu at packages.microsoft.com not updated for 7.4.2 release #21493

Open
5 tasks done
J0F3 opened this issue Apr 17, 2024 · 4 comments
Open
5 tasks done

Debian/Ubuntu at packages.microsoft.com not updated for 7.4.2 release #21493

J0F3 opened this issue Apr 17, 2024 · 4 comments
Labels
Needs-Triage The issue is new and needs to be triaged by a work group. Review - Maintainer The PR/issue needs a review from the PowerShell repo Maintainers

Comments

@J0F3
Copy link

J0F3 commented Apr 17, 2024

Prerequisites

Steps to reproduce

Version 7.4.2 can not be installed installed on Ubuntu 20.04 and 22.04 through the official Microsoft Repo (packages.microsoft.com)

It seems that the deb packages for 7.4.2 are not get pushed to the repo because at https://packages.microsoft.com/ubuntu/20.04/prod/pool/main/p/powershell/ and https://packages.microsoft.com/ubuntu/22.04/prod/pool/main/p/powershell/ is 7.4.1 still the latest version.

It seems also to be the same for Debian packages.

Please update the repos because this currently prevents users to update to the latest LTS PowerShell version.

Thx!

Expected behavior

`apt-get update` should update powershell to version 7.4.2

Actual behavior

`apt-get update` finds no update for powershell.
Explicit installation of 7.4.2 with `apt-get install powershell=7.4.2-1.deb` fails because the package can not be found.

Error details

No response

Environment data

not relevant

Visuals

No response

@J0F3 J0F3 added the Needs-Triage The issue is new and needs to be triaged by a work group. label Apr 17, 2024
@juvtib
Copy link

juvtib commented Apr 22, 2024

Hi Jonas,

I don't have any information about the .DEB. But, I want to add to your issue that the snap is also out-of-date. This is a common issue on Linux. The latest version of PowerShell was released on April 11, but we're still waiting for updates on officially supported platforms.

Regards,

$PSVersionTable         

Name                           Value
----                           -----
PSVersion                      7.4.1
PSEdition                      Core
GitCommitId                    7.4.1
OS                             openSUSE Tumbleweed
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0


snap refresh --list     

All snaps up to date.


snap list powershell    

Name        Version  Rev  Tracking       Publisher              Notes
powershell  7.4.1    264  latest/stable  microsoft-powershell✓  classic

See Also

@kilasuit kilasuit added the Review - Maintainer The PR/issue needs a review from the PowerShell repo Maintainers label Apr 22, 2024
@robamoroso
Copy link

I'd like to add that since the latest version of powershell available in the official apt repo is 7.4.1 it takes a long time to start up because it checks for the new version and displays a message. This happened on a previous update as well and was resolved when the new version was available and the update message wasn't being displayed. Additionally, because powershell takes so long to start due to the update check, it also causes VS Code to fail to load the powershell module because it times out before pwsh finished loading. I'm running Ubuntu 22.04 at present.

@juvtib
Copy link

juvtib commented Apr 28, 2024

it takes a long time to start up because it checks for the new version and displays a message.

If you'd like, you can add an export command to the bottom of ~/.profile and then log back in.

# PowerShell Update Setting
export POWERSHELL_UPDATECHECK=Off

@matsest
Copy link

matsest commented May 2, 2024

Still not updated. As this is an officially supported installation method it's sad to see that this is not kept updated along with the pwsh releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs-Triage The issue is new and needs to be triaged by a work group. Review - Maintainer The PR/issue needs a review from the PowerShell repo Maintainers
Projects
None yet
Development

No branches or pull requests

5 participants