所以我有點終端小白所以忍耐一下,但我試圖更新沖泡安裝的東西,所以我跑:brew update
,得到了Error: /usr/local must be writable!
sudo:有效的uid不是0,是sudo安裝的setuid root? (在Mac OS X 10.12)
是不是真的知道是什麼約,所以我試圖運行sudo brew update
並得到了sudo: effective uid is not 0, is sudo installed setuid root?
不知道這是否有助於但運行ls -l $(which sudo)
遞給我:
ls: is: No such file or directory
ls: is: No such file or directory
ls: is: No such file or directory
ls: is: No such file or directory
ls: sudo: No such file or directory
ls: sudo: No such file or directory
ls: sudo: No such file or directory
ls: sudo: No such file or directory
-r-s--x--x 1 root wheel 369136 Sep 13 20:56 /usr/bin/sudo
-r-s--x--x 1 my_profile admin 168448 Jan 13 2016 /usr/local/bin/sudo
-r-s--x--x 1 my_profile admin 168448 Jan 13 2016 /usr/local/bin/sudo
-r-s--x--x 1 my_profile admin 168448 Jan 13 2016 /usr/local/bin/sudo
我試過建議here(使用磁盤工具和運行急救),但一世噸似乎沒有任何效果....
誰能告訴我發生了什麼事,我需要做什麼?