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

(microsoft-vclibs-140-00) This package conflicts with vcredist140 and seems to be the same #228

Closed
2 tasks done
isaacchua opened this issue Jun 29, 2024 · 5 comments
Closed
2 tasks done
Labels
enhancement An enhancement to the package functionality. pending closure Will be closed soon. stale No response so unable to proceed. waiting on user Waiting on a response from the original poster.

Comments

@isaacchua
Copy link

Checklist

  • I have checked for similar opened and closed issues.
  • The issue title is in the format (<PACKAGENAME>) <ISSUE SUMMARY>.

Chocolatey Version

2.3.0

Chocolatey License

None

Package Version

14.0.33321

Current Behaviour

Certain packages need vcredist140 such as python, while other packages like winget requires microsoft-vclibs-140-00. However, if the current version of vcredist140 (14.40.33810) is already installed, microsoft-vclibs-140-00 fails because the VC libraries in it are older (14.0.33321).

Expected Behaviour

microsoft-vclibs-140-00 should be at version parity with vcredist140, or otherwise merged.

Steps To Reproduce

  1. Ensure no VC 14 libraries are installed.
  2. Install vcredist140 with Chocolatey.
  3. Attempt to install microsoft-vclibs-140-00.

Environment

- Operating System: Microsoft Windows NT 10.0.22621.0
- PowerShell Version: 5.1.22621.3672
- Shell: PowerShell

Chocolatey Log

2024-06-29 11:43:09,463 61776 [DEBUG] - Running Get-ChocolateyWebFile -checksumType 'SHA256' -url 'https://aka.ms/Microsoft.VCLibs.x86.14.00.Desktop.appx' -packageName 'microsoft-vclibs-140-00' -fileFullPath 'C:\ProgramData\chocolatey\lib\microsoft-vclibs-140-00\tools\Microsoft.VCLibs.x86.14.00.Desktop.appx' -checksum 'a7fb9d76e07b36d868179eb53ffd13740c25242176fa363f154798cf34edd4a9' 
2024-06-29 11:43:09,474 61776 [DEBUG] - Running Get-OSArchitectureWidth -compare '64' 
2024-06-29 11:43:09,481 61776 [DEBUG] - CPU is 64 bit
2024-06-29 11:43:09,514 61776 [DEBUG] - Running Get-WebHeaders -url 'https://aka.ms/Microsoft.VCLibs.x86.14.00.Desktop.appx' -ErrorAction 'Stop' 
2024-06-29 11:43:09,540 61776 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2024-06-29 11:43:09,542 61776 [DEBUG] - Request Headers:
2024-06-29 11:43:09,545 61776 [DEBUG] -   'Accept':'*/*'
2024-06-29 11:43:09,546 61776 [DEBUG] -   'User-Agent':'chocolatey command line'
2024-06-29 11:43:09,743 61776 [DEBUG] - Response Headers:
2024-06-29 11:43:09,747 61776 [DEBUG] -   'X-Ms-ApiVersion':'Distribute 1.2'
2024-06-29 11:43:09,747 61776 [DEBUG] -   'X-Ms-Region':'prod-eus2-z1'
2024-06-29 11:43:09,747 61776 [DEBUG] -   'Content-Disposition':'attachment; filename=Microsoft.VCLibs.x86.14.00.Desktop.appx; filename*=UTF-8''Microsoft.VCLibs.x86.14.00.Desktop.appx'
2024-06-29 11:43:09,748 61776 [DEBUG] -   'Connection':'keep-alive'
2024-06-29 11:43:09,748 61776 [DEBUG] -   'Accept-Ranges':'bytes'
2024-06-29 11:43:09,749 61776 [DEBUG] -   'Content-Length':'6067364'
2024-06-29 11:43:09,749 61776 [DEBUG] -   'Content-Type':'application/octet-stream'
2024-06-29 11:43:09,749 61776 [DEBUG] -   'Date':'Sat, 29 Jun 2024 15:43:10 GMT'
2024-06-29 11:43:09,751 61776 [DEBUG] -   'ETag':'"0x8DC1DD4A65DBBC3"'
2024-06-29 11:43:09,751 61776 [DEBUG] -   'Last-Modified':'Thu, 25 Jan 2024 18:37:14 GMT'
2024-06-29 11:43:09,751 61776 [DEBUG] -   'Server':'Kestrel'
2024-06-29 11:43:09,762 61776 [INFO ] - Downloading microsoft-vclibs-140-00 
  from 'https://aka.ms/Microsoft.VCLibs.x86.14.00.Desktop.appx'
