Homebrew - Latest posts https://discourse.brew.sh Latest posts `brew list | less` fails You can use brew ls --formula | grep.

If that’s too long for you, Homebrew is smart enough that abbreviating --formula in a non-ambiguous way like brew ls --fo | grep will also work

]]>
https://discourse.brew.sh/t/brew-list-less-fails/9224#post_6 Sat, 02 Jan 2021 18:37:47 +0000 discourse.brew.sh-post-23992
`brew: command not found` after first install You don’t need steps 1 or 2. The last reminder about PATH is helpful.

]]>
https://discourse.brew.sh/t/brew-command-not-found-after-first-install/7255#post_18 Fri, 01 Jan 2021 13:28:06 +0000 discourse.brew.sh-post-23988
Discourse is deprecated Thanks for all the discussions, everyone. Happy new year!

]]>
https://discourse.brew.sh/t/discourse-is-deprecated/9239#post_5 Fri, 01 Jan 2021 13:26:14 +0000 discourse.brew.sh-post-23987
Brew update "homebrew-core is a shallow clone" Thank you! untap+tap fixed the error.

]]>
https://discourse.brew.sh/t/brew-update-homebrew-core-is-a-shallow-clone/9300#post_16 Thu, 31 Dec 2020 18:30:25 +0000 discourse.brew.sh-post-23966
Brew update "homebrew-core is a shallow clone" It seems something is very wrong with the state of your cask repo. brew untap homebrew/cask and afterwards brew tap homebrew/cask might be the only option you have left.

]]>
https://discourse.brew.sh/t/brew-update-homebrew-core-is-a-shallow-clone/9300#post_15 Thu, 31 Dec 2020 13:51:43 +0000 discourse.brew.sh-post-23965
`brew: command not found` after first install How To Set Up Your Mac for Homebrew

Step 1

Check you have already Install the Xcode. Run the below command in your terminal

/usr/bin/xcodebuild -version

It will print the below sample output
Xcode 12.3
Build version 12C33

Step 2

Now Open Xcode
Select preferences
Select location tab
Now in command Line Tool select your Xcode version from dropdown menu

Step 3

In terminal run below command

/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)”

Note : if you have M1 Chip Mac run the below command, close terminal and open the terminal again

echo “export PATH=/opt/homebrew/bin:$PATH” >> ~/.zshrc

]]>
https://discourse.brew.sh/t/brew-command-not-found-after-first-install/7255#post_17 Thu, 31 Dec 2020 13:50:04 +0000 discourse.brew.sh-post-23963
Brew doctor warns about "Warning: A newer Command Line Tools release is available" That doesn’t represent the commandline tools version though. That is only the CLang version, which only changes with major OS updates AFAIK. pkgutil --pkg-info=com.apple.pkg.CLTools_Executables will get you the commandline tools version

]]>
https://discourse.brew.sh/t/brew-doctor-warns-about-warning-a-newer-command-line-tools-release-is-available/6370?page=2#post_27 Thu, 31 Dec 2020 09:11:17 +0000 discourse.brew.sh-post-23961
Brew doctor warns about "Warning: A newer Command Line Tools release is available" It would be nice if Brew would tell us what version it’s looking for (and what it found). I’m getting this now, and I went through the steps of explicitly downloading and installing the latest command line tools. When I did clang -v I got 12.0 1200, and after installing the CLT again, I got 12.0 1200. But the warning went away.

]]>
https://discourse.brew.sh/t/brew-doctor-warns-about-warning-a-newer-command-line-tools-release-is-available/6370?page=2#post_26 Thu, 31 Dec 2020 06:22:16 +0000 discourse.brew.sh-post-23959
Brew update "homebrew-core is a shallow clone" Thanks for the pointer!

Here’s my output

brew update-reset
==> Fetching /usr/local/Homebrew...
remote: Enumerating objects: 2619, done.
remote: Counting objects: 100% (1642/1642), done.
remote: Compressing objects: 100% (374/374), done.
remote: Total 1122 (delta 890), reused 956 (delta 734), pack-reused 0
Receiving objects: 100% (1122/1122), 249.33 KiB | 4.70 MiB/s, done.
Resolving deltas: 100% (890/890), completed with 165 local objects.
From https://github.com/Homebrew/brew
 * [new branch]            dependabot/bundler/Library/Homebrew/rubocop-1.7.0 -> origin/dependabot/bundler/Library/Homebrew/rubocop-1.7.0
 * [new branch]            fxcoudert-patch-1                                 -> origin/fxcoudert-patch-1
   9c1bdfe229..4186cd94a3  master                                            -> origin/master
 * [new tag]               2.7.1                                             -> 2.7.1

==> Resetting /usr/local/Homebrew...
Branch 'master' set up to track remote branch 'master' from 'origin'.
Switched to and reset branch 'master'
Your branch is up to date with 'origin/master'.

==> Fetching /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask...
error: Could not read a09435a3aedccba853a45c8af850c5777a389ce9
error: Could not read a09435a3aedccba853a45c8af850c5777a389ce9
remote: Enumerating objects: 160942, done.
remote: Counting objects: 100% (159397/159397), done.
remote: Compressing objects: 100% (41856/41856), done.
remote: Total 149186 (delta 107758), reused 146431 (delta 105374), pack-reused 0
Receiving objects: 100% (149186/149186), 44.56 MiB | 4.33 MiB/s, done.
Resolving deltas:  96% (104025/107758), completed with 2626 local objects.
fatal: pack has 3733 unresolved deltas
fatal: index-pack failed
warning: unable to unlink '(null)': Bad address

==> Resetting /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask...
error: unable to read sha1 file of Casks/1password-cli.rb (30ad427a2d7a274f49b1ff4aa294adec16f1b949)
error: unable to read sha1 file of Casks/4k-stogram.rb (38cb3c698272d5595da80db4c66c03190ddac782)
error: unable to read sha1 file of Casks/4k-video-downloader.rb (08b0e67087f9a70504202529e6c83cb75c2ea38d)
error: unable to read sha1 file of Casks/4k-youtube-to-mp3.rb (d28b2abfa16c55901bf64b6e31e9402214ece327)

…[edited to fit char limit]…

(ad1df5509ffd9a24b92290a2d700b60e71d9e757)
error: unable to read sha1 file of doc/faq/rejected_casks.md (a1f8b80cdb15f6f85a5a31b7c86b57aef7dba7dd)
Updating files: 100% (3654/3654), done.
Branch ‘master’ set up to track remote branch ‘master’ from ‘origin’.
Reset branch ‘master’
Your branch is up to date with ‘origin/master’.

==> Fetching /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core...
remote: Enumerating objects: 8719, done.
remote: Counting objects: 100% (8719/8719), done.
remote: Compressing objects: 100% (28/28), done.
remote: Total 19217 (delta 8706), reused 8703 (delta 8691), pack-reused 10498
Receiving objects: 100% (19217/19217), 5.93 MiB | 4.97 MiB/s, done.
Resolving deltas: 100% (14432/14432), completed with 3725 local objects.
From https://github.com/Homebrew/homebrew-core
   69d43acedd..2c069f82c7  master     -> origin/master

==> Resetting /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core...
Updating files: 100% (3670/3670), done.
Branch 'master' set up to track remote branch 'master' from 'origin'.
Reset branch 'master'
Your branch is up to date with 'origin/master'.

==> Fetching /usr/local/Homebrew/Library/Taps/niebles/homebrew-ham...

==> Resetting /usr/local/Homebrew/Library/Taps/niebles/homebrew-ham...
Branch 'master' set up to track remote branch 'master' from 'origin'.
Reset branch 'master'
Your branch is up to date with 'origin/master'.

==> Fetching /usr/local/Homebrew/Library/Taps/tdsmith/homebrew-ham...

==> Resetting /usr/local/Homebrew/Library/Taps/tdsmith/homebrew-ham...
Branch 'master' set up to track remote branch 'master' from 'origin'.
Reset branch 'master'
Your branch is up to date with 'origin/master'.

It seems that there are still issues. After that, brew update still complaints about the shallow clone, and the unshallow command outputs the same as before.

brew update
Error:
  homebrew-cask is a shallow clone.
To `brew update`, first run:
  git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask fetch --unshallow
This command may take a few minutes to run due to the large size of the repository.
This restriction has been made on GitHub's request because updating shallow
clones is an extremely expensive operation due to the tree layout and traffic of
Homebrew/homebrew-core and Homebrew/homebrew-cask. We don't do this for you
automatically to avoid repeatedly performing an expensive unshallow operation in
CI systems (which should instead be fixed to not use shallow clones). Sorry for
the inconvenience!

After that unshallow gives this:

git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask fetch --unshallow
error: Could not read a09435a3aedccba853a45c8af850c5777a389ce9
remote: Enumerating objects: 94092, done.
remote: Counting objects: 100% (83441/83441), done.
remote: Compressing objects: 100% (24165/24165), done.
remote: Total 77284 (delta 55847), reused 74459 (delta 53114), pack-reused 0
Receiving objects: 100% (77284/77284), 33.70 MiB | 3.87 MiB/s, done.
Resolving deltas:  93% (51946/55847), completed with 2792 local objects.
fatal: pack has 3901 unresolved deltas
fatal: index-pack failed
warning: unable to unlink '(null)': Bad address

Any further thoughts?

]]>
https://discourse.brew.sh/t/brew-update-homebrew-core-is-a-shallow-clone/9300#post_14 Thu, 31 Dec 2020 05:07:46 +0000 discourse.brew.sh-post-23957
Brew update "homebrew-core is a shallow clone" Try brew update-reset

]]>
https://discourse.brew.sh/t/brew-update-homebrew-core-is-a-shallow-clone/9300#post_13 Thu, 31 Dec 2020 04:56:54 +0000 discourse.brew.sh-post-23956
Brew update "homebrew-core is a shallow clone" Hi everyone,
Posting here because the suggested unshallow command does not help.

Here’s my output:

git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask fetch --unshallow
error: Could not read a09435a3aedccba853a45c8af850c5777a389ce9
remote: Enumerating objects: 94076, done.
remote: Counting objects: 100% (83425/83425), done.
remote: Compressing objects: 100% (24153/24153), done.
remote: Total 77268 (delta 55833), reused 74459 (delta 53110), pack-reused 0
Receiving objects: 100% (77268/77268), 33.60 MiB | 2.39 MiB/s, done.
Resolving deltas:  93% (51936/55833), completed with 2792 local objects.
fatal: pack has 3897 unresolved deltas
fatal: index-pack failed
warning: unable to unlink '(null)': Bad address

There’s a hash referred there “a09435a3aedccba853a45c8af850c5777a389ce9”, I found it in the commit below, not sure if that helps resolving this.

Any pointers?

Thanks!

]]>
https://discourse.brew.sh/t/brew-update-homebrew-core-is-a-shallow-clone/9300#post_12 Thu, 31 Dec 2020 03:59:17 +0000 discourse.brew.sh-post-23955
Homebrew Installation in New Mac M1 Did you install it with or without Rosetta?

]]>
https://discourse.brew.sh/t/homebrew-installation-in-new-mac-m1/9349#post_2 Wed, 30 Dec 2020 07:44:23 +0000 discourse.brew.sh-post-23950
Homebrew Installation in New Mac M1 I installed homebrew in my mac M1. It says installation successful but when I enter commands with brew, it gives brew command not found error. It was working before. I have been trying to install mongodb with brew and was getting errors so I uninstalled homebrew and got the command not found error after reinstalling it.

]]>
https://discourse.brew.sh/t/homebrew-installation-in-new-mac-m1/9349#post_1 Wed, 30 Dec 2020 04:46:27 +0000 discourse.brew.sh-post-23949
Brew services start httpd Check your httpd logs for any errors.

]]>
https://discourse.brew.sh/t/brew-services-start-httpd/8965#post_5 Tue, 29 Dec 2020 04:42:54 +0000 discourse.brew.sh-post-23945
Brew services start httpd I have the same problem. brew instalation of http show ok but localhost won’t start. when I run brew services:

httpd error /Users/villas/Library/LaunchAgents/homebrew.mxcl.httpd.plist
php error root /Library/LaunchDaemons/homebrew.mxcl.php.plist

]]>
https://discourse.brew.sh/t/brew-services-start-httpd/8965#post_4 Mon, 28 Dec 2020 18:23:41 +0000 discourse.brew.sh-post-23943
Can't use brew on Mac OS 10.15.4 Thank you for this useful and professional information

]]>
https://discourse.brew.sh/t/cant-use-brew-on-mac-os-10-15-4/7436#post_8 Thu, 24 Dec 2020 06:54:28 +0000 discourse.brew.sh-post-23927
`brew list | less` fails The problem is brew ls command is useless if I want to grep on the output as somehow it think’s it’s been invoked by a script.

]]>
https://discourse.brew.sh/t/brew-list-less-fails/9224#post_5 Thu, 24 Dec 2020 06:43:00 +0000 discourse.brew.sh-post-23926
What's the point of "Updating Homebrew"? I see :slight_smile: Yea, I’ve been thinking if we could custom images instead :slight_smile:

]]>
https://discourse.brew.sh/t/whats-the-point-of-updating-homebrew/5395#post_11 Thu, 24 Dec 2020 03:34:00 +0000 discourse.brew.sh-post-23924
Brew update "homebrew-core is a shallow clone" M1 Macs are the ones with the new Apple Silicon (ARM-based) processors. I don’t think the response was to the “wrong thread”, but was based on the presumption that you were having architecture issues (for my part, on my M1 MBP, for now I’m just forcing Terminal to run in Rosetta and am doing fine.) :slight_smile:

Of course, that’s neither here nor there. I got the same message on my multiple Macs that you did, and did what it said to do. Easy peezy. :slight_smile:

]]>
https://discourse.brew.sh/t/brew-update-homebrew-core-is-a-shallow-clone/9300#post_11 Wed, 23 Dec 2020 20:18:48 +0000 discourse.brew.sh-post-23921
How to detect which homebrew package installed an app/file/dependency for uninstallation Seeing that install location it’s probably a cask and no, there is no way to trace those because they just run whatever installer the upstream developers provided.

]]>
https://discourse.brew.sh/t/how-to-detect-which-homebrew-package-installed-an-app-file-dependency-for-uninstallation/9327#post_2 Wed, 23 Dec 2020 17:49:30 +0000 discourse.brew.sh-post-23920
Warning: No checksum defined for cask 'google-chrome', skipping verification
Danrancan:

To be clear, The Cask auto-updates? or the Application it self autoupdates with the “autoupdate” selection turned on in the app?

The software auto updates, not the cask. Indeed

Is there a version of google chrome in homebrew that is built from source?

No, we don’t ship a source build of chrome. You can maintain one in a tap though.

How can I force homebrew to only download apps that were built from source, or at the very least, warn me when they are not built from source?

Don’t use casks, those are never build from source.

]]>
https://discourse.brew.sh/t/warning-no-checksum-defined-for-cask-google-chrome-skipping-verification/9307#post_4 Wed, 23 Dec 2020 17:47:50 +0000 discourse.brew.sh-post-23919
What's the point of "Updating Homebrew"? They also serve a different purpose then Homebrew. apt/yum/dnf are better comparisons. And that workflow sounds like it would benefit from container snapshots more than disabling homebrew updates.

]]>
https://discourse.brew.sh/t/whats-the-point-of-updating-homebrew/5395#post_10 Wed, 23 Dec 2020 17:45:13 +0000 discourse.brew.sh-post-23918
Brew update "homebrew-core is a shallow clone" Not sure what an m1 mac is. But its an intel mac x86_64. Also, your posted command seems irrelevant. Are you sure you replied in the proper thread?

]]>
https://discourse.brew.sh/t/brew-update-homebrew-core-is-a-shallow-clone/9300#post_10 Wed, 23 Dec 2020 15:57:32 +0000 discourse.brew.sh-post-23917
Homebrew cask upgrade error Error: It seems there is already an App at '/Applications/iTerm.app
SMillerDev:

GitHub - Homebrew/homebrew-bundle: 📦 Bundler for non-Ruby dependencies from Homebrew, Homebrew Cask and the Mac App Store.

I will look into this as soon as I convert to zsh on mac (very soon).
Thanks for the answer!

]]>
https://discourse.brew.sh/t/homebrew-cask-upgrade-error-error-it-seems-there-is-already-an-app-at-applications-iterm-app/6954#post_11 Wed, 23 Dec 2020 15:54:52 +0000 discourse.brew.sh-post-23916
Warning: No checksum defined for cask 'google-chrome', skipping verification
SMillerDev:

The cask doesn’t define a checksum, most likely because it auto updates and therefore the checksum would be constantly out of date (since the download doesn’t specify a version)

To be clear, The Cask auto-updates? or the Application it self autoupdates with the “autoupdate” selection turned on in the app?

  1. Is there a version of google chrome in homebrew that is built from source?
  2. How can I force homebrew to only download apps that were built from source, or at the very least, warn me when they are not built from source?

Thanks for the prompt reply and help!

Dan

]]>
https://discourse.brew.sh/t/warning-no-checksum-defined-for-cask-google-chrome-skipping-verification/9307#post_3 Wed, 23 Dec 2020 15:52:07 +0000 discourse.brew.sh-post-23915
How to detect which homebrew package installed an app/file/dependency for uninstallation I a noticed I have an app named “cx.pow.powd” that has been installed from a homebrew app I downloaded. I believe it is some sort of dependency, and google searches lead me to believe its related to mac os rack server software. EtreCheck shows the executable located at

“~/Library/Application Support/Pow/Versions/0.6.0/bin/node ‘/Users/MyUser/Library/Application Support/Pow/Versions/0.6.0/bin/pow’”.

I also noticed that in “/Library/LaunchDaemons” there is a file called cx.pow.firewall.plist
and its contents are:

<?xml version=“1.0” encoding=“UTF-8”?>
<!DOCTYPE plist PUBLIC “-//Apple//DTD PLIST 1.0//EN” “http://www.apple.com/DTDs/PropertyList-1.0.dtd”>
<plist version=“1.0”>
<dict>
<key>Label</key>
<string>cx.pow.firewall</string>
<key>ProgramArguments</key>
<array>
<string>/bin/sh</string>
<string>-c</string>
<string>
sysctl -w net.inet.ip.forwarding=1;
echo “rdr pass proto tcp from any to any port {80,20559} -> 127.0.0.1 port 20559” | pfctl -a “com.apple/250.PowFirewall” -Ef -
</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>UserName</key>
<string>root</string>
</dict>

I have no idea what it does, or its purpose is, and would like to figure out what homebrew application installed it, what its purpose is, and how to uninstall it and all related applications. Any help is much appreciated here!

Thanks in advance!

]]>
https://discourse.brew.sh/t/how-to-detect-which-homebrew-package-installed-an-app-file-dependency-for-uninstallation/9327#post_1 Wed, 23 Dec 2020 15:46:20 +0000 discourse.brew.sh-post-23914
Brew update "homebrew-core is a shallow clone" Did you mean to reply in a different thread?

]]>
https://discourse.brew.sh/t/brew-update-homebrew-core-is-a-shallow-clone/9300#post_9 Wed, 23 Dec 2020 14:21:44 +0000 discourse.brew.sh-post-23913
Brew update "homebrew-core is a shallow clone" Is an intel Mac? On Catalina or on big Sur? If it’s an m1 Mac you need to do to use the prefix
arch -x86_64 then maybe a sudo as well. Big sure doesn’t like anything on the intel macs. It’s a bitch to get things to work. Most things are now working on the m1 macs.

]]>
https://discourse.brew.sh/t/brew-update-homebrew-core-is-a-shallow-clone/9300#post_8 Wed, 23 Dec 2020 13:23:38 +0000 discourse.brew.sh-post-23910
Pianobar errors on catalina Discourse is going away in a week. Best to post on GitHub discussions. You posted on the topic Homebrew on Linux, but it looks as though you use macOS Catalina.

]]>
https://discourse.brew.sh/t/pianobar-errors-on-catalina/9322#post_2 Wed, 23 Dec 2020 05:49:24 +0000 discourse.brew.sh-post-23909
Homebrew cask upgrade error Error: It seems there is already an App at '/Applications/iTerm.app I used the following in zsh:

for name in $(brew list --cask); do
 echo force installing $name;brew install --cask --force $name
done
]]>
https://discourse.brew.sh/t/homebrew-cask-upgrade-error-error-it-seems-there-is-already-an-app-at-applications-iterm-app/6954#post_10 Wed, 23 Dec 2020 05:47:14 +0000 discourse.brew.sh-post-23908
How to parse version number without `brew info`?
xareelee:

How can I parse the version number in the DSL-formula ruby file without using brew CLI commands? Does it parse version number from url ?

Yes. Also note that brew info has a --json option that should greatly help with parsing formula details.

Try looking in version.rb.

Because for casks, the version is used to determine the download URL:

cask "thunderbird" do
  version "78.6.0"
  url "https://ftp.mozilla.org/pub/thunderbird/releases/#{version}/mac/#{language}/Thunderbird%20#{version}.dmg",...

whereas the reverse is true for formulae. A Cask maintainer would be able to speak definitively on this, but I suspect this disparity is due to the general nature of the download URLs in each case:

A significant number of casks have versionless URLs like https://dl.google.com/chrome/mac/universal/stable/GGRO/googlechrome.dmg, that come from literally anywhere and can change at any time independent of each other, so writing URL-parsing code for this is probably a lost cause.

In contrast, most formulae download source tarballs from a limited number of well-known sites (e.g. GitHub) with well-known URL formats that include version info, so the URL-parsing logic is both straightforward and generally stable.

In short, version overrides are needed fairly rarely with formulae, but fairly often with casks, so I can understand why the decision was made to make version mandatory for casks.

]]>
https://discourse.brew.sh/t/how-to-parse-version-number-without-brew-info/9320#post_2 Wed, 23 Dec 2020 04:11:38 +0000 discourse.brew.sh-post-23905
Pianobar errors on catalina any one know of a “fix” for pianobar in regards to “zsh: illegal hardware instruction” that I’m getting ;(

]]>
https://discourse.brew.sh/t/pianobar-errors-on-catalina/9322#post_1 Wed, 23 Dec 2020 03:53:08 +0000 discourse.brew.sh-post-23904
How to parse version number without `brew info`? The formulae in homebrew/core/Formula/ don’t have any version function tag to specify the version number like this:

class Hello < Formula
    version "1.2.3"
    ...
end

I read the source code of file info.rb, named_args.rb, Formulary.rb, and software_spec.rb, and did not find a clue.

How can I parse the version number in the DSL-formula ruby file without using brew CLI commands? Does it parse version number from url?

Furthermore, why brew formulae DSL don’t have this tag for version number, but cask do?

]]>
https://discourse.brew.sh/t/how-to-parse-version-number-without-brew-info/9320#post_1 Wed, 23 Dec 2020 03:30:36 +0000 discourse.brew.sh-post-23902
What's the point of "Updating Homebrew"? What kind of usecase that requires installs? Come on :stuck_out_tongue:

Try a big tech team that push a lot of code every day, which then runs in a CI workflow.
Each of those require brew update, which can take anything between 2-6 minutes extra.

Those add up to many hours of extra cpu-usage every month, which costs a lot of money :slight_smile:

I’m wondering why it couldn’t work like npm or rubygems. They install the latest available version available, without taking minutes to pre-update.

]]>
https://discourse.brew.sh/t/whats-the-point-of-updating-homebrew/5395#post_9 Wed, 23 Dec 2020 03:20:40 +0000 discourse.brew.sh-post-23901
Warning: No checksum defined for cask 'google-chrome', skipping verification
Danrancan:

This seems to imply that homebrew isn’t able to verify my google chrome download with a checksum, and my download could potentially be modified by a mitm attack.

The cask doesn’t define a checksum, most likely because it auto updates and therefore the checksum would be constantly out of date (since the download doesn’t specify a version)
https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/google-chrome.rb

Only download software that is build from source and/or don’t download anything that auto updates.

]]>
https://discourse.brew.sh/t/warning-no-checksum-defined-for-cask-google-chrome-skipping-verification/9307#post_2 Tue, 22 Dec 2020 12:07:10 +0000 discourse.brew.sh-post-23897
Brew update "homebrew-core is a shallow clone" Nope, it’s just a change of policy in homebrew

]]>
https://discourse.brew.sh/t/brew-update-homebrew-core-is-a-shallow-clone/9300#post_7 Tue, 22 Dec 2020 12:03:34 +0000 discourse.brew.sh-post-23896
Brew update "homebrew-core is a shallow clone" Awesome! thanks for the reply! So just to be perfectly clear, this is NOT something that I triggered by messing around with my git installation, but rather this is something on homebrews end that is most likely happening to many people by default?

Thanks!

]]>
https://discourse.brew.sh/t/brew-update-homebrew-core-is-a-shallow-clone/9300#post_6 Sun, 20 Dec 2020 05:00:36 +0000 discourse.brew.sh-post-23869
Warning: No checksum defined for cask 'google-chrome', skipping verification On mac OS Catalina, 10.15.7,
When trying to install the google chrome cask, I am getting the following message:
“Warning: No checksum defined for cask ‘google-chrome’, skipping verification.”

This seems to imply that homebrew isn’t able to verify my google chrome download with a checksum, and my download could potentially be modified by a mitm attack.

Why is this happening, and how do I ensure that homebrew checksums and verifies all downloads so that my downloads are verified and secure?

]]>
https://discourse.brew.sh/t/warning-no-checksum-defined-for-cask-google-chrome-skipping-verification/9307#post_1 Sun, 20 Dec 2020 04:56:21 +0000 discourse.brew.sh-post-23868
Brew update "homebrew-core is a shallow clone"
oguzhanvarsak:

Big Sur, 11.1

git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow

my terminal just hangs.

When you hit <Ctrl-C>, do you get the shell prompt back? If so, it didn’t hang; unshallowing requires downloading the entire repo, which is fairly large.

You can set the GIT_TRACE_CURL environment variable to get a trace of what’s being downloaded (it’s VERY verbose, but at least you’l know something’s happening):

GIT_TRACE_CURL=1 git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow

If you didn’t get a “Error: homebrew-cask is a shallow clone”, why are you running this command?

]]>
https://discourse.brew.sh/t/brew-update-homebrew-core-is-a-shallow-clone/9300#post_5 Sun, 20 Dec 2020 03:35:48 +0000 discourse.brew.sh-post-23867
Brew update "homebrew-core is a shallow clone" Big Sur, 11.1

git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow

or

git -C "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask" fetch --unshallow

did not fix the problem. When I use the first one, my terminal just hangs.

Using the second one throws this error :

fatal: --unshallow on a complete repository does not make sense
]]>
https://discourse.brew.sh/t/brew-update-homebrew-core-is-a-shallow-clone/9300#post_4 Sat, 19 Dec 2020 16:03:29 +0000 discourse.brew.sh-post-23866
Extracting formulas by hand when brew extract fails That does help, thanks!

]]>
https://discourse.brew.sh/t/extracting-formulas-by-hand-when-brew-extract-fails/9255#post_4 Sat, 19 Dec 2020 10:31:13 +0000 discourse.brew.sh-post-23864
Brew update "homebrew-core is a shallow clone" Sean has already explained the why, so I’ll just point out that the “how to fix” is also explained in the message you posted:

To brew update , first run:
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow

]]>
https://discourse.brew.sh/t/brew-update-homebrew-core-is-a-shallow-clone/9300#post_3 Sat, 19 Dec 2020 03:22:14 +0000 discourse.brew.sh-post-23862
Problem Installing serde_derive I also ran across this issue when compiling ripgrep and I finally found a solution posted on here , just put this on ~/.cargo/config

[target.x86_64-unknown-linux-gnu]
linker = "/usr/bin/cc"

and it compiled. You can have a try.

]]>
https://discourse.brew.sh/t/problem-installing-serde-derive/7748#post_4 Fri, 18 Dec 2020 14:40:19 +0000 discourse.brew.sh-post-23861
Brew update "homebrew-core is a shallow clone" This is something that Homebrew recently restricted.

This restriction has been made on GitHub’s request because updating shallow
clones is an extremely expensive operation due to the tree layout and traffic of
Homebrew/homebrew-core and Homebrew/homebrew-cask.

]]>
https://discourse.brew.sh/t/brew-update-homebrew-core-is-a-shallow-clone/9300#post_2 Fri, 18 Dec 2020 12:05:50 +0000 discourse.brew.sh-post-23857
Brew update "homebrew-core is a shallow clone" I think I botched my homebrew, or screwed something up. I’m trying to update my installations with “brew update” and it returns the following message:

“Error:
homebrew-core is a shallow clone.
To brew update, first run:
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
This restriction has been made on GitHub’s request because updating shallow
clones is an extremely expensive operation due to the tree layout and traffic of
Homebrew/homebrew-core and Homebrew/homebrew-cask. We don’t do this for you
automatically to avoid repeatedly performing an expensive unshallow operation in
CI systems (which should instead be fixed to not use shallow clones). Sorry for
the inconvenience!”

Could someone explain whats going on here and how to fix it, with a possible explantation of how it may have happened? Last thing I remember doing was screwing around with git, but im not sure what i did, and/or if its related.

Any help is apprecited.

]]>
https://discourse.brew.sh/t/brew-update-homebrew-core-is-a-shallow-clone/9300#post_1 Fri, 18 Dec 2020 08:21:55 +0000 discourse.brew.sh-post-23855
Stuck at "Downloading Command Line Tools for Xcode" Giving the size of the file being downloaded may be helpful to know how long It takes.

]]>
https://discourse.brew.sh/t/stuck-at-downloading-command-line-tools-for-xcode/7311#post_13 Wed, 16 Dec 2020 08:17:31 +0000 discourse.brew.sh-post-23847
Discourse is deprecated This means that you should make a topic on GitHub rather than here. Please don’t make a topic on both.

]]>
https://discourse.brew.sh/t/discourse-is-deprecated/9239#post_4 Tue, 15 Dec 2020 11:03:50 +0000 discourse.brew.sh-post-23843
Impossible to install a created formula I also posted the same message on the GitHub discussion, here: https://github.com/Homebrew/discussions/discussions/286

]]>
https://discourse.brew.sh/t/impossible-to-install-a-created-formula/9289#post_2 Mon, 14 Dec 2020 22:04:46 +0000 discourse.brew.sh-post-23841
Impossible to install a created formula Hello, I created a new formula using

brew create https://gitlab.cern.ch/gaudi/Gaudi/-/archive/v35r0/Gaudi-v35r0.tar.gz  --set-name gaudi

I tried to install it right after and it worked. After some modification to the formula, I obtain the following message when I tried to install it using brew install gaudi

==> Searching for similarly named formulae...
This similarly named formula was found:
gaudi
To install it, run:
  brew install gaudi
Error: No available formula or cask with the name "gaudi".
==> Searching taps on GitHub...
Error: No formulae found in taps.

Any idea why this is happening ?
Thanks,
Quentin

]]>
https://discourse.brew.sh/t/impossible-to-install-a-created-formula/9289#post_1 Mon, 14 Dec 2020 22:01:58 +0000 discourse.brew.sh-post-23840
Mac OSX Homebrew - 'Error: Could not symlink include/node/common.gypi' for the win! - like a charm

]]>
https://discourse.brew.sh/t/mac-osx-homebrew-error-could-not-symlink-include-node-common-gypi/4717#post_18 Mon, 14 Dec 2020 12:11:05 +0000 discourse.brew.sh-post-23835