bcurran3 / ChocolateyPackages

My published Chocolatey packages
206 stars 94 forks source link

chcolatey failed to install irfanview #334

Closed Troop666 closed 1 year ago

Troop666 commented 1 year ago

There is a problem with IfranView at the moment. It downloads files but move it to lib-bad shortly after.

2023-07-14 12:35:21,022 8072 [DEBUG] - ---------------------------Script Execution--------------------------- 2023-07-14 12:35:21,024 8072 [DEBUG] - Running 'ChocolateyScriptRunner' for IrfanView v4.62.0 with packageScript 'C:\ProgramData\chocolatey\lib\IrfanView\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\IrfanView', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '', 2023-07-14 12:35:21,028 8072 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\IrfanView\tools\chocolateyInstall.ps1' 2023-07-14 12:35:21,047 8072 [DEBUG] - Default values for package parameters: 0=off, 1=on 2023-07-14 12:35:21,048 8072 [DEBUG] - No package parameters passed in 2023-07-14 12:35:21,053 8072 [DEBUG] - Silent arguments Chocolatey will use are: /silent /desktop=0 /thumbs=0 /group=1 /allusers=1 /assoc=1 /ini=%APPDATA%\IrfanView 2023-07-14 12:35:21,083 8072 [DEBUG] - Running Install-ChocolateyInstallPackage -silentArgs '/silent /desktop=0 /thumbs=0 /group=1 /allusers=1 /assoc=1 /ini=%APPDATA%\IrfanView' -file 'C:\ProgramData\chocolatey\lib\IrfanView\tools\iview4620_setup.exe' -file64 'C:\ProgramData\chocolatey\lib\IrfanView\tools\iview4620_x64_setup.exe' -fileType 'EXE' -validExitCodes '0' -packageName 'irfanview' 2023-07-14 12:35:21,087 8072 [DEBUG] - Running Get-OSArchitectureWidth -compare '32' 2023-07-14 12:35:21,096 8072 [INFO ] - Installing 64-bit irfanview... 2023-07-14 12:35:21,154 8072 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0' -workingDirectory 'C:\ProgramData\chocolatey\lib\IrfanView\tools' -statements '/silent /desktop=0 /thumbs=0 /group=1 /allusers=1 /assoc=1 /ini=%APPDATA%\IrfanView ' -exeToRun 'C:\ProgramData\chocolatey\lib\IrfanView\tools\iview4620_x64_setup.exe' 2023-07-14 12:35:21,170 8072 [DEBUG] - Test-ProcessAdminRights: returning True 2023-07-14 12:35:21,175 8072 [DEBUG] - Elevating permissions and running ["C:\ProgramData\chocolatey\lib\IrfanView\tools\iview4620_x64_setup.exe" /silent /desktop=0 /thumbs=0 /group=1 /allusers=1 /assoc=1 /ini=%APPDATA%\IrfanView ]. This may take a while, depending on the statements. 2023-07-14 12:35:21,178 8072 [WARN ] - WARNING: May not be able to find 'C:\ProgramData\chocolatey\lib\IrfanView\tools\iview4620_x64_setup.exe'. Please use full path for executables. 2023-07-14 12:35:21,217 8072 [ERROR] - ERROR: Exception calling "Start" with "0" argument(s): "The system cannot find the file specified" 2023-07-14 12:35:21,234 8072 [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\IrfanView\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '-1'. 2023-07-14 12:35:21,235 8072 [DEBUG] - Calling command ['"C:\WINDOWS\System32\shutdown.exe" /a'] 2023-07-14 12:35:21,253 8072 [DEBUG] - Command ['"C:\WINDOWS\System32\shutdown.exe" /a'] exited with '1116' 2023-07-14 12:35:21,297 8072 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\IrfanView' 2023-07-14 12:35:21,309 8072 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\IrfanView\irfanview.nupkg' with checksum '39202ED5A21B3D11EC9867C3925CC04A' 2023-07-14 12:35:21,310 8072 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\IrfanView\irfanview.nuspec' with checksum '040379D60E7D1A788806892842FFAFFE' 2023-07-14 12:35:21,310 8072 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\IrfanView\tools\chocolateyInstall.ps1' with checksum '9FE51C411BDAABE98FC1665E6642BA74' 2023-07-14 12:35:21,310 8072 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\IrfanView\tools\chocolateyUninstall.ps1' with checksum '37F9BE9F26602E36F11D33714D4E5A2F' 2023-07-14 12:35:21,311 8072 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\IrfanView\tools\iview4620_x64_setup.exe.ignore' with checksum 'BEA07E6D2B8DCE396FE21BAA61B34956' 2023-07-14 12:35:21,317 8072 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\IrfanView\tools\iview462_setup.exe' with checksum '845E99DBE5BCB199AD170346999843C9' 2023-07-14 12:35:21,324 8072 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\IrfanView\tools\iview462_x64_setup.exe' with checksum 'D3CC699BD13E8257109DF8704ED4804C' 2023-07-14 12:35:21,325 8072 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\IrfanView\tools\LICENSE.txt' with checksum 'C30DFF618A6F3C0E882B3624A2AA44C8' 2023-07-14 12:35:21,325 8072 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\IrfanView\tools\VERIFICATION.txt' with checksum '8C13B69CB1C0350D7A90D510062724BA' 2023-07-14 12:35:21,332 8072 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey.chocolatey\irfanview.4.62.0.arguments". 2023-07-14 12:35:21,332 8072 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey.chocolatey\irfanview.4.62.0.extra". 2023-07-14 12:35:21,333 8072 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey.chocolatey\irfanview.4.62.0.version". 2023-07-14 12:35:21,333 8072 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey.chocolatey\irfanview.4.62.0.sxs". 2023-07-14 12:35:21,333 8072 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey.chocolatey\irfanview.4.62.0.pin". 2023-07-14 12:35:21,335 8072 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\IrfanView". 2023-07-14 12:35:21,339 8072 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers... 2023-07-14 12:35:21,339 8072 [ERROR] - The install of irfanview was NOT successful. 2023-07-14 12:35:21,341 8072 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\IrfanView\tools\chocolateyInstall.ps1'. See log for details. 2023-07-14 12:35:21,343 8072 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad\irfanview". 2023-07-14 12:35:21,344 8072 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\IrfanView to C:\ProgramData\chocolatey\lib-bad\irfanview\4.62.0 2023-07-14 12:35:21,345 8072 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\IrfanView' to 'C:\ProgramData\chocolatey\lib-bad\irfanview\4.62.0' 2023-07-14 12:35:23,366 8072 [WARN ] - Chocolatey installed 0/1 packages. 1 packages failed.

bcurran3 commented 1 year ago

This is because of Chocolatey v2's version normalization. Package was updated but is stuck in moderation hell.

https://community.chocolatey.org/packages/IrfanView/4.62.0.20230706

Troop666 commented 1 year ago

So, what does actually moderation hell mean? I see that all 3 checks are passed. You as the maintainer couldn't do anything about it? Is there a way for users like me to report it to choco moderation team?

bcurran3 commented 1 year ago

The packages need to be moderated by human volunteers. (Why these though I don't understand as these have been "trusted" which means they do NOT need human moderators to pass them and get published automatically after passing all the automated validating and testing.) The volunteers moderate when they feel like it on a constant big list of packages. So I have no control over when they get approved.

Here's a little about it you can read with interaction from one of the Chocolatey team. https://www.reddit.com/r/chocolatey/comments/t8rwgc/how_long_should_package_moderation_usually_take/

Tthere are many other "Why does moderation take so long?" or "Moderation is backed up" type posts in the Google groups discussions as well.

bcurran3 commented 1 year ago

FYI: There's no need to wait, you can install using: choco install irfanview --version=4.62.0.20230706

Troop666 commented 1 year ago

Thanks for explanation!

bcurran3 commented 1 year ago

image