Coder Social home page Coder Social logo

Comments (4)

razvanazamfirei avatar razvanazamfirei commented on July 23, 2024

What is the output of brew info temurin@17? Can you run brew untap homebrew/cask-versions and try again?

from homebrew-cask.

adilsoncarvalho avatar adilsoncarvalho commented on July 23, 2024

Sure thing. Here they are:

> brew untap homebrew/cask-versions
Untapping homebrew/cask-versions...
Untapped (38 files, 79.4MB).
> brew info temurin@17
==> temurin@17: 17.0.11,9
https://adoptium.net/
Not installed
From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/t/[email protected]
==> Name
Eclipse Temurin Java Development Kit
==> Description
JDK from the Eclipse Foundation (Adoptium)
==> Artifacts
OpenJDK17U-jdk_aarch64_mac_hotspot_17.0.11_9.pkg (Pkg)
==> Analytics
install: 7,072 (30 days), 13,668 (90 days), 13,669 (365 days)

And I tried again to install. Same result.

> brew install temurin@17
==> Downloading https://formulae.brew.sh/api/formula.jws.json
############################################################################################################## 100.0%
==> Downloading https://formulae.brew.sh/api/cask.jws.json
############################################################################################################## 100.0%
==> Downloading https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.11%2B9/OpenJDK17U-jdk_aarch
Already downloaded: /Users/acarvalho/Library/Caches/Homebrew/downloads/e2ce3344fda7c421751d0e95669ec661b29c3edb46c29aa3edac482f55164a41--OpenJDK17U-jdk_aarch64_mac_hotspot_17.0.11_9.pkg
==> Installing Cask temurin@17
==> Running installer for temurin@17 with sudo; the password may be necessary.


Launch with elevated privileges

Password: 
installer: Error - the package path specified was invalid: '/opt/homebrew/Caskroom/temurin@17/17.0.11,9/OpenJDK17U-jdk_aarch64_mac_hotspot_17.0.11_9.pkg'.
==> Purging files for version 17.0.11,9 of Cask temurin@17
Error: Failure while executing; `/usr/bin/sudo -u root -E LOGNAME=acarvalho USER=acarvalho USERNAME=acarvalho -- /usr/sbin/installer -pkg /opt/homebrew/Caskroom/temurin@17/17.0.11,9/OpenJDK17U-jdk_aarch64_mac_hotspot_17.0.11_9.pkg -target /` exited with 1. Here's the output:
installer: Error - the package path specified was invalid: '/opt/homebrew/Caskroom/temurin@17/17.0.11,9/OpenJDK17U-jdk_aarch64_mac_hotspot_17.0.11_9.pkg'.

from homebrew-cask.

khipp avatar khipp commented on July 23, 2024

You are using Homebrew version 4.3.6. A recent change in file copying (Homebrew/brew#17373) was included in this release, which caused installation issues for some users. This change has since been reverted.

The fix has not yet been officially released, but you can resolve the issue by running brew update-reset before trying again. This command will reset your Homebrew installation to track the latest changes.

from homebrew-cask.

MikeMcQuaid avatar MikeMcQuaid commented on July 23, 2024

This is released/fixed in Homebrew 4.3.7 now: https://github.com/Homebrew/brew/releases/tag/4.3.7

from homebrew-cask.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.