IMAC terminal homebrew can’t be used

Error code:

bash-3.2# brew update

Initialized empty Git repository in /usr/local/.git /

remote: Counting objects: 1163, done.

remote: Compressing objects: 100% (1067/1067), done.

remote: Total 1163 (delta 116), reused 391 (delta 55), pack -reused 0

Receiving objects: 100% (1163/1163) , 1.23 MiB | 40.00 KiB/s, done.

Resolving deltas: 100% (116/116), done.

From https://github.com/Homebrew/brew

* [ new branch] master -> origin/master

HEAD is now at 42be54e Merge pull request #3667 from commitay/cask-doctor-sip

To restore the stashed changes to /usr/local run:

‘cd /usr/local && git stash pop’

Error: Running Homebrew as root is extremely dangerous and no longer supported. span>

As Homebrew does not drop privileges on installation you would be giving all

build scripts full access to your system.

The solution is to give this user write permissions instead of sudo.

iMacdeMac:~ imac$ sudo chown -R imac /usr/local /

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 5170 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.