Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
skcipherhash opened this issue Mar 26, 2023 · 0 comments
Open

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

skcipherhash opened this issue Mar 26, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@skcipherhash
Copy link

skcipherhash commented Mar 26, 2023

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 #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"
}
@skcipherhash skcipherhash added the bug Something isn't working label Mar 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant