When I update Brew I minimize the terminal window so I can work on something else while it is running. Every so often I check to see if it finished. Then I read through the history to see if there is any work I need to perform by hand. For example sometimes Brew can’t link things and other times the package won’t even install. This has always worked well. Today I had a funny surprise though.
The first message in the history says something like “FYI Brew no longer supports macOS 10.12 Sierra so if anything I install breaks right now well you are out of luck if things break you are going to have to deal with it”. That is fine with me. They can’t support old versions of macOS forever. The next message says “Now I’m going to update 27 packages including some heavy hitters like
gcc and some network libraries”. And it dutifully proceeds to update all of them. Couldn’t you have asked me first if I wanted to continue with the update? Hahaha what?!
Next time you run Brew maybe check first if it is going to install software that might not even work anymore. This might sound like fear-mongering but if you screw up your Brew installation it won’t be fun to get it back: I’ve gone through that and it costs a lot of your time.
Next time you run Brew maybe check first if it is going to install software that might not even work anymore. The easiest way to do that is to pin all of your software when it is working right for you. Big hassle but easier to control what definitely works and might not work. You don’t really run into this problem if you are always on the bleeding edge. For some of us though it helps a lot to stay a version or two behind.
By the way if there is a configuration flag to force prompting whether to continue or not, please share it.