Module 'Powershell.Chunks' cannot be downloaded since cdn migration
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- powershell
- 领域
- backend
调研方向
Start by reproducing the reported Find-Module and Save-Module failure with PowerShell 7.4.4 on Windows, then trace how package downloads and hash verification work after the CDN migration. The issue names no repository files or tests, so locate the relevant download path and its existing tests. Done means the module downloads and installs successfully with a matching package hash.
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- PowerShell
- 星标
- 289
- 派生
- 83
- 平均合并
- 1 分钟
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
PowerShell/PowerShellGallery 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 38/100
PowerShell/PowerShellGallery#357 · 3 条评论 · 4 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 48/100
PowerShell/PowerShellGallery#355 ·
-
难度 4/5 3-5 天 新手友好度 31/100
PowerShell/PowerShellGallery#354 · 1 条评论 · 3 个 reaction ·
-
难度 5/5 一周以上 新手友好度 35/100
PowerShell/PowerShellGallery#353 · 5 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 48/100
PowerShell/PowerShellGallery#350 · 7 条评论 · 8 个 reaction ·
查看 PowerShell/PowerShellGallery 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 80/100
OrchardCMS/OrchardCore#20192 ·
维护者通常 1 天内回复
-
0. Needs triage 35-feedback bug
难度 1/5 1 小时以内 新手友好度 62/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
getgrav/grav-plugin-api#74 ·
-
Substrait consumer doesn't recognise `shift_left` / `shift_right` from functions_arithmetic.yaml未关闭bug
难度 2/5 1-3 小时 新手友好度 76/100
apache/datafusion#27059 ·
维护者通常 1 天内回复
-
bug
难度 1/5 1 小时以内 新手友好度 85/100
PostHog/posthog#128636 · 1 条评论 ·
维护者通常 1 天内回复