2024-06-29 11:43:09,774 61776 [DEBUG] - Running Get-WebFile -url 'https://aka.ms/Microsoft.VCLibs.x86.14.00.Desktop.appx' -fileName 'C:\ProgramData\chocolatey\lib\microsoft-vclibs-140-00\tools\Microsoft.VCLibs.x86.14.00.Desktop.appx' -options 'System.Collections.Hashtable' 
2024-06-29 11:43:09,779 61776 [DEBUG] - Setting request timeout to  30000
2024-06-29 11:43:09,779 61776 [DEBUG] - Setting read/write timeout to  2700000
2024-06-29 11:43:09,780 61776 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2024-06-29 11:43:09,930 61776 [DEBUG] - Downloading https://aka.ms/Microsoft.VCLibs.x86.14.00.Desktop.appx to C:\ProgramData\chocolatey\lib\microsoft-vclibs-140-00\tools\Microsoft.VCLibs.x86.14.00.Desktop.appx
2024-06-29 11:43:10,137 61776 [INFO ] - 
2024-06-29 11:43:10,141 61776 [INFO ] - Download of Microsoft.VCLibs.x86.14.00.Desktop.appx (5.79 MB) completed.
2024-06-29 11:43:13,165 61776 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
2024-06-29 11:43:13,167 61776 [DEBUG] - Verifying package provided checksum of 'a7fb9d76e07b36d868179eb53ffd13740c25242176fa363f154798cf34edd4a9' for 'C:\ProgramData\chocolatey\lib\microsoft-vclibs-140-00\tools\Microsoft.VCLibs.x86.14.00.Desktop.appx'.
2024-06-29 11:43:13,172 61776 [DEBUG] - Running Get-ChecksumValid -file 'C:\ProgramData\chocolatey\lib\microsoft-vclibs-140-00\tools\Microsoft.VCLibs.x86.14.00.Desktop.appx' -checksum 'a7fb9d76e07b36d868179eb53ffd13740c25242176fa363f154798cf34edd4a9' -checksumType 'SHA256' -originalUrl 'https://aka.ms/Microsoft.VCLibs.x86.14.00.Desktop.appx' 
2024-06-29 11:43:13,174 61776 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
2024-06-29 11:43:13,186 61776 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="a7fb9d76e07b36d868179eb53ffd13740c25242176fa363f154798cf34edd4a9" -t="SHA256" -f="C:\ProgramData\chocolatey\lib\microsoft-vclibs-140-00\tools\Microsoft.VCLibs.x86.14.00.Desktop.appx"]
2024-06-29 11:43:13,447 61776 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="a7fb9d76e07b36d868179eb53ffd13740c25242176fa363f154798cf34edd4a9" -t="SHA256" -f="C:\ProgramData\chocolatey\lib\microsoft-vclibs-140-00\tools\Microsoft.VCLibs.x86.14.00.Desktop.appx"] exited with '0'.
2024-06-29 11:43:13,448 61776 [INFO ] - C:\ProgramData\chocolatey\lib\microsoft-vclibs-140-00\tools\Microsoft.VCLibs.x86.14.00.Desktop.appx
2024-06-29 11:43:18,886 61776 [ERROR] - ERROR: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: Deployment failed with HRESULT: 0x80073D06, The package could not be installed because a higher version of this package is already installed.

Windows cannot install package Microsoft.VCLibs.140.00.UWPDesktop_14.0.33321.0_x86__8wekyb3d8bbwe because it has version 14.0.33321.0. A higher version 14.0.33728.0 of this package is already installed.

NOTE: For additional information, look for [ActivityId] 4559cbbe-c392-0000-f7f6-9c4a92c3da01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 4559cbbe-c392-0000-f7f6-9c4a92c3da01

2024-06-29 11:43:18,893 61776 [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\microsoft-vclibs-140-00\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '-1'.
2024-06-29 11:43:18,897 61776 [DEBUG] - Calling command ['"C:\WINDOWS\System32\shutdown.exe" /a']
2024-06-29 11:43:18,936 61776 [DEBUG] - Command ['"C:\WINDOWS\System32\shutdown.exe" /a'] exited with '1116'
2024-06-29 11:43:19,008 61776 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\microsoft-vclibs-140-00'
2024-06-29 11:43:19,011 61776 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\microsoft-vclibs-140-00\microsoft-vclibs-140-00.nupkg'
  with checksum 'F938060D0040F714B589292C72BB0BB2'
2024-06-29 11:43:19,013 61776 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\microsoft-vclibs-140-00\microsoft-vclibs-140-00.nuspec'
  with checksum '9DD51A0EA27F908BA0AD2DDAE326B9D6'
2024-06-29 11:43:19,016 61776 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\microsoft-vclibs-140-00\tools\chocolateyInstall.ps1'
  with checksum '88A76173F3BA03BE5F1107A2D62F8C31'
2024-06-29 11:43:19,018 61776 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\microsoft-vclibs-140-00\tools\chocolateyUninstall.ps1'
  with checksum 'B60687BD97F140CA695FD66998CD69BE'
2024-06-29 11:43:19,019 61776 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\microsoft-vclibs-140-00\tools\microsoft-vclibs-140-00-helpers.ps1'
  with checksum '999DB30085D4AA6B79283E43274F3D7E'
2024-06-29 11:43:19,036 61776 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\microsoft-vclibs-140-00\tools\Microsoft.VCLibs.x86.14.00.Desktop.appx'
  with checksum '1D31EBF1B088B6A41BAE6F1CB9C04456'
2024-06-29 11:43:19,050 61776 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\microsoft-vclibs-140-00.14.0.33321\.arguments".
2024-06-29 11:43:19,051 61776 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\microsoft-vclibs-140-00.14.0.33321\.extra".
2024-06-29 11:43:19,052 61776 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\microsoft-vclibs-140-00.14.0.33321\.version".
2024-06-29 11:43:19,052 61776 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\microsoft-vclibs-140-00.14.0.33321\.sxs".
2024-06-29 11:43:19,053 61776 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\microsoft-vclibs-140-00.14.0.33321\.pin".
2024-06-29 11:43:19,053 61776 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\microsoft-vclibs-140-00.14.0.33321\.deploymentLocation".
2024-06-29 11:43:19,057 61776 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bad\microsoft-vclibs-140-00".
2024-06-29 11:43:19,063 61776 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2024-06-29 11:43:19,064 61776 [ERROR] - The install of microsoft-vclibs-140-00 was NOT successful.
2024-06-29 11:43:19,066 61776 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\microsoft-vclibs-140-00\tools\chocolateyInstall.ps1'.
 See log for details.
2024-06-29 11:43:19,069 61776 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bad\microsoft-vclibs-140-00".
2024-06-29 11:43:19,070 61776 [DEBUG] - Moving C:\ProgramData\chocolatey\lib\microsoft-vclibs-140-00 to C:\ProgramData\chocolatey\lib-bad\microsoft-vclibs-140-00\14.0.33321
2024-06-29 11:43:19,071 61776 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\microsoft-vclibs-140-00'
 to 'C:\ProgramData\chocolatey\lib-bad\microsoft-vclibs-140-00\14.0.33321'
2024-06-29 11:43:21,086 61776 [WARN ] - 
Chocolatey installed 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Anything else?

No response

Copy link

Thanks for raising this issue!

The packages within this repository are maintained in my spare time. My spare time, like yours is important. Please help me not to waste it.

To help me, and to have the issue resolved more quickly, please see CONTRIBUTING for how to raise a pull request to resolve the issue yourself.

Thank you.

@pauby pauby added the enhancement An enhancement to the package functionality. label Jul 27, 2024
@pauby
Copy link
Owner

pauby commented Aug 31, 2024

So the Microsoft,VCLibs AppX package isn't installed by vcredist.

image

microsoft-vclibs-140-00 should be at version parity with vcredist140, or otherwise merged.

Both packages install different things so this wouldn't make sense.

@pauby
Copy link
Owner

pauby commented Aug 31, 2024

I just followed your Steps To Reproduce and I don't get any error:

image

Running Get-AppxPackage to find the Microsoft.VCLibs shows they are installed correctly.

image

So I believe you are running into another issue or the Steps To Reproduce are incorrect.

@pauby pauby added the waiting on user Waiting on a response from the original poster. label Aug 31, 2024
Copy link

github-actions bot commented Sep 8, 2024

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue will be closed in 14 days if it continues to be inactive.

@github-actions github-actions bot added the pending closure Will be closed soon. label Sep 8, 2024
Copy link

Dear contributor,

This issue has been automatically closed as it has been inactive for some time.

If you feel this is a valid issue, please feel free to re-open the issue if / when a pull request
has been added.

Thank you for your contribution.

@github-actions github-actions bot added the stale No response so unable to proceed. label Sep 15, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement to the package functionality. pending closure Will be closed soon. stale No response so unable to proceed. waiting on user Waiting on a response from the original poster.
Projects
None yet
Development

No branches or pull requests

2 participants