Comments (11)
Please fill out the issue template correctly instead of pasting the same thing in each input.
from brew.
I do get the same output from that.
from brew.
You need to include the output of brew config
and brew doctor
as asked in the issue template above or the issue will be closed.
from brew.
This is the output that these commands will generate.
from brew.
What MacOS version are you running? It looks like it may be unsupported by Homebrew.
@Bo98 Should we be forcing a fallback to system ruby in these cases so that brew doctor
and brew config
work even with a broken install? Not sure what's expected here.
from brew.
99% of the time I've seen Killed: 9
before it's been third-party security software flagging portable Ruby (potentially from it being unsigned).
See #17422 in case this applies to you.
Should we be forcing a fallback to system ruby
System Ruby on macOS is too old.
from brew.
I am on Mac OS Sonoma 14.5. I have looked at this and it is correct that this file is being flagged as "com.apple.quarantine" but I still get the same error when I clear this flag. brew ==> Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:5c86a23e0e3caee1a4cfd958ed7d50a38e752ebaf2e7c5717e5c8eabaa6e9f12 Already downloaded: /Users/username/Library/Caches/Homebrew/portable-ruby-3.3.2.el_capitan.bottle.tar.gz ==> Pouring portable-ruby-3.3.2.el_capitan.bottle.tar.gz /usr/local/Homebrew/Library/Homebrew/cmd/vendor-install.sh: line 230: 12270 Killed: 9 "./${VENDOR_VERSION}/bin/${VENDOR_NAME}" --version > /dev/null
from brew.
Your security software is probably also flagging the contents after its been extracted too.
from brew.
Although this issue has been marked as closed, I wanted to report that I experience the exact same error as msherafatian above for portable-ruby-3.3.3.el_capitan.bottle.tar.gz, running the latest Homebrew 4.3.6-26-g907f54a. Clearing xattr permissions on the tar.gz file does not fix the problem, nor does manually downloading the file and extracting it with recursive xattr permissions.
Already downloaded: /Users/[username]/Library/Caches/Homebrew/portable-ruby-3.3.3.el_capitan.bottle.tar.gz
==> Pouring portable-ruby-3.3.3.el_capitan.bottle.tar.gz
/usr/local/Homebrew/Library/Homebrew/cmd/vendor-install.sh: line 231: 59690 Killed: 9 "./${VENDOR_VERSION}/bin/${VENDOR_NAME}" --version > /dev/null
Error: Failed to install ruby 3.3.3!
Error: Failed to upgrade Homebrew Portable Ruby!
from brew.
Are you running any security/management software on your system (anti-virus, internet security suite, etc.)? If that software, as it seem:
- is running,
- doesn't like what it sees Homebrew doing, and
- kills Homebrew with extreme prejudice
there's nothing that can be done about it except disabling that software while running brew
.
from brew.
Interestingly, Portable Ruby 3.3.2 works without issue on my system. The problem seems to be only with the latest Portable Ruby 3.3.3. My workaround was thus to switch to Homebrew 4.3.4, which does not have a specific dependency on Portable Ruby 3.3.3. This restored basic brew
functionality (e.g. brew config
and brew doctor
), which allowed me to regain the ability to manage and install packages on my system. Hopefully useful information to others that may encounter this issue.
Current brew configuration:
HOMEBREW_VERSION: 4.3.4
ORIGIN: https://github.com/Homebrew/brew
HEAD: f8b1d1f56cb19212b89e385e000ca3921912abeb
Last commit: 11 days ago
Core tap JSON: 18 Jun 22:20 UTC
Core cask tap JSON: 18 Jun 22:37 UTC
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.uMoNTkYd5y/org.xquartz:0
HOMEBREW_MAKE_JOBS: 16
Homebrew Ruby: 3.3.2 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.2/bin/ruby
CPU: 16-core 64-bit kabylake
Clang: 15.0.0 build 1500
Git: 2.45.2 => /usr/local/bin/git
Curl: 8.6.0 => /usr/bin/curl
macOS: 14.5-x86_64
CLT: 15.3.0.0.1.1708646388
Xcode: 15.4
from brew.
Related Issues (20)
- Add support for downloading formula and cask binaries in the background HOT 3
- Automatically disable deprecated formulae HOT 2
- Homebrew is broken on Debian running under WSL2 HOT 1
- `Error: bad URI(is not URI?):` when search item contains a space HOT 1
- Support TunSafe: https://github.com/TunSafe/TunSafe/tree/release/1.4
- `TypeError: Parameter 'cmd': Expected type String, got type Pathname with value`
- cmake ninja dfu-util HOT 2
- brew.sh website not accessible from the Philippines HOT 3
- Error: failed to fetch attestations from trailofbits/homebrew-brew-verify: HTTP 401: Bad credentials HOT 5
- Documentaion: How-To-Open-a-Homebrew-Pull-Request.md - add cleanup instructions HOT 1
- Documentaion: How-To-Open-a-Homebrew-Pull-Request.md - missing info about `brew create` HOT 1
- brew link against non-existing formula causes uninitialized constant error HOT 2
- Investigate resource-ification of Rust dependencies with `cargo vendor` HOT 2
- getpwuid function doesn't work with LDAP users on Linux HOT 1
- Formula auditor's Formula version check falls through to Resources version check
- Make a RuboCop to recommend `bin/"foo"` over `"#{bin}/foo"`
- systemd brew.rb "Error: no implicit conversion of false into String" error HOT 2
- Push `latest` tag for bottles HOT 3
- Create self-describing bottles HOT 5
- Rosetta 2 caveat is shown on Intel Mac
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brew.