-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
Not working on macOS 12.3 - need to upgrade Homebrew version from 2 to 3 #127
Comments
I get the same error, also use homebrew for installation, and would appreciate a fix (thanks @Mellbourn). Doubling down on the thanks for making a great tool! ❤️ |
@Mellbourn and @karnaker that's actually the wrong place for this issue I think. As it is a There was once a pull request on Fast forward, someone else opened a new PR for this: Homebrew/homebrew-core#97394 There's a discussion in this PR about the build issue. As fas as I understood (I'm not a developer) situation is this: To be a formulae, the software must be able to be built from source. Which does not work for this software withe the current tools available in Homebrew. If this can not be fixed, the There's also already a corresponding issue over here: #122. Still not being a developer, I understand from there that @sashkab has an idea for a solution for which he is awaiting a basic approval from @kcrawford prior to do all the work needed. That being said, I see chances that eventually Meanwhile, if you need to have it installed and want to do it in a automated manner, something like this would be possible: brew install jq
DLURL=$(curl --silent "https://api.github.com/repos/kcrawford/dockutil/releases/latest" | jq -r .assets[].browser_download_url | grep pkg)
curl -sL ${DLURL} -o /tmp/dockutil.pkg
sudo installer -pkg "/tmp/dockutil.pkg" -target /
rm /tmp/dockutil.pkg |
@tuxpeople thanks so much for posting this! Ran into this issue and your snippets worked great (clean install of macOS Monterey 12.3). |
I've made temporary solution to get 3.0.2 version with brew:
But as it is *.pkg file with bin inside, probably by now it should be cask, or changes should be made in brew official |
For zsh, you need quotes here
|
If anyone is willing to use a temporary solution, I've created a cask to use the new version here. $ brew install --cask hpedrorodrigues/tools/dockutil However, I'll deprecate it once an official cask is released. |
As happy as I am that there are a few community provided temporary solutions, this still needs to be fixed. Anyone actively working on this? |
Hello, |
I use a similar method to @tuxpeople 's method, but it doesn't depend on
etc |
…at least until [dockutil updates to Swift package management][2] and [Homebrew updates to dockutil v3][3]. [1]: kcrawford/dockutil#127 (comment) [2]: kcrawford/dockutil#131 [3]: Homebrew/homebrew-core#97394
See kcrawford/dockutil#127 & kcrawford/dockutil#127 (comment) for more information.
…at least until [dockutil updates to Swift package management][2] and [Homebrew updates to dockutil v3][3]. [1]: kcrawford/dockutil#127 (comment) [2]: kcrawford/dockutil#131 [3]: Homebrew/homebrew-core#97394
With the 3.1.0 release, I think homebrew formula maintainers should have what they need now to update the formula. |
This is great! Just a piece of advice for others who may also be as confused as I was: If you have the old dockutil cask installed from hpedrorodrigues/tools/dockutil then: You should first uninstall the old dockutil cask, explicitly:
then you can install the formula
If you do not uninstall the cask, the cask may be found instead of the formula when running on the command line. |
[This issue](kcrawford/dockutil#127) has been updated, and dockutil can now be installed without the extra cask-step.
The upstream repository merged the changes necessary to update the Homebrew formula: kcrawford/dockutil#127 (comment) So, remove the cask and tap and switch to the mainstream formula. ```sh brew uninstall --cask dockutil brew untap hpedrorodrigues/tools brew install dockutil ```
Could you please update the homebrew installation so that it installs version 3 instead of 2?
Version 2 doesn't even work on standard macOS Monterey 12.3 anymore, since python 2 has been removed.
Thanks for a great tool!
The text was updated successfully, but these errors were encountered: