Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Could not find 'jbrsdk-17.0.6-windows-x64-b469.82'

Đang mở
#465 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
java, powershell
Lĩnh vực
cli, tooling

Hướng nghiên cứu

Start with the intellij-jbr17-sdk manifest and compare its extraction behavior with the workaround described in Java issue #421. Reproduce the scoop install intellij-jbr17-sdk command, then verify that the package installs successfully and check whether the same behavior affects the other intellij-jbr* packages.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug

Bug Report

Package Name: intellij-jbr17-sdk

Current Behaviour

Running scoop install intellij-jbr17-sdk terminates with

WARN  Purging previous failed installation of intellij-jbr17-sdk.
ERROR 'intellij-jbr17-sdk' isn't installed correctly.
Removing older version (17.0.6-b469.82).
'intellij-jbr17-sdk' was uninstalled.
Installing 'intellij-jbr17-sdk' (17.0.6-b469.82) [64bit] from java bucket
Loading jbrsdk-17.0.6-windows-x64-b469.82.tar.gz from cache
Checking hash of jbrsdk-17.0.6-windows-x64-b469.82.tar.gz ... ok.
Extracting jbrsdk-17.0.6-windows-x64-b469.82.tar.gz ... Exception: C:\Users\user\scoop\apps\scoop\current\lib\core.ps1:638
Line |
 638 |          throw "Could not find '$(fname $from)'! (error $($proc.ExitCo …
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Could not find 'jbrsdk-17.0.6-windows-x64-b469.82'! (error 16)
Expected Behaviour

intellij-jbr17-sdk to be installed sucessfully.

Additional context/output

-

Possible Solution

Going through issues, I noted https://github.com/ScoopInstaller/Java/issues/421 which has the same error. Manually updating the manifest with

    "extract_to": "tmp",
    "installer": {
        "script": [
            "(Get-ChildItem -Directory \"$dir\\tmp\").FullName | % { Move-Item \"$_\\*\" \"$dir\" }",
            "Remove-Item -Recurse \"$dir\\tmp\""
        ]
    },

did fix it for me. I belive the same applies to all other intellij-jbr* packages.

System details

Windows version: 11

OS architecture: 64bit

PowerShell version:

Major  Minor  Patch  PreReleaseLabel BuildLabel
-----  -----  -----  --------------- ----------
7      3      3

Additional software: -

Scoop Configuration
{
  "last_update": "2023-03-26T07:42:50.7039795+05:30",
  "scoop_branch": "master",
  "scoop_repo": "https://github.com/ScoopInstaller/Scoop"
}
Ngôn ngữ chính
PowerShell
Star
315
Fork
111
Merge trung bình
13 ngày 18 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ScoopInstaller/Java

Tất cả issue của ScoopInstaller/Java

Issue tương tự

Thêm issue về CLI

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.