Skip to content

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

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

Open
3 tasks done
thedome-onair opened this issue Jan 15, 2025 · 0 comments
Open
3 tasks done

Comments

@thedome-onair
Copy link

thedome-onair commented Jan 15, 2025

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

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

No branches or pull requests

1 participant