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

Failed to install temurin17-jdk:17.0.9-9.1 #497

Closed
xd-mau5 opened this issue Oct 27, 2023 · 5 comments · Fixed by #499
Closed

Failed to install temurin17-jdk:17.0.9-9.1 #497

xd-mau5 opened this issue Oct 27, 2023 · 5 comments · Fixed by #499
Labels
bug Something isn't working

Comments

@xd-mau5
Copy link

xd-mau5 commented Oct 27, 2023

Bug Report

Package Name: temurin17-jdk

Current Behaviour

A error happens when is extracting

Expected Behaviour

Install without any problems

Additional context/output

scoop update temurin17-jdk
ERROR 'temurin17-jdk' isn't installed correctly.
temurin17-jdk: 17.0.8-101 -> 17.0.9-9.1
Updating one outdated app:
Updating 'temurin17-jdk' (17.0.8-101 -> 17.0.9-9.1)
Downloading new version
Loading OpenJDK17U-jdk_x64_windows_hotspot_17.0.9_9.zip from cache
Checking hash of OpenJDK17U-jdk_x64_windows_hotspot_17.0.9_9.zip ... ok.
Uninstalling 'temurin17-jdk' (17.0.8-101)
Installing 'temurin17-jdk' (17.0.9-9.1) [64bit] from java bucket
Loading OpenJDK17U-jdk_x64_windows_hotspot_17.0.9_9.zip from cache
Extracting OpenJDK17U-jdk_x64_windows_hotspot_17.0.9_9.zip ... Exception: C:\Users\elect\scoop\apps\scoop\current\lib\core.ps1:638
Line |
 638 |          throw "Could not find '$(fname $from)'! (error $($proc.ExitCo …
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Could not find 'jdk-17.0.9+9.1'! (error 16)

Possible Solution

System details

Windows version: 10

OS architecture: 64bit

PowerShell version: 7

Additional software:

Scoop Configuration

{
  "last_update": "2023-10-27T11:57:01.2179764-05:00",
  "virustotal_api_key": "",
  "aria2-enabled": false,
  "scoop_branch": "master",
  "scoop_repo": "https://github.com/ScoopInstaller/Scoop"
}
@xd-mau5 xd-mau5 added the bug Something isn't working label Oct 27, 2023
@TamamoNoMae13
Copy link
Contributor

Elaborate the bug:
Debug log:

DEBUG[1698509256] $stdoutTask.Result = -------------------------------------------------------------------------------
   ROBOCOPY     ::     Robust File Copy for Windows
-------------------------------------------------------------------------------

  Started : 28 October 2023 23:07:36
   Source : C:\Users\hungmn\scoop\apps\temurin17-jdk\17.0.9-9.1\jdk-17.0.9+9.1\
     Dest : C:\Users\hungmn\scoop\apps\temurin17-jdk\17.0.9-9.1\

    Files : *.*

  Options : *.* /S /E /DCOPY:DA /COPY:DAT /MOVE /R:1000000 /W:30

------------------------------------------------------------------------------

2023/10/28 23:07:36 ERROR 2 (0x00000002) Accessing Source Directory C:\Users\hungmn\scoop\apps\temurin17-jdk\17.0.9-9.1\jdk-17.0.9+9.1\
The system cannot find the file specified. -> C:\Users\hungmn\scoop\apps\scoop\current\lib\core.ps1:637:9

@C0Nd3Mnd
Copy link

C0Nd3Mnd commented Oct 29, 2023

Same problem:

> scoop install temurin17-jdk
WARN  Scoop uses 'aria2c' for multi-connection downloads.
WARN  Should it cause issues, run 'scoop config aria2-enabled false' to disable it.
WARN  To disable this warning, run 'scoop config aria2-warning-enabled false'.
Installing 'temurin17-jdk' (17.0.9-9.1) [64bit] from java bucket
Loading OpenJDK17U-jdk_x64_windows_hotspot_17.0.9_9.zip from cache.
Checking hash of OpenJDK17U-jdk_x64_windows_hotspot_17.0.9_9.zip ... ok.
Extracting OpenJDK17U-jdk_x64_windows_hotspot_17.0.9_9.zip ... Exception: C:\Users\bird\scoop\apps\scoop\current\lib\core.ps1:638
Line |
 638 |          throw "Could not find '$(fname $from)'! (error $($proc.ExitCo …
     |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Could not find 'jdk-17.0.9+9.1'! (error 16)

EDIT: #499 does indeed fix this.

@junlongzzz
Copy link

Why is the pr merge so slow ?_?

@zsuatem
Copy link

zsuatem commented Oct 30, 2023

Looking at what's been going on with scoop for a while now, it looks like it's dying. ;(

@ibrudiiv
Copy link

ibrudiiv commented Oct 31, 2023

@zsuatem What do you mean?

Also #499 does indeed work. I just manually edited the json file(s).

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

Successfully merging a pull request may close this issue.

6 participants