chocolatey / choco

Chocolatey - the package manager for Windows
https://chocolatey.org
Other
10.34k stars 903 forks source link

While installing many powershell instances started #2058

Open Eros opened 4 years ago

Eros commented 4 years ago

What You Are Seeing?

About 30-40 powershall instances being ran while installing one package

What is Expected?

Not to have this many running

How Did You Get This To Happen? (Steps to Reproduce)

ran the command choco install gradle agreed to everything it asked with Y

Output Log

George@GEORGE C:\Users\George $ choco install gradle Chocolatey v0.10.15 [Pending] Removing incomplete install for 'gradle' Chocolatey detected you are not running from an elevated command shell (cmd/powershell).

You may experience errors - many functions/packages require admin rights. Only advanced users should run choco w/out an elevated shell. When you open the command shell, you should ensure that you do so with "Run as Administrator" selected. If you are attempting to use Chocolatey in a non-administrator setting, you must select a different location other than the default install location. See https://chocolatey.org/install#non-administrative-install for details.

Do you want to continue?([Y]es/[N]o): y

Installing the following packages: gradle By installing you accept licenses for the packages.

gradle v6.3 [Approved] gradle package files install completed. Performing other installation steps. The package gradle wants to run 'chocolateyinstall.ps1'. Note: If you don't run this script, the installation will fail. Note: To confirm automatically next time, use '-y' or consider: choco feature enable -n allowGlobalConfirmation Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint): y

File appears to be downloaded already. Verifying with package checksum to determine if it needs to be redownloaded. Hashes match. Hashes match. Extracting C:\Users\George\AppData\Local\Temp\chocolatey\gradle\6.3\gradle-6.3-all.zip to C:\ProgramData\chocolatey\lib\gradle\tools...

PLACE LOG CONTENT HERE - WE NEED _ALL_ DETAILED OUTPUT BASED ON THE ABOVE TO BE ABLE TO PROVIDE SUPPORT (YOU WILL FIND THAT IN THE $env:ChocolateyInstall\logs\chocolatey.log between the `=====`)

Only log in the output specified above is from 25th December 2019, not today. Contains nothing on this issue

Eros commented 4 years ago

forgot to mention, video showing the issue through task manager here: https://twitter.com/RapidTheNerd/status/1266178834157703171

ferventcoder commented 4 years ago

This is the one I responded to online - weird that you don't have a recent log of this. It feels like something is going on in your environment that other folks are not seeing. I am curious if we can recreate this behavior. I see you are running from a Git Bash shell?

Eros commented 4 years ago

@ferventcoder yes, the terminal I'm using is from https://cmder.net/

ferventcoder commented 4 years ago

That will be helpful to see if it can be reproduced.