Receiving random Source Location is not valid while attempting to install-module AZ
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- powershell
- Lĩnh vực
- devops
Hướng nghiên cứu
Start by reproducing the failed Install-Module -Name Az -Repository PSGallery -Force -AllowClobber -Scope CurrentUser download and inspect the package source handling for https://www.powershellgallery.com/api/v2/package/Az.ResourceGraph/1.3.0. The report says failures affect different packages across PowerShell 5.1 and 7.6 on two networks, but it does not identify a code path or test. Done means identifying and fixing the cause so module installation succeeds.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest version
- Search the existing issues.
Steps to reproduce
I have been attempting to install the Az module for the past 2 days. Every attempt results in a different package erroring. For example,
WARNING: Source Location 'https://www.powershellgallery.com/api/v2/package/Az.ResourceGraph/1.3.0' is not valid.
PackageManagement\Install-Package : Package 'Az.ResourceGraph' failed to download.
The source location is valid. I have made sure that I am using TLS 1.2. I have attempted on Powershell 5.1 and 7.6. I have attempted on 2 separate machines located on completely separate networks. Once is Windows Server 2022 and the other is Windows 11. The Windows Server is an Azure VM. Same results but different packages error each time even after successive calls.
Install command is:
Install-Module -Name Az -Repository PSGallery -Force -AllowClobber -Scope CurrentUser
I have also marked the respository trusted.
Expected behavior
I expect the installation to be successful.
Actual behavior
For example:
WARNING: Source Location 'https://www.powershellgallery.com/api/v2/package/Az.ResourceGraph/1.3.0' is not valid.
PackageManagement\Install-Package : Package 'Az.ResourceGraph' failed to download.
Error details
WARNING: Source Location 'https://www.powershellgallery.com/api/v2/package/Az.ResourceGraph/1.3.0' is not valid.
PackageManagement\Install-Package : Package 'Az.ResourceGraph' failed to download.GET
Environment data
PS C:\Windows\system32> $PSVersionTable
Name Value
---- -----
PSVersion 5.1.20348.5756
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.20348.5756
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Version
5.1.20348.5756
Visuals
No response
- Ngôn ngữ chính
- PowerShell
- Star
- 289
- Fork
- 83
- Merge trung bình
- 1 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của PowerShell/PowerShellGallery
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 48/100
PowerShell/PowerShellGallery#355 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 31/100
PowerShell/PowerShellGallery#354 · 1 bình luận · 3 reaction ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
PowerShell/PowerShellGallery#353 · 5 reaction ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
PowerShell/PowerShellGallery#350 · 7 bình luận · 8 reaction ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
PowerShell/PowerShellGallery#349 · 1 bình luận · 1 reaction ·
Tất cả issue của PowerShell/PowerShellGallery
Issue tương tự
-
bug roadmap
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
PhilanthroPy-Project/PhilanthroPy#366 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
tsuru_app_cname and tsuru_app_router don't handle removal outside terraformCó thể đã có người làm @lbarrosby đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
-
Generate a CLI reference pageĐang mởarea: cli area: docs documentation good first issue size: S
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày