Forum Discussion

dsantunes's avatar
dsantunes
Copper Contributor
Jul 23, 2025

‌Install-Package - failed to be installed: End of Central Directory record could not be found.

Hi all,

Since last week I've had multiple errors in my pipelines when trying to install NuGet packages:

Install-Package -Name Microsoft.PowerBi.Api -Source MyNuGet -ProviderName NuGet -Scope CurrentUser -RequiredVersion 3.18.1 -SkipDependencies

This seems to be affecting multiple packages:

‌Install-Package : ‌Package Newtonsoft.Json failed to be installed because: End of Central Directory record could not be found.

Install-Package : ‌Package Microsoft.Rest.ClientRuntime failed to be installed because: End of Central Directory record could not be found.‌

Install-Package : ‌Package Microsoft.PowerBI.Api failed to be installed because: End of Central Directory record could not be found.‌

When downloading the package I don't see any errors using nuget verify.

 

I get these errors in microsoft hosted agents in ADO pipelines, on my laptop, or any VM I use. Doesn't seem to be related to PS or OS version or any proxies/firewalls.

 

Any ideas?


Thank you

No RepliesBe the first to reply

Resources