"update everything every time" is a terrible policy #578
Replies: 6 comments 3 replies
-
If your system is up to date this will never happen. See https://docs.brew.sh/FAQ#why-does-brew-upgrade-formula-also-upgrade-a-bunch-of-other-stuff |
Beta Was this translation helpful? Give feedback.
-
It might be, but that's not Homebrew's upgrade/install policy. It will only upgrade software that needs upgrading unless specifically requested with an unqualified |
Beta Was this translation helpful? Give feedback.
-
Agree. Consider disabling homebrew auto updates: echo "export HOMEBREW_NO_AUTO_UPDATE=1" >> ~/.zshrc I believe this restores old-school behaviour of the package manager and puts you in charge of running |
Beta Was this translation helpful? Give feedback.
-
I still enjoy the time with pacman and other pkg managers |
Beta Was this translation helpful? Give feedback.
-
Could homebrew not by default at least ask the user to confirm that they want to update a bunch of seemingly* unrelated packages updated before it does so? I believe I understand the technical reasons for why it sometimes needs to update the whole world and all of its canines, but from a UX perspective, the decision to default to this behaviour is more than a little perplexing. *from a user's perspective |
Beta Was this translation helpful? Give feedback.
-
There must be a better solution, like npm. Its not the best, but with pnpm and yarn it is getting pretty solid. |
Beta Was this translation helpful? Give feedback.
-
Today I had to do an emergency install with the socat package, to troubleshoot a system that was failing. I was under extreme time pressure. I ran "brew install socat".
To my shock and dismay, brew decided to upgrade the whole freaking collection of apps, while installing socat. That was... terrible.
Please don't do this. By default, the app should not take misguided initiative like this. If and when I need to upgrade the apps, I will do so myself.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions