PowerShellGallery icon indicating copy to clipboard operation
PowerShellGallery copied to clipboard

Module 'Powershell.Chunks' cannot be downloaded since cdn migration

Open thedome-onair opened this issue 11 months ago • 0 comments

Prerequisites

  • [x] Write a descriptive title.
  • [x] Make sure you are able to repro it on the latest version
  • [x] Search the existing issues.

Steps to reproduce

Unable to download the module 'Powershell.Chunks' from Powershell Gallery. This first appeared on Monday the 13th January of 2025. Tested on multiple machines and networks.

Find-Module -Name "Powershell.Chunks" -Verbose -ErrorAction Stop | Save-Module -Path "C:\Users\xxxxxx\Downloads\pschunks" -Verbose -ErrorAction Stop

Expected behavior

VERBOSE: Downloading 'https://www.powershellgallery.com/api/v2/package/Powershell.Chunks/1.0.0'.
VERBOSE: Completed downloading 'https://www.powershellgallery.com/api/v2/package/Powershell.Chunks/1.0.0'.
VERBOSE: Completed downloading 'Powershell.Chunks'.
VERBOSE: InstallPackageLocal' - name='Powershell.Chunks', version='1.0.0',destination='C:\Users\xxxxxx\Downloads\pschunks'
VERBOSE: Module 'Powershell.Chunks' was saved successfully to path 'C:\Users\xxxxxx\Downloads\pschunks\Powershell.Chunks\1.0.0'.

Actual behavior

VERBOSE: Downloading module 'Powershell.Chunks' with version '1.0.0' from the repository 'https://www.powershellgallery.com/api/v2'.
e/Powershell.Chunks/1.0.0'.
VERBOSE: Completed downloading 'https://www.powershellgallery.com/api/v2/package/Powershell.Chunks/1.0.0'.
VERBOSE: Completed downloading 'Powershell.Chunks'.
VERBOSE: Hash for package 'Powershell.Chunks' does not match hash provided from the server.
VERBOSE: InstallPackageLocal' - name='Powershell.Chunks', version='1.0.0',destination='C:\Users\xxxxxx\Downloads\pschunks'
WARNING: Package 'Powershell.Chunks' failed to be installed because: End of Central Directory record could not be found.
WARNING: Package 'Powershell.Chunks' failed to install.
Save-Package: Unable to save the module 'Powershell.Chunks'.

Error details


Environment data

Name                           Value
----                           -----
PSVersion                      7.4.4
PSEdition                      Core
GitCommitId                    7.4.4
OS                             Microsoft Windows 10.0.19045
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Version

not relevant

Visuals

No response

thedome-onair avatar Jan 15 '25 17:01 thedome-onair