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

Install-Module for various modules takes 10x-50x longer than expected #255

Open
3 tasks done
draganya opened this issue Jul 24, 2023 · 1 comment
Open
3 tasks done

Comments

@draganya
Copy link

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Steps to reproduce

Both on local machine and on Azure hosted devops pipelines, Install-Module -Name az and other modules takes 10 to 50 times longer than usually. Az module takes 50-60 minutes.

Expected behavior

Install-Module -Name AZ installed in 3-5 minutes.

Actual behavior

Install-Module -Name AZ hangs for > 40-50 minutes

Error details

no error, just hang

Environment data

Name                           Value
----                           -----
PSVersion                      5.1.22621.1778
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.22621.1778
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Version

5.1.22621.1778

Visuals

No response

@o-l-a-v
Copy link

o-l-a-v commented Mar 24, 2024

This is not a problem with the PowerShell Gallery, rather the logic used to install stuff from it. It can be done in parallel.

Add your vote to this issue instead:

Here are some examples proving install from PowerShell Gallery can be done much faster:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants