Jump to content

Error - unable to install home-brew and php (Intel Mac)


Recommended Posts

Hi,

 

I have these error while trying to install home-brew and php with the suggestion of Alfred support team.

I had errors when trying to run some workflows and because of this I reached out to Alfred support.

 

Here are the errors.

 

Thanks in advance.

 

home brew;

terminal command I used (from home-brew website): /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

 

 * [new branch]          dependabot/bundler/Library/Homebrew/sorbet-static-and-runtime-0.5.10172 -> origin/dependabot/bundler/Library/Homebrew/sorbet-static-and-runtime-0.5.10172
   5080312bd..985f29f59  master     -> origin/master
Updating files: 100% (3739/3739), done.
HEAD is now at 985f29f59 Merge pull request #13605 from Rylan12/api-merge-variations
error: Not a valid ref: refs/remotes/origin/master
fatal: ambiguous argument 'refs/remotes/origin/master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
error: RPC failed; curl 56 LibreSSL SSL_read: error:02FFF036:system library:func(4095):Connection reset by peer, errno 54
error: 2132 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
Error: Fetching /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core failed!
fatal: invalid upstream 'origin/master'
Failed during: /usr/local/bin/brew update --force --quiet

 

PHP installation;

I used this command in the terminal: brew install php@7.4

Warning: No available formula with the name "php@7.4".
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.

 

This is where it all started trying to run a workflow called downmedia. I had the same issue on few other workflows as well.

image.png.55dff6706dd8aff69b8728318504ef30.png

 

Thanks !

Link to comment

Thanks Vitor,

 

after reset and using the command below I was able to see dv and da on the quick launch bar (Alfred - option + space)

`brew install yt-dlp`

 

However I get a message - `download failed` and nothing shows when I look for progress. btw I'm on Alfred 4.

image.png

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...