Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: An unexpected error occurred during the brew link step #645

Closed
dobeerman opened this issue Jan 5, 2018 · 10 comments
Closed

Error: An unexpected error occurred during the brew link step #645

dobeerman opened this issue Jan 5, 2018 · 10 comments

Comments

@dobeerman
Copy link

I've this errors on the end of install process
...
==> Pouring python3-3.6.4_1.high_sierra.bottle.tar.gz
Error: An unexpected error occurred during the brew link step
The formula built, but is not symlinked into /usr/local
Permission denied @ dir_s_mkdir - /usr/local/Frameworks
Error: Permission denied @ dir_s_mkdir - /usr/local/Frameworks

@sigmavirus24
Copy link

This is not httpie's fault. Your system isn't configured to allow you to install anything in /usr/local most likely and that's something you need to fix.

@dobeerman
Copy link
Author

@sigmavirus24 hmm... other packages is ok.

@sigmavirus24
Copy link

Please read your output more closely. This is directly related to ==> Pouring python3-3.6.4_1.high_sierra.bottle.tar.gz

@jkbrzt
Copy link
Member

jkbrzt commented Jan 8, 2018

@dobeerman this is a Homebrew related issue. Try running $ brew doctor.

@jkbrzt jkbrzt closed this as completed Jan 8, 2018
@ghost
Copy link

ghost commented Dec 7, 2018

Thanks!!!

@yogeshpatil143
Copy link

yogeshpatil143 commented Jan 23, 2019

Just Run below command

1)brew doctor

2)sudo chown -R $(whoami) $(brew --prefix)/*

3)sudo install -d -o $(whoami) -g admin /usr/local/Frameworks

note the $(brew --prefix)/* ...High Sierra doesn't allow you to change permissions on /user/local directly)

Your problem will solved 100%.

@kurbeco
Copy link

kurbeco commented Jan 26, 2019

I was having the same issue, and that fixed it. Thanks

@nokieng17
Copy link

For others who have the same problem on linking different package like dbgm

  1. check Error: Permission denied @ dir_s_mkdir - [FOLDER_NEED_PERMISSION]
  2. then grant permission as @yogeshpatil143 said

sudo install -d -o $(whoami) -g admin [FOLDER_NEED_PERMISSION]

=> grant permission to the folder [FOLDER_NEED_PERMISSION]

@yogeshpatil143
Copy link

Yes you are correct my dear friend.. @KiengKnot ..

@jacktan1991
Copy link

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

No branches or pull requests

7 participants