# macOS images need Homebrew update urgently

**URL:** <https://discuss.circleci.com/t/macos-images-need-homebrew-update-urgently/39748>\
**Category:** Build Environment\
**Tags:** macos\
**Created:** [April 12, 2021, 6:02pm UTC](https://discuss.circleci.com/t/macos-images-need-homebrew-update-urgently/39748 "2021-04-12T18:02:18Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![lukeredpath](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/lukeredpath/32/27156_2.png) [@lukeredpath](https://discuss.circleci.com/u/lukeredpath)\
**Post date:** [April 12, 2021, 6:02pm UTC](https://discuss.circleci.com/t/macos-images-need-homebrew-update-urgently/39748/1 "2021-04-12T18:02:18Z")

</div>

So our builds all broke today because one of our steps installs a package using Homebrew, which it fetches from Bintray. Bintray is going to shut down in May and today they had a planned brown-out as a warning shot:

> **[Schedule brown-out session on April 12th 6AM to 2PM Pacific Daylight Time](https://status.bintray.com/incidents/4mzph0y8l6hk)**

The latest release of Homebrew has migrated to Github packages:

> **[Bintray shuts down · Discussion #691 · Homebrew/discussions](https://github.com/Homebrew/discussions/discussions/691)**
>
> //github.com/Homebrew/discussions/discussions/691

However, it’s not practical for us to run a `brew update` on each of our builds due to the amount of the time this will add to our builds, so could you please update your macOS executors to include the newest version before it starts breaking everyone’s build please?

---

<div class="post-metadata">

**Author:** ![thekatertot](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/thekatertot/32/25169_2.png) [@thekatertot](https://discuss.circleci.com/u/thekatertot)\
**Post date:** [April 13, 2021, 7:53pm UTC](https://discuss.circleci.com/t/macos-images-need-homebrew-update-urgently/39748/2 "2021-04-13T19:53:11Z")

</div>

Hi @lukeredpath! We’re investigating this and working on a solution. Right now the workaround is the manual `brew update`. We know this isn’t a great solution for you, and we’ll update as soon as we can.

---

<div class="post-metadata">

**Author:** ![lukeredpath](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/lukeredpath/32/27156_2.png) [@lukeredpath](https://discuss.circleci.com/u/lukeredpath)\
**Post date:** [April 14, 2021, 11:09am UTC](https://discuss.circleci.com/t/macos-images-need-homebrew-update-urgently/39748/3 "2021-04-14T11:09:49Z")

</div>

Thanks for the update - here’s what seems to be a possible explanation as to why `brew install` with auto-update isn’t working for us: [brew.sh: remove problematic HOMEBREW\_BOTTLE\_DOMAIN export by Bo98 · Pull Request #11126 · Homebrew/brew · GitHub](https://github.com/Homebrew/brew/pull/11126)

This explains why if I used ssh to connect to the worker after a failed build and run `brew install` it worked fine, but it failed during the actual build process and why I needed to add an explicit brew update step.

But yes, a manual brew update really isn’t a sustainable or performance solution.

---

<div class="post-metadata">

**Author:** ![thekatertot](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/thekatertot/32/25169_2.png) [@thekatertot](https://discuss.circleci.com/u/thekatertot)\
**Post date:** [April 14, 2021, 4:23pm UTC](https://discuss.circleci.com/t/macos-images-need-homebrew-update-urgently/39748/4 "2021-04-14T16:23:03Z")

</div>

Thank you for the details - I’ll pass them on to the team. Hopefully, we can get this resolved ASAP.

---

<div class="post-metadata">

**Author:** ![eelco](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/eelco/32/11553_2.png) [@eelco](https://discuss.circleci.com/u/eelco)\
**Post date:** [April 20, 2021, 5:03pm UTC](https://discuss.circleci.com/t/macos-images-need-homebrew-update-urgently/39748/5 "2021-04-20T17:03:43Z")

</div>

Is there an ETA for this? With the shutdown about a week away, it would be good for us to have some time to test new images and/or mitigate it otherwise.

---

<div class="post-metadata">

**Author:** ![eelco](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/eelco/32/11553_2.png) [@eelco](https://discuss.circleci.com/u/eelco)\
**Post date:** [April 28, 2021, 3:27pm UTC](https://discuss.circleci.com/t/macos-images-need-homebrew-update-urgently/39748/6 "2021-04-28T15:27:59Z")

</div>

So, what will happen in 2 days?

---

<div class="post-metadata">

**Author:** ![lukeredpath](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/lukeredpath/32/27156_2.png) [@lukeredpath](https://discuss.circleci.com/u/lukeredpath)\
**Post date:** [May 1, 2021, 2:10pm UTC](https://discuss.circleci.com/t/macos-images-need-homebrew-update-urgently/39748/7 "2021-05-01T14:10:16Z")

</div>

It’s now May 1st and no update on this issue?

---

<div class="post-metadata">

**Author:** ![lukeredpath](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/lukeredpath/32/27156_2.png) [@lukeredpath](https://discuss.circleci.com/u/lukeredpath)\
**Post date:** [May 1, 2021, 3:54pm UTC](https://discuss.circleci.com/t/macos-images-need-homebrew-update-urgently/39748/8 "2021-05-01T15:54:12Z")

</div>

Well it looks like Homebrew has been updated - an update confirming would have been nice. I just ran some jobs successfully, re-ran with SSH and verified myself:

```auto
static:~ distiller$ brew -v
Homebrew 3.1.5
Homebrew/homebrew-core (git revision 0d2708c156; last commit 2021-05-01)

```

---

<div class="post-metadata">

**Author:** ![FelicianoTech](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/felicianotech/32/21348_2.png) [@FelicianoTech](https://discuss.circleci.com/u/FelicianoTech)\
**Post date:** [May 4, 2021, 8:07pm UTC](https://discuss.circleci.com/t/macos-images-need-homebrew-update-urgently/39748/9 "2021-05-04T20:07:52Z")

</div>

Hi. There is an official “Announcement” post tracking this as of the end of April: [macOS Image Users: Homebrew Brownout 2021-04-26](https://discuss.circleci.com/t/macos-image-users-homebrew-brownout-2021-04-26/39872)

Future updates will also be in that post.
