9 ms·
Upgrading Homebrew and avoiding the "failed to verify attestation" error
- cglan 2y agoI’ve switched over to devbox, which is a thin, easy to use wrapper around Nix on osx. Haven’t had to install brew yet. Brew was simple in theory but I always ran into so many issues like this, or just various packages polluting everything. Fingers crossed I don’t have to go back As someone who hates tinkering with this kinda stuff, I’m surprised how well it works so far
- JTyQZSnP3cQGa8B 2y agoMacPorts is a great alternative, also way older but never has been as successful as Homebrew.
- zdw 2y agoSecond recommendation for MacPorts It predates Homebrew by a bit and is under Apple's http://www.macosforge.org http://www.macosforge.org umbrella of OSS projects, so as close to 1st party support as you can get.
- skydhash 2y agoThird one for macports. It's more sane, at least for multi users support (I create an user for each contract work)
- gkoller 2y agoMacPorts rocks. No ports breaking when upgrading MacOS as can (or could,not sure if that's still an issue) with Brew.
- deleted 2y ago[deleted]
- iforgotmysocks 2y agoIt seems like Apple also closely work with Homebrew - https://news.ycombinator.com/item?id=41708046#41711168 https://news.ycombinator.com/item?id=41708046#41711168
- quesera 2y agoMacPorts is great! Another excellent alternative is pkgsrc: https://pkgsrc.smartos.org/install-on-macos/ https://pkgsrc.smartos.org/install-on-macos/ I've used pkgsrc on SmartOS/illumos and NetBSD for many years, but this is my first time using it on macOS -- about 18 months now, and all experiences positive!
- zombot 2y agoHomebrew is really the worst of all the options on macOS, I wonder how it became so popular in the first place.
- vbezhenar 2y agoMy issues with homebrew are: 1. I hate the concept of dependency management. I want every package to ship with all dependencies inside. Just download tarball, extract and that's about it. 2. homebrew often wants to install things I already have, like python. 3. No easy way to install old packages. I don't understand why things are made harder than they should be.
- ryandrake 2y agoDependencies are totally out of control, in much of OSS, not just Homebrew. I probably have 5-6 leaf node packages that I actually installed with brew install, but brew list shows close to 100 little dependencies. Same with apt on my Ubuntu/Debian systems. I physically installed a handful of applications but my system has hundreds of packages installed. At least it’s not DLL Hell: the dependency management tools are great and uninstallation is clean, but wow what an explosion of quantity of dependencies! I don’t use node but I understand it’s a mess there too.
- 01HNNWZ0MV43FF 2y agoBut it's nice to reuse code
- happymellon 2y agoIsn't it nice to reuse code so you dont have to write it twice? It doesn't mean we can't run it twice.
- eric-hu 2y agoThere’s command to see your leaf dependencies: https://docs.brew.sh/Manpage#leaves---installed-on-request---installed-as-dependency https://docs.brew.sh/Manpage#leaves---installed-on-request--...
- ryandrake 2y agoYep I use that a lot. I like to make sure I only have installed what I need to survive, and uninstall everything else.
- zamalek 2y agoWhat I have learned from Nix is that polluting the global (user or system) environment is going to spell disaster at some point. Its obviously fixable in an obvious way, but why subject yourself to this nonsense in the first place. The only stuff I have in my global env is stuff I could actually use from almost anywhere, even non-code directories. Nix isn't the only tool that solves this, there is acme and even per-compiler tools like nvm or cargo.
- zombot 2y agoIn case it shouldn't work out, I never had any problems with MacPorts. I will have a look at devbox. I always found Nix on macOS too much hassle, maybe the situation has gotten better?
- drcongo 2y agoI just switched over to devbox after reading this thread, I like it a lot so far, thanks.
- october8140 2y ago> I frequently have rate limiting problems with my GitHub account What are people doing to get their account rate limited?
- deleted 2y ago[deleted]
- JohnMakin 2y agoCI/CD pipelines at large scale can pull directly from src repos sometimes causing stuff like this, just off the top of my head. I think the default is 5000 per hour which is not very much for automation to chew through. I ran into something similar with bitbucket once that I had to engineer around because it was very annoying.
- simonw 2y agoI still haven't figured out quite what's going on there, but I wouldn't be surprised to learn that it was due to all of the scrapers I'm running: https://simonwillison.net/2020/Oct/9/git-scraping/ https://simonwillison.net/2020/Oct/9/git-scraping/
- MarkSweep 2y agoIf you are in a large company that VPNs all your traffic to one point, you can get rate limited if you visit GitHub without logging in. If you are getting the GitHub API, the rate limit is 60 request per hour, per IP. That is easy to hit. If you send an API token, it’s 5000 requests per hour. https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api?apiVersion=2022-11-28 https://docs.github.com/en/rest/using-the-rest-api/rate-limi...
- mootoday 2y agoAll I can say when I see Homebrew: "I replaced Homebrew with Devbox" [1] [1] https://mootoday.com/blog/i-replaced-homebrew-with-devbox https://mootoday.com/blog/i-replaced-homebrew-with-devbox
- a1j9o94 2y agoI ran in to the same problem last weekend and got this suggested fix from gpt-o1. I did try to Google it first, but wasn't able to find anything on it.
- sublinear 2y agoBrew has always been dogshit. Nobody runs macos in production. Please stop using this.
- rswail 2y ago1. Delete Homebrew 2. Install Macports
- airtonix 2y ago[dead]
- deleted 2y ago[deleted]