-
Notifications
You must be signed in to change notification settings - Fork 880
homebrew 1.0.0+ is conflicting with homebrew_root #834
Comments
I didn't experience this post upgrade to > 1.0. I'm on vacation at the moment but will be back in another week or so if you're still having this issue. |
I'm getting the following after a post upgrade to > 1.0. Basically boxen trying to recreate the folders that homebrew just migrated.
|
@salimane did you nuke your setup before upgrading to the new OS? |
@jacobbednarz no but i can do nuke and setup again to see if it will solve the problem |
In our internal fork, we mandate the nuke before an OS upgrade as we've found traces left behind during the upgrade often cause edge cases. Some people have upgraded to Sierra and I don't know of anyone hitting the above issue so I'm not sure but it's worth a try if you can. |
@salimane just checking if this is still an issue? |
yep this is still an issue, i'm not sure if it's related to user permissions. When I do
|
I'm just looking into the error response here and wondering why it's not bailing out. 😕 Could you put in the following debugging to help identify whether something is missing here? $ diff -Naur /opt/boxen/homebrew/bin/brew.backup /opt/boxen/homebrew/bin/brew
--- /opt/boxen/homebrew/bin/brew.backup 2017-01-24 08:08:39.000000000 +1100
+++ /opt/boxen/homebrew/bin/brew 2017-01-24 08:08:09.000000000 +1100
@@ -42,6 +42,10 @@
fi
fi
+echo "==========================="
+echo "REPOSITORY: ${HOMEBREW_REPOSITORY}"
+echo "PREFIX: ${HOMEBREW_PREFIX}"
+
HOMEBREW_LIBRARY="$HOMEBREW_REPOSITORY/Library"
source "$HOMEBREW_LIBRARY/Homebrew/brew.sh" This should be applied to the |
Ok this is what I've got locally
|
@salimane based on this diff, you are running it against a non-existent file 😛 (a.k.a the backup file which I generated). are you able to drop in this debugging and we'll see what it produces? Also, did you nuke Boxen before the update? |
@jacobbednarz , here is the debug output
|
In https://github.com/boxen/our-boxen/blob/master/facts.d/example.yaml, one could set the default
homebrew_root
folder.Since 1.0.0, homebrew now migrates the
HOMEBREW_REPOSITORY
when you runbrew update
.Running
boxen
after abrew update
reinstalls all packages.anyone having this issue ?
The text was updated successfully, but these errors were encountered: