postgresqlをHomebrewでインストールしようとしたらエラーが発生した

はじめに

(venv) Mac:python shibatahiroshitaka$ brew install postgresql
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 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!
==> Downloading https://formulae.brew.sh/api/formula.jws.json
######################################################################## 100.0%
==> Downloading https://formulae.brew.sh/api/cask.jws.json
######################################################################## 100.0%
Error: postgresql: Invalid bottle tag symbol

エラーの内容

Homebrewのhomebrew-coreリポジトリが「shallow clone(浅いクローン)」であるため、更新やインストールができない状態。以下の太字部分がそれに該当する。

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 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!
==> Downloading https://formulae.brew.sh/api/formula.jws.json
######################################################################## 100.0%
==> Downloading https://formulae.brew.sh/api/cask.jws.json
######################################################################## 100.0%
Error: postgresql: Invalid bottle tag symbol

もう一つのエラーが以下の太字部分。brew側のフォーミュラ情報とシステムのタグが噛み合っていない可能性がある。

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 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!
==> Downloading https://formulae.brew.sh/api/formula.jws.json
######################################################################## 100.0%
==> Downloading https://formulae.brew.sh/api/cask.jws.json
######################################################################## 100.0%
Error: postgresql: Invalid bottle tag symbol

エラー文でおすすめされた解決コマンドを実行

brew updateをする必要があるみたいだが、そのためには、「git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch –unshallow」を叩く必要があるみたいだ。

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 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!
==> Downloading https://formulae.brew.sh/api/formula.jws.json
######################################################################## 100.0%
==> Downloading https://formulae.brew.sh/api/cask.jws.json
######################################################################## 100.0%
Error: postgresql: Invalid bottle tag symbol

以下の注意書きにある通り、数分かかるみたいだから、しばらく待っていよう。

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 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!
==> Downloading https://formulae.brew.sh/api/formula.jws.json
######################################################################## 100.0%
==> Downloading https://formulae.brew.sh/api/cask.jws.json
######################################################################## 100.0%
Error: postgresql: Invalid bottle tag symbol

浅いクローンとは

Gitにおける履歴を一部だけ取得するクローン方法のこと。通常のgit cloneはリポジトリの全履歴を取得する。

以下のようなコマンドが浅いクローン。

git clone --depth 1 https://github.com/example/repo.git

以下のコマンドで後から履歴を追加できる。(全履歴を取得できる)

git fetch --unshallow

かなり時間がかかっている

やはり、かなり時間がかかっている。

順調に進んでいる。

完了した(数十分はかかった)。

これでHomebrewをアップデートする

herokuがアップデートできなかったみたいだが、homebrew/coreはアップデートできたようだ。

brew install postgresqlを再実施

かなりいろんな処理が走っていたが、上手くいったみたい。

ここでしばらく止まっていた。(最初はmakeで止まっていたが、その次の処理も走った)

着実に進んでいる。

本丸のpostgresql@14のdependency(依存モジュール)のインストールが完了して、postgresql@14のインストールが始まったようだ。

完了したみたいだ。

あとでGPTに聞くようにログをとっておこう。

(venv) Mac:python shibatahiroshitaka$ brew install postgresql
Warning: You are using macOS 11.
We (and Apple) do not provide support for this old version.
It is expected behaviour that some formulae will fail to build in this old version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.

==> Downloading https://formulae.brew.sh/api/formula_tap_migrations.jws.json
==> Fetching dependencies for postgresql@14: icu4c@77, ca-certificates, openssl@3, krb5, lz4, readline and pkgconf
==> Fetching icu4c@77
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/5b86ebb9cef87ac02bb8226cd75a5059a12ff844/Formula/i
#################################################################################################################### 100.0%
==> Downloading https://github.com/unicode-org/icu/releases/download/release-77-1/icu4c-77_1-src.tgz
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/49244766/8528a6f8-6275-40
#################################################################################################################### 100.0%
==> Fetching ca-certificates
==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/manifests/2025-02-25
#################################################################################################################### 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/blobs/sha256:8f46fb05f753f80f2bc398c0a24b10d680bd77d496e2b
#################################################################################################################### 100.0%
==> Fetching openssl@3
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/5b86ebb9cef87ac02bb8226cd75a5059a12ff844/Formula/o
#################################################################################################################### 100.0%
==> Downloading https://github.com/openssl/openssl/releases/download/openssl-3.4.1/openssl-3.4.1.tar.gz
==> Downloading from https://objects.githubusercontent.com/github-production-release-asset-2e65be/7634677/521125e0-d4bc-4b7
#################################################################################################################### 100.0%
==> Fetching krb5
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/5b86ebb9cef87ac02bb8226cd75a5059a12ff844/Formula/k
#################################################################################################################### 100.0%
==> Downloading https://kerberos.org/dist/krb5/1.21/krb5-1.21.3.tar.gz
#################################################################################################################### 100.0%
==> Fetching lz4
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/5b86ebb9cef87ac02bb8226cd75a5059a12ff844/Formula/l
#################################################################################################################### 100.0%
==> Downloading https://github.com/lz4/lz4/archive/refs/tags/v1.10.0.tar.gz
==> Downloading from https://codeload.github.com/lz4/lz4/tar.gz/refs/tags/v1.10.0
#################################################################################################################### 100.0%
==> Fetching readline
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/5b86ebb9cef87ac02bb8226cd75a5059a12ff844/Formula/r
#################################################################################################################### 100.0%
==> Downloading https://ftp.gnu.org/gnu/readline/readline-8.2-patches/readline82-001
#################################################################################################################### 100.0%
==> Downloading https://ftp.gnu.org/gnu/readline/readline-8.2-patches/readline82-002
#################################################################################################################### 100.0%
==> Downloading https://ftp.gnu.org/gnu/readline/readline-8.2-patches/readline82-003
#################################################################################################################### 100.0%
==> Downloading https://ftp.gnu.org/gnu/readline/readline-8.2-patches/readline82-004
#################################################################################################################### 100.0%
==> Downloading https://ftp.gnu.org/gnu/readline/readline-8.2-patches/readline82-005
#################################################################################################################### 100.0%
==> Downloading https://ftp.gnu.org/gnu/readline/readline-8.2-patches/readline82-006
#################################################################################################################### 100.0%
==> Downloading https://ftp.gnu.org/gnu/readline/readline-8.2-patches/readline82-007
#################################################################################################################### 100.0%
==> Downloading https://ftp.gnu.org/gnu/readline/readline-8.2-patches/readline82-008
#################################################################################################################### 100.0%
==> Downloading https://ftp.gnu.org/gnu/readline/readline-8.2-patches/readline82-009
#################################################################################################################### 100.0%
==> Downloading https://ftp.gnu.org/gnu/readline/readline-8.2-patches/readline82-010
#################################################################################################################### 100.0%
==> Downloading https://ftp.gnu.org/gnu/readline/readline-8.2-patches/readline82-011
#################################################################################################################### 100.0%
==> Downloading https://ftp.gnu.org/gnu/readline/readline-8.2-patches/readline82-012
#################################################################################################################### 100.0%
==> Downloading https://ftp.gnu.org/gnu/readline/readline-8.2-patches/readline82-013
#################################################################################################################### 100.0%
==> Downloading https://ftp.gnu.org/gnu/readline/readline-8.2.tar.gz
#################################################################################################################### 100.0%
==> Fetching pkgconf
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/5b86ebb9cef87ac02bb8226cd75a5059a12ff844/Formula/p
#################################################################################################################### 100.0%
==> Downloading https://distfiles.ariadne.space/pkgconf/pkgconf-2.4.3.tar.xz
#################################################################################################################### 100.0%
==> Fetching postgresql@14
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/5b86ebb9cef87ac02bb8226cd75a5059a12ff844/Formula/p
#################################################################################################################### 100.0%
==> Downloading https://ftp.postgresql.org/pub/source/v14.17/postgresql-14.17.tar.bz2
#################################################################################################################### 100.0%
==> Downloading https://formulae.brew.sh/api/cask_tap_migrations.jws.json
==> Installing dependencies for postgresql@14: pkgconf, icu4c@77, ca-certificates, openssl@3, krb5, lz4 and readline
==> Installing postgresql@14 dependency: pkgconf
==> ./configure --disable-silent-rules --with-pkg-config-dir=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/p
==> make
==> make install
🍺  /usr/local/Cellar/pkgconf/2.4.3: 27 files, 424.5KB, built in 20 seconds
==> Installing postgresql@14 dependency: icu4c@77
==> ./configure --disable-samples --disable-tests --enable-static --with-library-bits=64
==> make
==> make install
==> Downloading https://formulae.brew.sh/api/formula.jws.json
🍺  /usr/local/Cellar/icu4c@77/77.1: 277 files, 80.7MB, built in 3 minutes 43 seconds
==> Installing postgresql@14 dependency: ca-certificates
==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/manifests/2025-02-25
Already downloaded: /Users/shibatahiroshitaka/Library/Caches/Homebrew/downloads/6c1debb525d4dc6007afae4cd2b772105111632b22fc28506550f6dfe27c6d52--ca-certificates-2025-02-25.bottle_manifest.json
==> Pouring ca-certificates--2025-02-25.all.bottle.tar.gz
==> Regenerating CA certificate bundle from keychain, this may take a while...
🍺  /usr/local/Cellar/ca-certificates/2025-02-25: 4 files, 235.9KB
==> Installing postgresql@14 dependency: openssl@3
==> perl ./Configure --prefix=/usr/local/Cellar/openssl@3/3.4.1 --openssldir=/usr/local/etc/openssl@3 --libdir=lib no-ssl3 
==> make
==> make install MANDIR=/usr/local/Cellar/openssl@3/3.4.1/share/man MANSUFFIX=ssl
==> make HARNESS_JOBS=8 test TESTS=-test_afalg
==> Downloading https://formulae.brew.sh/api/formula.jws.json
🍺  /usr/local/Cellar/openssl@3/3.4.1: 7,227 files, 34MB, built in 7 minutes 25 seconds
==> Installing postgresql@14 dependency: krb5
==> ./configure --disable-nls --disable-silent-rules --without-system-verto --without-keyutils
==> make
==> make install
🍺  /usr/local/Cellar/krb5/1.21.3: 163 files, 5.2MB, built in 1 minute 33 seconds
==> Installing postgresql@14 dependency: lz4
==> make install PREFIX=/usr/local/Cellar/lz4/1.10.0
🍺  /usr/local/Cellar/lz4/1.10.0: 24 files, 810.9KB, built in 8 seconds
==> Installing postgresql@14 dependency: readline
==> Patching
==> Applying readline82-001
==> Applying readline82-002
==> Applying readline82-003
==> Applying readline82-004
==> Applying readline82-005
==> Applying readline82-006
==> Applying readline82-007
==> Applying readline82-008
==> Applying readline82-009
==> Applying readline82-010
==> Applying readline82-011
==> Applying readline82-012
==> Applying readline82-013
==> ./configure --with-curses
==> make install SHLIB_LIBS=-lcurses
🍺  /usr/local/Cellar/readline/8.2.13: 51 files, 1.7MB, built in 24 seconds
==> Installing postgresql@14
==> ./configure --datadir=/usr/local/share/postgresql@14 --libdir=/usr/local/lib/postgresql@14 --includedir=/usr/local/incl
==> make
==> make install-world datadir=/usr/local/Cellar/postgresql@14/14.17_1/share/postgresql@14 libdir=/usr/local/Cellar/postgre
==> /usr/local/Cellar/postgresql@14/14.17_1/bin/initdb --locale=C -E UTF-8 /usr/local/var/postgresql@14
==> Caveats
This formula has created a default database cluster with:
  initdb --locale=C -E UTF-8 /usr/local/var/postgresql@14

To start postgresql@14 now and restart at login:
  brew services start postgresql@14
Or, if you don't want/need a background service you can just run:
  /usr/local/opt/postgresql@14/bin/postgres -D /usr/local/var/postgresql@14
==> Summary
🍺  /usr/local/Cellar/postgresql@14/14.17_1: 3,330 files, 46MB, built in 3 minutes 2 seconds
==> Running `brew cleanup postgresql@14`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
Removing: /Users/shibatahiroshitaka/Library/Caches/Homebrew/postgresql@14--14.17.tar.bz2... (21.4MB)
Warning: The following dependents of upgraded formulae are outdated but will not
be upgraded because they are not bottled:
  ruby-build
==> Upgrading 1 dependent of upgraded formulae:
Disable this behaviour by setting HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
rbenv 1.2.0 -> 1.3.2
==> Downloading https://ghcr.io/v2/homebrew/core/rbenv/manifests/1.3.2
#################################################################################################################### 100.0%
==> Fetching dependencies for rbenv: autoconf, libyaml and ruby-build
==> Fetching autoconf
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/5b86ebb9cef87ac02bb8226cd75a5059a12ff844/Formula/a
#################################################################################################################### 100.0%
==> Downloading https://ftp.gnu.org/gnu/autoconf/autoconf-2.72.tar.gz
#################################################################################################################### 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/libyaml/manifests/0.2.5
#################################################################################################################### 100.0%
==> Fetching libyaml
==> Downloading https://ghcr.io/v2/homebrew/core/libyaml/blobs/sha256:83547fba540a38c30705a59a2e746952c68857212e823c6ee97c1
#################################################################################################################### 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/ruby-build/manifests/20250318
#################################################################################################################### 100.0%
==> Fetching dependencies for ruby-build: autoconf
==> Fetching ruby-build
==> Downloading https://ghcr.io/v2/homebrew/core/ruby-build/blobs/sha256:e9dde402265ab83d57775e21fa57cb285fb04b8f4ec33fdffe
#################################################################################################################### 100.0%
==> Fetching rbenv
==> Downloading https://ghcr.io/v2/homebrew/core/rbenv/blobs/sha256:8158fb1f059c1316523b2cc9074c5c041b3944828dc3b76cb032f89
#################################################################################################################### 100.0%
==> Upgrading rbenv
  1.2.0 -> 1.3.2 
==> Installing dependencies for rbenv: autoconf, libyaml and ruby-build
==> Installing rbenv dependency: autoconf
==> ./configure --with-lispdir=/usr/local/Cellar/autoconf/2.72/share/emacs/site-lisp/autoconf
==> make install
🍺  /usr/local/Cellar/autoconf/2.72: 72 files, 3.6MB, built in 6 seconds
==> Installing rbenv dependency: libyaml
==> Downloading https://ghcr.io/v2/homebrew/core/libyaml/manifests/0.2.5
Already downloaded: /Users/shibatahiroshitaka/Library/Caches/Homebrew/downloads/5f6b0af1730aa1bc02f8021c90ed7ffe988eeba95eec83e6c828f77332ba6406--libyaml-0.2.5.bottle_manifest.json
==> Pouring libyaml--0.2.5.big_sur.bottle.tar.gz
🍺  /usr/local/Cellar/libyaml/0.2.5: 11 files, 351KB
==> Installing rbenv dependency: ruby-build
==> Downloading https://ghcr.io/v2/homebrew/core/ruby-build/manifests/20250318
Already downloaded: /Users/shibatahiroshitaka/Library/Caches/Homebrew/downloads/f3ef860c46e440b511e61d8623e07a5c62357bacf4da4b0c3af438b146795210--ruby-build-20250318.bottle_manifest.json
==> Pouring ruby-build--20250318.all.bottle.tar.gz
🍺  /usr/local/Cellar/ruby-build/20250318: 643 files, 352.1KB
==> Installing rbenv
==> Pouring rbenv--1.3.2.all.bottle.tar.gz
🍺  /usr/local/Cellar/rbenv/1.3.2: 36 files, 70.6KB
==> Running `brew cleanup rbenv`...
Removing: /usr/local/Cellar/rbenv/1.2.0... (35 files, 106.8KB)
Removing: /Users/shibatahiroshitaka/Library/Caches/Homebrew/rbenv_bottle_manifest--1.2.0... (12.7KB)
Removing: /Users/shibatahiroshitaka/Library/Caches/Homebrew/rbenv--1.2.0... (20.3KB)
==> Checking for dependents of upgraded formulae...
==> No broken dependents found!
==> `brew cleanup` has not been run in the last 30 days, running now...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
Removing: /usr/local/Cellar/autoconf/2.71... (71 files, 3.2MB)
Removing: /Users/shibatahiroshitaka/Library/Caches/Homebrew/autoconf_bottle_manifest--2.71... (11.7KB)
Removing: /Users/shibatahiroshitaka/Library/Caches/Homebrew/autoconf--2.71... (948.6KB)
Removing: /Users/shibatahiroshitaka/Library/Caches/Homebrew/git-secrets_bottle_manifest--1.3.0... (10.6KB)
Removing: /Users/shibatahiroshitaka/Library/Caches/Homebrew/git-secrets--1.3.0... (20.3KB)
Removing: /Users/shibatahiroshitaka/Library/Caches/Homebrew/m4_bottle_manifest--1.4.19... (8.7KB)
Removing: /Users/shibatahiroshitaka/Library/Caches/Homebrew/m4--1.4.19... (257.8KB)
Removing: /usr/local/Cellar/pkg-config/0.29.2_3... (11 files, 656.9KB)
Removing: /usr/local/Cellar/readline/8.2.1... (50 files, 1.7MB)
Removing: /Users/shibatahiroshitaka/Library/Caches/Homebrew/readline_bottle_manifest--8.2.1... (8.6KB)
Removing: /Users/shibatahiroshitaka/Library/Caches/Homebrew/readline--8.2.1... (549.2KB)
Removing: /Users/shibatahiroshitaka/Library/Caches/Homebrew/readline--patch--1ea434957d6ec3a7b61763f1f3552dad0ebdd6754d65888b5cd6d80db3a788a8... (5.6KB)
Removing: /Users/shibatahiroshitaka/Library/Caches/Homebrew/readline--patch--24f587ba46b46ed2b1868ccaf9947504feba154bb8faabd4adaea63ef7e6acb0... (1.2KB)
Removing: /Users/shibatahiroshitaka/Library/Caches/Homebrew/readline--patch--3d9885e692e1998523fd5c61f558cecd2aafd67a07bd3bfe1d7ad5a31777a116... (2.2KB)
Removing: /Users/shibatahiroshitaka/Library/Caches/Homebrew/readline--patch--5911a5b980d7900aabdbee483f86dab7056851e6400efb002776a0a4a1bab6f6... (1.4KB)
Removing: /Users/shibatahiroshitaka/Library/Caches/Homebrew/readline--patch--622ba387dae5c185afb4b9b20634804e5f6c1c6e5e87ebee7c35a8f065114c99... (1.5KB)
Removing: /Users/shibatahiroshitaka/Library/Caches/Homebrew/readline--patch--6c8adf8ed4a2ca629f7fd11301ed6293a6248c9da0c674f86217df715efccbd3... (2.8KB)
Removing: /Users/shibatahiroshitaka/Library/Caches/Homebrew/readline--patch--758e2ec65a0c214cfe6161f5cde3c5af4377c67d820ea01d13de3ca165f67b4c... (2.6KB)
Removing: /Users/shibatahiroshitaka/Library/Caches/Homebrew/readline--patch--79572eeaeb82afdc6869d7ad4cba9d4f519b1218070e17fa90bbecd49bd525ac... (1.7KB)
Removing: /Users/shibatahiroshitaka/Library/Caches/Homebrew/readline--patch--a177edc9d8c9f82e8c19d0630ab351f3fd1b201d655a1ddb5d51c4cee197b26a... (1.7KB)
Removing: /Users/shibatahiroshitaka/Library/Caches/Homebrew/readline--patch--bbf97f1ec40a929edab5aa81998c1e2ef435436c597754916e6a5868f273aff7... (1.2KB)
Removing: /Users/shibatahiroshitaka/Library/Caches/Homebrew/readline--patch--c7b45ff8c0d24d81482e6e0677e81563d13c74241f7b86c4de00d239bc81f5a1... (3.0KB)
Removing: /Users/shibatahiroshitaka/Library/Caches/Homebrew/readline--patch--e0013d907f3a9e6482cc0934de1bd82ee3c3c4fd07a9646aa9899af237544dd7... (1.8KB)
Removing: /Users/shibatahiroshitaka/Library/Caches/Homebrew/readline--patch--e06503822c62f7bc0d9f387d4c78c09e0ce56e53872011363c74786c7cd4c053... (1.1KB)
Removing: /usr/local/Cellar/ruby-build/20230309... (574 files, 297.5KB)
Removing: /Users/shibatahiroshitaka/Library/Caches/Homebrew/ruby-build_bottle_manifest--20230309... (2KB)
Removing: /Users/shibatahiroshitaka/Library/Caches/Homebrew/ruby-build--20230309... (60.6KB)
Removing: /Users/shibatahiroshitaka/Library/Caches/Homebrew/pkg-config--0.29.2_3... (239.6KB)
Removing: /Users/shibatahiroshitaka/Library/Caches/Homebrew/portable-ruby-2.6.8_1.el_capitan.bottle.tar.gz... (8.8MB)
Removing: /Users/shibatahiroshitaka/Library/Caches/Homebrew/pkg-config_bottle_manifest--0.29.2_3... (9.2KB)
Removing: /Users/shibatahiroshitaka/Library/Logs/Homebrew/pkg-config... (64B)
Removing: /Users/shibatahiroshitaka/Library/Logs/Homebrew/ruby-build... (64B)
Removing: /Users/shibatahiroshitaka/Library/Logs/Homebrew/m4... (64B)
Removing: /Users/shibatahiroshitaka/Library/Logs/Homebrew/git-secrets... (64B)
Removing: /Users/shibatahiroshitaka/Library/Logs/Homebrew/rbenv... (64B)
Removing: /usr/local/lib/python3.7/site-packages/__pycache__/easy_install.cpython-37.pyc... (283B)
Removing: /usr/local/lib/python3.7/site-packages/__pycache__/sitecustomize.cpython-37.pyc... (1.4KB)
Pruned 5 symbolic links and 1 directories from /usr/local
==> Caveats
==> postgresql@14
This formula has created a default database cluster with:
  initdb --locale=C -E UTF-8 /usr/local/var/postgresql@14

To start postgresql@14 now and restart at login:
  brew services start postgresql@14
Or, if you don't want/need a background service you can just run:
  /usr/local/opt/postgresql@14/bin/postgres -D /usr/local/var/postgresql@14

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です