Set-PSResourcerepository fails on new installation of PS-Core 7.6.7
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 52/100
Hướng nghiên cứu
The failure is in loading the repository store: the error reports 'Could not find a part of the path' for PSResourceRepository.xml under the user's application data folder on a fresh install. Start from where the store path is built and read, and check whether its parent directory is created before the file is accessed. Reproduce with a clean profile running Set-PSResourceRepository -PSGallery -trusted. Done when that command succeeds on a machine with no existing store, and the related issue #1965 is checked for overlap.
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 released version
- Search the existing issues.
Steps to reproduce
This is close to the issue #1965.
On a new install of pwsh on Windows and macOS this Command:
Set-PSResourceRepository -PSGallery -trusted
fails
Expected behavior
PS> Set-PSResourceRepository -PSGallery -trusted
Actual behavior
PS> Set-PSResourceRepository -PSGallery -trusted
`Set-PSResourceRepository: Cannot retrieve the dynamic parameters for the cmdlet. Loading repository store failed: Could not find a part of the path '/Users/username/Library/Application Support/PSResourceget/PSResourceRepository.xml'`
Error details
Environment data
PSVersion: 7.6.7
PSEdition: Core
GitCommitId: 767
OS: Microsoft Windows 10.0.26200
Platform: Win32NT
PSCompatibleVersions: {1.0, 2.0, 3.0, 4.0, ...}
PSRemotingProtocolVersion: 2.4
SerializationVersion: 1.1.0.1
WSManStackVersion: 3.0
Visuals
No response
- Ngôn ngữ chính
- C#
- Star
- 578
- Fork
- 114
- Merge trung bình
- 1 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 5
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- 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/PSResourceGet
-
Create parent directories only after the containment check in InstallHelper.TryExtractToDirectoryĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
PowerShell/PSResourceGet#2056 ·
-
feature_request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
PowerShell/PSResourceGet#2013 · 3 bình luận ·
-
feature_request Needs-Triage
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
PowerShell/PSResourceGet#2068 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
PowerShell/PSResourceGet#2063 · 5 bình luận ·
-
PSResourceGet 1.3.0-preview2 error when installing AZ ModuleCó thể đã có người làm @alerickson đã nhận 6 ngày trước. Đang mởNeeds-Triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
PowerShell/PSResourceGet#2061 · 1 bình luận · 1 người được giao ·
Tất cả issue của PowerShell/PSResourceGet
Issue tương tự
-
Format request: .wbpzĐang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
KnifeLemon/Filee#294 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
応募に出す、展示スペースの図面を作るĐang mởmtg-decide submission
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Fialuxe/MouthOfGod_System#288 ·
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 66/100
gavin-wolfe/wolfden#104 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] BD000104 misses curl/wget pipelines written across lines (implicit string concatenation)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
[BUG] Still libmicrohttpd dependency is not removed properly from External-Dependency-Info.txt fileCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởtype/bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày