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

Windows 2022 - Build - Unable to resolve dependency dotnet 3.5 and packer #9552

Closed
2 of 13 tasks
vamshisiram opened this issue Mar 25, 2024 · 7 comments
Closed
2 of 13 tasks

Comments

@vamshisiram
Copy link

Description

azure-arm.image: - wixtoolset - Unable to resolve dependency 'dotnet3.5'. Source(s) used: 'https://community.chocolatey.org/api/v2/'.
azure-arm.image: Running [#4]: choco install wixtoolset -y --force
azure-arm.image: Chocolatey v2.2.2
azure-arm.image: Installing the following packages:
azure-arm.image: wixtoolset
azure-arm.image: By installing, you accept licenses for the packages.
azure-arm.image: Unable to resolve dependency 'dotnet3.5'. Source(s) used: 'https://community.chocolatey.org/api/v2/'.
azure-arm.image:
azure-arm.image: Chocolatey installed 0/1 packages. 1 packages failed.
azure-arm.image: See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
azure-arm.image:
azure-arm.image: Failures
azure-arm.image: - wixtoolset - Unable to resolve dependency 'dotnet3.5'. Source(s) used: 'https://community.chocolatey.org/api/v2/'.

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • macOS 11
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

azure-arm.image: - wixtoolset - Unable to resolve dependency 'dotnet3.5'. Source(s) used: 'https://community.chocolatey.org/api/v2/'.
azure-arm.image: Running [#4]: choco install wixtoolset -y --force
azure-arm.image: Chocolatey v2.2.2
azure-arm.image: Installing the following packages:
azure-arm.image: wixtoolset
azure-arm.image: By installing, you accept licenses for the packages.
azure-arm.image: Unable to resolve dependency 'dotnet3.5'. Source(s) used: 'https://community.chocolatey.org/api/v2/'.
azure-arm.image:
azure-arm.image: Chocolatey installed 0/1 packages. 1 packages failed.
azure-arm.image: See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
azure-arm.image:
azure-arm.image: Failures
azure-arm.image: - wixtoolset - Unable to resolve dependency 'dotnet3.5'. Source(s) used: 'https://community.chocolatey.org/api/v2/'.

Is it regression?

No

Expected behavior

Expect image to be generated.

Actual behavior

azure-arm.image: - wixtoolset - Unable to resolve dependency 'dotnet3.5'. Source(s) used: 'https://community.chocolatey.org/api/v2/'.
azure-arm.image: Running [#4]: choco install wixtoolset -y --force
azure-arm.image: Chocolatey v2.2.2
azure-arm.image: Installing the following packages:
azure-arm.image: wixtoolset
azure-arm.image: By installing, you accept licenses for the packages.
azure-arm.image: Unable to resolve dependency 'dotnet3.5'. Source(s) used: 'https://community.chocolatey.org/api/v2/'.
azure-arm.image:
azure-arm.image: Chocolatey installed 0/1 packages. 1 packages failed.
azure-arm.image: See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
azure-arm.image:
azure-arm.image: Failures
azure-arm.image: - wixtoolset - Unable to resolve dependency 'dotnet3.5'. Source(s) used: 'https://community.chocolatey.org/api/v2/'.

Repro steps

Run the image generation script and it would fail as noted above.

@vamshisiram
Copy link
Author

HI All,

I downloaded code from two days ago and it failed similar error. Pls help this is stopping our builds for windows.

azure-arm.image: Running [#1]: choco install packer -y
azure-arm.image: Chocolatey v2.2.2
azure-arm.image: Installing the following packages:
azure-arm.image: packer
azure-arm.image: By installing, you accept licenses for the packages.
azure-arm.image: packer not installed. The package was not found with the source(s) listed.
azure-arm.image: Source(s): 'https://community.chocolatey.org/api/v2/'
azure-arm.image: NOTE: When you specify explicit sources, it overrides default sources.
azure-arm.image: If the package version is a prerelease and you didn't specify --pre,
azure-arm.image: the package may not be found.
azure-arm.image: Please see https://docs.chocolatey.org/en-us/troubleshooting for more
azure-arm.image: assistance.
azure-arm.image:
azure-arm.image: Chocolatey installed 0/1 packages. 1 packages failed.
azure-arm.image: See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
azure-arm.image:
azure-arm.image: Failures
azure-arm.image: - packer - packer not installed. The package was not found with the source(s) listed.
azure-arm.image: Source(s): 'https://community.chocolatey.org/api/v2/'
azure-arm.image: NOTE: When you specify explicit sources, it overrides default sources.
azure-arm.image: If the package version is a prerelease and you didn't specify --pre,
azure-arm.image: the package may not be found.
azure-arm.image: Please see https://docs.chocolatey.org/en-us/troubleshooting for more
azure-arm.image: assistance.

@vamshisiram vamshisiram changed the title Unable to resolve dependency dotnet 3.5 Windows 2022 - Build - Unable to resolve dependency dotnet 3.5 Mar 25, 2024
@vamshisiram vamshisiram changed the title Windows 2022 - Build - Unable to resolve dependency dotnet 3.5 Windows 2022 - Build - Unable to resolve dependency dotnet 3.5 and packer Mar 25, 2024
@vamshisiram
Copy link
Author

I even tried downloading code from five days ago https://github.com/actions/runner-images/tree/65efa8ca2d33fb499f6fa36f5dc16f43b4c2ee63 and i am now getting this error reported here but i am using windows 2022 : #9553

So, four attempts with last four commits and all fail with different errors. Hope that someone can help resolve one of these.

@sergei-pyshnoi
Copy link
Contributor

Hello @vamshisiram . Looks like problem was on 'choco' side. That's why checkout previous commits didnt helps. I tried to run manually on local machine choco install wixtoolsetand installation finished successfully. Please, checkout latest commit frommain` branch and try again.

I am closing issue for now but if you have additional questions feel free to ask.

@vamshisiram
Copy link
Author

vamshisiram commented Mar 25, 2024 via email

@mikhailkoliada
Copy link
Member

hey, the error you see is not really connected with the state of the repo, but rather state of choco package manager itself, so while we always encourage using the latest commit from main, if this specific problem is there the commit won't change this situation

@vamshisiram
Copy link
Author

vamshisiram commented Mar 25, 2024 via email

@vamshisiram
Copy link
Author

vamshisiram commented Mar 25, 2024

@mikhailkoliada the latest from main branch still fails with same error. So, you are saying that the CDN for chocolatey is having issues and we just have to try again until it succeeds, is that the right way to put this? please let me know.

azure-arm.image: Chocolatey installed 0/1 packages. 1 packages failed.
azure-arm.image: See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
azure-arm.image:
azure-arm.image: Failures
azure-arm.image: - packer - packer not installed. The package was not found with the source(s) listed.
azure-arm.image: Source(s): 'https://community.chocolatey.org/api/v2/'
azure-arm.image: NOTE: When you specify explicit sources, it overrides default sources.
azure-arm.image: If the package version is a prerelease and you didn't specify --pre,
azure-arm.image: the package may not be found.
azure-arm.image: Please see https://docs.chocolatey.org/en-us/troubleshooting for more
azure-arm.image: assistance.
azure-arm.image:
azure-arm.image: Did you know the proceeds of Pro (and some proceeds from other
azure-arm.image: licensed editions) go into bettering the community infrastructure?
azure-arm.image: Your support ensures an active community, keeps Chocolatey tip-top,
azure-arm.image: plus it nets you some awesome features!
azure-arm.image: https://chocolatey.org/compare
azure-arm.image: Could not install packer after 5 attempt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants