Próbowałem sprawić, by homebrew działał ładnie, ale wydaje się, że wszystko w środku /usr/local
nie jest zapisywalne i wszystko się przewraca.
Ciągle mi to mówi rekurencyjnie chown
/usr/local
i próbowałem tego. Operacja odmówiona, więc zrobiłem to. Wydawało się, że działa, ale z niesamowitą ciszą, którą słyszę, w Unixie jest uważany za uprzejmy. Niestety wszelkie kolejne próby brew update
napotkania tej samej kakofonii błędów.
Zmieniłem polecenie ponownie -v
i wygląda na to, że operacja nie jest dozwolona dla niczego w środku.
O ile odpowiedź brzmi prawdopodobnie „naucz się UNIX”, staram się tutaj spełnić pewne wymagania dotyczące pracy w tutorialu na temat Ruby, więc to kilka kroków powyżej, gdzie aktualnie jestem.
brew doctor
:
Warning: /usr/local/Frameworks isn't writable.
This can happen if you "sudo make install" software that isn't managed by
by Homebrew. If a formula tries to write a file to this directory, the
install will fail during the link step.
You should probably `chown` /usr/local/Frameworks
Warning: /usr/local/Cellar isn't writable.
You should `chown` /usr/local/Cellar
Warning: /usr/local/etc isn't writable.
This can happen if you "sudo make install" software that isn't managed by
by Homebrew. If a formula tries to write a file to this directory, the
install will fail during the link step.
You should probably `chown` /usr/local/etc
Warning: /usr/local/include isn't writable.
This can happen if you "sudo make install" software that isn't managed by
by Homebrew. If a formula tries to write a file to this directory, the
install will fail during the link step.
You should probably `chown` /usr/local/include
Warning: /usr/local/lib isn't writable.
This can happen if you "sudo make install" software that isn't managed by
by Homebrew. If a formula tries to write a file to this directory, the
install will fail during the link step.
You should probably `chown` /usr/local/lib
Warning: /usr/local/lib/pkgconfig isn't writable.
This can happen if you "sudo make install" software that isn't managed by
by Homebrew. If a formula tries to write a file to this directory, the
install will fail during the link step.
You should probably `chown` /usr/local/lib/pkgconfig
Warning: /usr/local/opt isn't writable.
You should `chown` /usr/local/opt
Warning: /usr/local/share isn't writable.
This can happen if you "sudo make install" software that isn't managed by
by Homebrew. If a formula tries to write a file to this directory, the
install will fail during the link step.
You should probably `chown` /usr/local/share
Warning: Some directories in /usr/local/share/man aren't writable.
This can happen if you "sudo make install" software that isn't managed
by Homebrew. If a brew tries to add locale information to one of these
directories, then the install will fail during the link step.
You should probably `chown` them:
/usr/local/share/man
/usr/local/share/man/man1
/usr/local/share/man/man3
/usr/local/share/man/man5
/usr/local/share/man/man7
/usr/local/share/man/man8
Warning: /usr/local/var isn't writable.
This can happen if you "sudo make install" software that isn't managed by
by Homebrew. If a formula tries to write a file to this directory, the
install will fail during the link step.
You should probably `chown` /usr/local/var
brew doctor
mówi ci coś przydatnego? Opublikuj wynik tutaj.