J'ai essayé de faire fonctionner les homebrews bien, mais il semble que tout à l'intérieur /usr/local
ne soit pas accessible en écriture, et tout tombe.
Cela me dit de manière récursive chown
/usr/local
, et j'ai essayé. Opération refusée, je l'ai donc soudainement. Cela semblait fonctionner, mais avec un silence étrange que j'entends est considéré comme poli sous Unix. Malheureusement, toute tentative réussie de brew update
rencontrer la même cacophonie d'erreurs.
J'ai réexécuté la commande avec -v
et il semble que l'opération n'est autorisée pour rien à l'intérieur.
Autant que la réponse est probablement "apprendre UNIX", j'essaie juste de me conformer à certaines exigences de travail ici pour un tutoriel sur Ruby, donc c'est quelques étapes ci-dessus où j'en suis actuellement.
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 update
et j'ai découvert que "Homebrew n'a plus besoin d'avoir la propriété de / usr / local." Plus d'informations dans cette question . Évidemment, pour arriver à ce point, vous devez toujours mettre à jour temporairement les autorisations sur / usr / local :)
brew doctor
vous dire quoi que ce soit utile? Publiez la sortie ici.