Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Endless repository migration #104

Open
indirect opened this issue Mar 31, 2017 · 1 comment
Open

Endless repository migration #104

indirect opened this issue Mar 31, 2017 · 1 comment

Comments

@indirect
Copy link

Running Boxen while using puppet-homebrew 2.1.0 seems to still cause repeated repository migration errors:

Could not update: Execution of 'brew update' returned 1: ==> Homebrew has enabled anonymous aggregate user behaviour analytics.
Read the analytics documentation (and how to opt-out) here:
  http://docs.brew.sh/Analytics.html

Error: /usr/local/Homebrew already exists.
Please remove it manually or uninstall and reinstall Homebrew into a new
location as the migration cannot be done automatically.

Any theories about how to resolve this?

@jacobbednarz
Copy link
Member

@salimane experienced this in boxen/our-boxen#834 (comment) however I've never been able to pin point exactly why this happens. There is a huge thread over at Homebrew/brew#987 which shows Boxen users aren't the only ones impacted here. 😢

Internally, we've had most success with something like the following:

  • mv /usr/local/Homebrew /usr/local/homebrew_backup
  • boxen

If you check out that thread, you might also be able to use some of their steps as well to work out which bit is failing for you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants