question

ZajacPatrycja-7696 avatar image
0 Votes"
ZajacPatrycja-7696 asked kobulloc-MSFT edited

Artifacts failing to install with the following error on Azure VM - any suggestions?

Installing the following packages:
squirrel-sql-client
By installing you accept licenses for the packages.
Attempting to create directory "C:\ProgramData\chocolatey\chocolatey\lib".
Using 'https://chocolatey.org/api/v2/'.
Error retrieving packages from source 'https://chocolatey.org/api/v2/':
The underlying connection was closed: An unexpected error occurred on a send.
squirrel-sql-client not installed. The package was not found with the source(s) listed.
Source(s): 'https://chocolatey.org/api/v2/'
NOTE: When you specify explicit sources, it overrides default sources.
If the package version is a prerelease and you didn't specify --pre,
the package may not be found.
Please see https://chocolatey.org/docs/troubleshooting for more
assistance.

Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\chocolatey\logs\chocolatey.log).

Failures
- squirrel-sql-client - squirrel-sql-client not installed. The package was not found with the source(s) listed.
Source(s): 'https://chocolatey.org/api/v2/'
NOTE: When you specify explicit sources, it overrides default sources.
If the package version is a prerelease and you didn't specify --pre,
the package may not be found.
Please see https://chocolatey.org/docs/troubleshooting for more
assistance.
Sending message 'PostRunMessage' out if there are subscribers...
Exiting with 1

ERROR: Installation failed (1). Please see the Chocolatey logs in %ALLUSERSPROFILE%\chocolatey\logs folder for details.

The artifact failed to apply.

azure-dtl-artifacts
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@ZajacPatrycja-7696, are you seeing this consistently? We've had reports of intermittent Chocolately installs which I've been able to reproduce to a limited degree. Where are you getting your package from?

0 Votes 0 ·

Yes, I've been getting this error for several days now, been trying to troubleshoot myself but nothing is working. I have just been trying to install the artifact using azure portal

0 Votes 0 ·
kobulloc-MSFT avatar image kobulloc-MSFT ZajacPatrycja-7696 ·

@ZajacPatrycja-7696, I'm having trouble finding the Squirrel SQL client artifact. I don't see it in the default list and I don't see a Chocolatey package for it. Would you mind sharing a URL or screenshot to help me reproduce what you are seeing?

0 Votes 0 ·
Show more comments

1 Answer

kobulloc-MSFT avatar image
0 Votes"
kobulloc-MSFT answered kobulloc-MSFT edited

Hello, @ZajacPatrycja-7696!

I created a new lab and spun up some VMs this weekend and was able to reproduce an issue with the public artifact Visual Studio Code. I've reached out to the DevTest Labs product group and will update you as I learn more.

Edit: @ZajacPatrycja-7696, from our end we are seeing an intermittent issue. Are you able to get logs from an artifact failure (in the case of a Chocolatey artifact failure, the Chocolatey logs from the VM)?


133416-image.png




image.png (150.5 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.