Ho cercato di far funzionare bene l'homebrew, ma sembra che tutto dentro /usr/local
non sia scrivibile e tutto cada.
Continua a ripetermi in modo ricorsivo chown
/usr/local
, e ci ho provato. Operazione negata, quindi l'ho fatto. Sembrava funzionare, ma con un silenzio inquietante che sento è considerato educato in Unix. Sfortunatamente, qualsiasi tentativo successivo di brew update
incontrare la stessa cacofonia di errori.
Eseguo nuovamente il comando -v
e sembra che l'operazione non sia consentita per nulla all'interno.
Per quanto la risposta sia probabilmente "impara UNIX", sto solo cercando di soddisfare alcuni requisiti di lavoro qui per un tutorial su Ruby, quindi sono alcuni passaggi sopra dove sono attualmente.
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
e ho scoperto che "Homebrew non ha più bisogno di avere la proprietà di / usr / local". Maggiori informazioni in questa domanda . Ovviamente per arrivare a quel punto dovresti comunque aggiornare temporaneamente le autorizzazioni su / usr / local :)
brew doctor
dice qualcosa di utile? Pubblica qui l'output.