[BUG] Certain installs and updates fail with a "process with an Id of xxxx is not running" error #603
Comments
@kaiaie what version of posh do you have installed on Win2008? Also, we tweaked an issue with this in the current release (released a few hours ago - 0.9.8.28) - it's possible that you won't see the process id issues on the latest version. |
@ferventcoder both machines are running PowerShell 2.0 I upgraded chocolatey on the Win7 box to 0.9.8.28 and tried reinstalling xmlstarlet but got the same error. |
It looks like it is erroring on the line that tries to wait the process if it is still running (which has a try catch) but I think it might actually be something else. It's hard to say. |
What happens if you try to install the app without chocolatey in the equation on one of the failing systems? |
Installing the app without chocolatey is easy enough-- it's just a .zip file, no msi installer or anything (http://sourceforge.net/projects/xmlstar/files/). In other words, this is not a blocker for me, it's just odd that chocolatey fails for this one package on this one machine and works fine elsewhere... |
This is chocolatey-archive/chocolatey#603. Set the Error action preference to move on silently, then set it back to what it was. This will allow the process wait check to fail without any issues.
I believe I just fixed this - It will be testable in choco 0.9.9-rc8 and above. |
Seems that I am running into this issue with chocolatey 0.9.9.8
|
@cleung2010 I see how this may look like a similar issue but it doesn't appear to be. You may want to remove the try catch from around the chocolatey script so you get a better handle on where the error is occurring. It looks like something in the package itself. Also any issues with choco belong at https://github.com/chocolatey/choco/issues, not over here. Thanks! |
@ferventcoder the issue is not from the package, as it works perfectly on 0.9.8.27 which is before changes to |
@cleung2010 thanks, I will follow up over there. |
I am getting an intermittent error installing or updating certain Chocolatey packages on my Windows 7 machine. The same packages install fine on a Windows Server 2008 R2 machine. I have been unable to determine why some packages are affected and others are not. The error seems to occur when unzipping the downloaded file (possible race condition?)
Below is the output generated while attempting to install the xmlstarlet package; as noted above, this package installs fine on a Windows 2008 R2 server:
The text was updated successfully, but these errors were encountered: