Error message question #137
-
I recently updated Homebrew from 8cffae872 to c3e82f6ba and then to fa61eefa1. Now when I try to upgrade installed packages I get the following error message. Error: Cannot install in Homebrew on Intel processor in ARM default prefix (/opt/homebrew)! It is true that my computer has an Intel processor and it is also true that when I set up HomeBrew two years ago, I made the installation directory /opt/homebrew. Why is it no longer possible to have HomeBrew installed in an arbitrary directory? How can I fix this so I can continue to use my current installation? Thank you for your assistance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@Homebrew/brew I think this detection might be a bug |
Beta Was this translation helpful? Give feedback.
-
This is not a bug, sorry, it necessary for our work for Macs running on Apple Silicon. This is a one-time change that we no longer allow using the prefix you have selected. You can use |
Beta Was this translation helpful? Give feedback.
This is not a bug, sorry, it necessary for our work for Macs running on Apple Silicon. This is a one-time change that we no longer allow using the prefix you have selected. You can use
brew bundle dump
to dump your old prefix andbrew bundle
to install into a new prefix of your choice. Sorry for the inconvenience!