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

[Powertoys] as a dependency will not install #204

Open
lin-ycv opened this issue Sep 2, 2023 · 0 comments
Open

[Powertoys] as a dependency will not install #204

lin-ycv opened this issue Sep 2, 2023 · 0 comments

Comments

@lin-ycv
Copy link

lin-ycv commented Sep 2, 2023

Expected Behavior

My chocolatey package listed powertoys as a dependency, so i expected Powertoys to install

Current Behavior

2023-09-02 05:26:03,381 4976 [INFO ] - Installing powertoys...
2023-09-02 05:26:03,397 4976 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 1641 3010' -workingDirectory 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\powertoys\0.73.0' -statements '-silent ' -exeToRun 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\powertoys\0.73.0\PowerToysSetup-0.73.0-x64.exe' 
2023-09-02 05:26:03,428 4976 [DEBUG] - Test-ProcessAdminRights: returning True
2023-09-02 05:26:03,459 4976 [DEBUG] - Elevating permissions and running ["C:\Users\vagrant\AppData\Local\Temp\chocolatey\powertoys\0.73.0\PowerToysSetup-0.73.0-x64.exe" -silent ]. This may take a while, depending on the statements.
2023-09-02 05:26:06,742 4976 [DEBUG] - Command ["C:\Users\vagrant\AppData\Local\Temp\chocolatey\powertoys\0.73.0\PowerToysSetup-0.73.0-x64.exe" -silent ] exited with '1'.
2023-09-02 05:26:06,929 4976 [ERROR] - ERROR: Running ["C:\Users\vagrant\AppData\Local\Temp\chocolatey\powertoys\0.73.0\PowerToysSetup-0.73.0-x64.exe" -silent ] was not successful. Exit code was '1'. See log for possible error messages.
 at Start-ChocolateyProcessAsAdmin, C:\ProgramData\chocolatey\helpers\functions\Start-ChocolateyProcessAsAdmin.ps1: line 379
at Install-ChocolateyInstallPackage, C:\ProgramData\chocolatey\helpers\functions\Install-ChocolateyInstallPackage.ps1: line 367
at Install-ChocolateyPackage, C:\ProgramData\chocolatey\helpers\functions\Install-ChocolateyPackage.ps1: line 423
at <ScriptBlock>, C:\ProgramData\chocolatey\lib\powertoys\tools\chocolateyinstall.ps1: line 29
at <ScriptBlock>, C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1: line 63
at <ScriptBlock>, <No file>: line 1
2023-09-02 05:26:06,975 4976 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = '';[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::SystemDefault; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\powertoys\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '1'.
2023-09-02 05:26:06,990 4976 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2023-09-02 05:26:07,631 4976 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2023-09-02 05:26:07,695 4976 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\powertoys'
2023-09-02 05:26:07,709 4976 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\powertoys\powertoys.nupkg'
  with checksum '8E56C4D6E5F6F967BB31FE7D5EBB600A'
2023-09-02 05:26:07,709 4976 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\powertoys\powertoys.nuspec'
  with checksum '1E8B4F83CFC1EF3CA7D135D921E519C9'
2023-09-02 05:26:07,725 4976 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\powertoys\tools\chocolateyinstall.ps1'
  with checksum '040F6B57CDF852E46F04B6724F911DB6'
2023-09-02 05:26:07,740 4976 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\powertoys.0.73.0".
2023-09-02 05:26:07,850 4976 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\powertoys.0.73.0\.files'
2023-09-02 05:26:07,865 4976 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\powertoys.0.73.0\.arguments".
2023-09-02 05:26:07,865 4976 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\powertoys.0.73.0\.extra".
2023-09-02 05:26:07,882 4976 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\powertoys.0.73.0\.version".
2023-09-02 05:26:07,897 4976 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\powertoys.0.73.0\.sxs".
2023-09-02 05:26:07,914 4976 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\powertoys.0.73.0\.pin".
2023-09-02 05:26:08,023 4976 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2023-09-02 05:26:08,023 4976 [ERROR] - The install of powertoys was NOT successful.

https://gist.github.com/choco-bot/bba6276014ca3548a3d3a158cc48f86d#file-install-txt-L2782

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

1 participant