Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#465 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
java, powershell
領域
cli, tooling

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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"
}
主要言語
PowerShell
スター
315
フォーク
111
平均マージ
13日 18時間
マージ済み PR(30日)
2

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ScoopInstaller/Java のほかの issue

ScoopInstaller/Java の issue をすべて見る

似ている issue

CLI の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。