Skip to content

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

Open
@thedome-onair

Description

@thedome-onair

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions