Homebrew / brew

🍺 The missing package manager for macOS (or Linux)
https://brew.sh
BSD 2-Clause "Simplified" License
41.4k stars 9.74k forks source link

`brew upgrade` fails for _all_ packages when one package errors #16457

Closed corneliusroemer closed 9 months ago

corneliusroemer commented 10 months ago

brew doctor output

brew doctor 
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Some installed kegs have no formulae!
This means they were either deleted or installed manually.
You should find replacements for the following formulae:
  nextclade
  tsv-utils

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  exa
  openssl@1.1

Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:
  /usr/local/lib/liblz4.1.9.3.dylib
  /usr/local/lib/libnw.0.dylib

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected header files:
  /usr/local/include/endian.h
  /usr/local/include/lz4.h
  /usr/local/include/lz4frame.h
  /usr/local/include/lz4frame_static.h
  /usr/local/include/lz4hc.h

Warning: Unbrewed '.la' files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected '.la' files:
  /usr/local/lib/libnw.la

Warning: Unbrewed '.pc' files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected '.pc' files:
  /usr/local/lib/pkgconfig/liblz4.pc

Warning: Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected static libraries:
  /usr/local/lib/liblz4.a
  /usr/local/lib/libnw.a

Warning: You have unlinked kegs in your Cellar.
Leaving kegs unlinked can lead to build-trouble and cause formulae that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  docker

Verification

brew config output

brew config
HOMEBREW_VERSION: 4.2.3-42-g1cbd454
ORIGIN: https://github.com/Homebrew/brew
HEAD: 1cbd454c1c126f658447b340afb92fc806879e28
Last commit: 44 minutes ago
Core tap HEAD: 00223584f40225758caea36a31dd9a4f73aaa328
Core tap last commit: 62 minutes ago
Core tap JSON: 09 Jan 11:12 UTC
Core cask tap HEAD: 18b58e64cb5250481b6980e815a14449d91c98aa
Core cask tap last commit: 52 minutes ago
Core cask tap JSON: 09 Jan 11:12 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 10
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 3.1.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby
CPU: 10-core 64-bit arm_firestorm_icestorm
Clang: 15.0.0 build 1500
Git: 2.43.0 => /opt/homebrew/bin/git
Curl: 8.4.0 => /usr/bin/curl
macOS: 14.2.1-arm64
CLT: 15.1.0.0.1.1700200546
Xcode: 15.1 => /Applications/Xcode-15.1.0.app/Contents/Developer
Rosetta 2: false

What were you trying to do (and why)?

brew upgrade should upgrade all upgradable packages even if the upgrade of a single package fails.

I have currently both (gnu)parallels and moreutils installed. They conflict, as moreutils also installs a parallels. That's fine, I can still link to the one I want on a case by case basis.

However, it's unexpected that upgrades of all packages fail when there's a single conflict. The single conflict shouldn't affect other package upgrades.

What happened (include all command output)?

brew upgrade of all packages aborts

 brew upgrade
==> Upgrading 36 outdated packages:
ffmpeg 6.1_1 -> 6.1.1_2
parallel 20231122 -> 20231222
little-cms2 2.15 -> 2.16
gh 2.40.1 -> 2.41.0
python-setuptools 69.0.2 -> 69.0.3
rclone 1.65.0 -> 1.65.1
clojure/tools/clojure 1.11.1.1429 -> 1.11.1.1435
pipx 1.3.3 -> 1.4.1
python-hatchling 1.20.0 -> 1.21.0
fmt 10.1.1 -> 10.2.1
starship 1.16.0 -> 1.17.1
python-trove-classifiers 2023.11.29 -> 2024.1.8
just 1.17.0 -> 1.22.1
netpbm 11.02.06 -> 11.02.07
aom 3.8.0_1 -> 3.8.0_2
awscli 2.15.4 -> 2.15.8
act 0.2.56 -> 0.2.57
ruby-build 20231211 -> 20231225
hatch 1.9.0 -> 1.9.1
c-ares 1.24.0 -> 1.25.0
open-mpi 5.0.0_1 -> 5.0.1
fontconfig 2.14.2 -> 2.15.0
nushell 0.88.1 -> 0.88.1_1
meson 1.3.0 -> 1.3.1
pypy 7.3.13 -> 7.3.14
libvmaf 2.3.1 -> 3.0.0
rav1e 0.6.6 -> 0.7.0
netlify-cli 17.10.1 -> 17.11.1
inetutils 2.4 -> 2.5
libssh 0.10.5_1 -> 0.10.6
leptonica 1.84.0 -> 1.84.1
ldc 1.35.0 -> 1.36.0
poppler 23.12.0 -> 24.01.0
python@3.11 3.11.6_1 -> 3.11.7
ripgrep 14.0.3 -> 14.1.0
pre-commit 3.6.0 -> 3.6.0_1
==> Downloading https://ghcr.io/v2/homebrew/core/python-setuptools/manifests/69.0.3
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/14ca037c82a1745626864f362cb97989e274b5351e719d09ff4c682441d7393a--python-setuptools-69.0.3.bottle_manifest.json
==> Fetching python-setuptools
==> Downloading https://ghcr.io/v2/homebrew/core/python-setuptools/blobs/sha256:7401711f1383d56eafe4ce69a9f6c80527627a63c6dbe26945eaf778cd14b
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/bd8be1755fb8afb560aabcfc122d838671fe6e038078ef6c59e44caaf1e77268--python-setuptools--69.0.3.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/pre-commit/manifests/3.6.0_1
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/fa9e79208dc0e6be6fd5540ea12c0d8c9c1ca18ee572424d645f6dd9d71970b1--pre-commit-3.6.0_1.bottle_manifest.json
==> Fetching pre-commit
==> Downloading https://ghcr.io/v2/homebrew/core/pre-commit/blobs/sha256:e6161f704e6ca2e2a7c1acbb83cac70098859da72c4a15006aa8733bd7e07ecd
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/27fef5e11800d1be0092eee2f6d8646bc0134986dacc7dd030a5a04741b2f8e9--pre-commit--3.6.0_1.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/parallel/manifests/20231222
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/afa4681730e08deb77a6a44460568b1f8f3d7a7488d3d9766fc61b85bb52b5a7--parallel-20231222.bottle_manifest.json
==> Fetching parallel
==> Downloading https://ghcr.io/v2/homebrew/core/parallel/blobs/sha256:d7c7649c276c0346f9561e820bb08e2e73ab3b79e0995a4048688dbd581f1d80
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/1a6533d26891a5a21ddf4e56058a2a7386862172b5767db39505e3adc07aa138--parallel--20231222.all.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/little-cms2/manifests/2.16
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/c4e2b31b0daade62da1f3c2e57d69f74987bac35310011b87220145fa60b3558--little-cms2-2.16.bottle_manifest.json
==> Fetching little-cms2
==> Downloading https://ghcr.io/v2/homebrew/core/little-cms2/blobs/sha256:d1ed5796de3f00d4b1301e9062cb54b2337c8e8dcf2ae9be8e03f3ed7af791e0
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/32d96523150087261321a183cf82c08345e6b31655d50c04489cd382a18194ca--little-cms2--2.16.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/gh/manifests/2.41.0
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/4b0fe3e0b29efe7c7f3fbb83f6688a89ff48f7fbd6d56cd2a7c721c938d1fd86--gh-2.41.0.bottle_manifest.json
==> Fetching gh
==> Downloading https://ghcr.io/v2/homebrew/core/gh/blobs/sha256:9ef53b4c36e3f096fe2fc8594b6aad1399fbf7b196ce556b01d72dc86a439f2f
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/5b444aebb48667e998bbcc833582bb3853da15d13a72809bba503c8c3b1d02f8--gh--2.41.0.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/rclone/manifests/1.65.1
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/54eb362f13a08eef8c8933dc5f85b69620db45933117e36603ef57e1474436fb--rclone-1.65.1.bottle_manifest.json
==> Fetching rclone
==> Downloading https://ghcr.io/v2/homebrew/core/rclone/blobs/sha256:ab7fc762253a0cfb2c2228c91419668e481f796a31079511b3b10e32a96870b2
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/7024da51abf9443345a632666ba3cab1bbf4f62cd772ad62f62d8cff23e2c5dc--rclone--1.65.1.arm64_sonoma.bottle.tar.gz
==> Fetching clojure/tools/clojure
==> Downloading https://github.com/clojure/brew-install/releases/download/1.11.1.1435/clojure-tools-1.11.1.1435.tar.gz
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/56168ca2eea37779ebfbd7f183c19161da4bb43e5b214a6e38ba6153ab426e9c--clojure-tools-1.11.1.1435.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/pipx/manifests/1.4.1
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/235df9c5e5b8bd1ada4dbd108290bd0812e8dd96bc00a284caf616a7387817d1--pipx-1.4.1.bottle_manifest.json
==> Fetching pipx
==> Downloading https://ghcr.io/v2/homebrew/core/pipx/blobs/sha256:eac6bc2f2132e4725d61f4566a2e6a6503bafa61b7e05f970d3aacc25c0bd70f
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/adb840a05acefcdad1eb6ae531272c10fe8a512e25d6722691c08f937b0d751c--pipx--1.4.1.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/python-trove-classifiers/manifests/2024.1.8
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/00cc9158a238a217d2354f67d82964cfee5a5dab6b3453f4f9040e0be7f9b9fc--python-trove-classifiers-2024.1.8.bottle_manifest.json
==> Fetching python-trove-classifiers
==> Downloading https://ghcr.io/v2/homebrew/core/python-trove-classifiers/blobs/sha256:cdc933cf7b0df167488f813ce9cbec39c9dd1f59e2a228fa21828e
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/2cf8838ee2bc01ae9c203611a45b0dd9b2a70c5772c2e0c21fa876fc1bbe2656--python-trove-classifiers--2024.1.8.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/python-hatchling/manifests/1.21.0
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/5239f19460f481fe3f930bb014f27ac8527e5cde72d3f56c720ecb3c3ec3df07--python-hatchling-1.21.0.bottle_manifest.json
==> Fetching python-hatchling
==> Downloading https://ghcr.io/v2/homebrew/core/python-hatchling/blobs/sha256:e79f1a78b3d9f6d7814edbe5140fcb53bb9076bdc7b15cd89d4131e8b16d41
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/1a4513e7c5fbe71f41ddfe4dcd0de4192829e0ee32191fd657dd647de1d94bd2--python-hatchling--1.21.0.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/fmt/manifests/10.2.1
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/8059969ae23e58cfb7df90e1e5234c6f65934c65212269f56262e95ae4df09cd--fmt-10.2.1.bottle_manifest.json
==> Fetching fmt
==> Downloading https://ghcr.io/v2/homebrew/core/fmt/blobs/sha256:f9dc0c31723eb4f22e1378e8321df1ed4b39911eb5a37a0a76e87e21cc7b89a5
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/28dd8e51ceb0cf1fd0f35331c8afff4365d993147317f64b729150e94089b7a9--fmt--10.2.1.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/starship/manifests/1.17.1
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/38e5681f68cae3b144c5f0ea9ec5fee38cb8121e2e7df27b4027fa3a478cd71e--starship-1.17.1.bottle_manifest.json
==> Fetching starship
==> Downloading https://ghcr.io/v2/homebrew/core/starship/blobs/sha256:58efc19ef25c237ed5d6272fd4dbaa4124901384f80f16dacba99bad617dfab3
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/00578a403c015734ce02ad923d09d96e1a1a5686e1a15809aebb0001e8b5b011--starship--1.17.1.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/just/manifests/1.22.1
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/324f68b8047296af7ae9be4afa14cf7fb2774cb28c28b3448dbb8e6f3bc1ba07--just-1.22.1.bottle_manifest.json
==> Fetching just
==> Downloading https://ghcr.io/v2/homebrew/core/just/blobs/sha256:03fc34c1604edabe9e6bd2fdd56e8f7586ba6e0ea5cd8c006cd7ad32facbf91b
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/a64301ad1945f499f8496ce814c190e96fa786dcf711572b69fc36a46d599c18--just--1.22.1.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/netpbm/manifests/11.02.07
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/12072ebc255d39227a3ceadd8252e55f67e4b1efa03e0ed0b7e07c4a24a010f8--netpbm-11.02.07.bottle_manifest.json
==> Fetching netpbm
==> Downloading https://ghcr.io/v2/homebrew/core/netpbm/blobs/sha256:cd8a19ee2c8e22c28684b49bf64a451c26d916f61b919d86ca33de94678a39bd
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/d2350a6b9c3be006e769028d5f86153356e8dcbd89422d894b50a65a564159ce--netpbm--11.02.07.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/libvmaf/manifests/3.0.0
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/6bf89f1d683f34ff5b4c58275236e1f038d5d8189e538795d9af83e07d4c8404--libvmaf-3.0.0.bottle_manifest.json
==> Fetching libvmaf
==> Downloading https://ghcr.io/v2/homebrew/core/libvmaf/blobs/sha256:bdc90ebc175c1f071be4ce895051586583177c3b1029817dc1078472a3da8261
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/c4784c78ced084fabb452d0bd9ce00a6d0b6f6ba8f0469794a1d1f9bd427419f--libvmaf--3.0.0.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/aom/manifests/3.8.0_2
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/fc73e8ba3608e17623622093bbad0e088137995669e53cd816535eb3bab052d1--aom-3.8.0_2.bottle_manifest.json
==> Fetching aom
==> Downloading https://ghcr.io/v2/homebrew/core/aom/blobs/sha256:4f1ffd5a5e4f7ca84f5e59a8cbd85320f963a6d2cfcda375163e854c8b202a80
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/eb9d2ac236ba6688d4f470efeac385988d28dfca738e3de42cdd4f096e072161--aom--3.8.0_2.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.11/manifests/3.11.7
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/3ea14c4bf50e0fe04bd6aba45093463c7507c4261dbae96cefe33f0af2000404--python@3.11-3.11.7.bottle_manifest.json
==> Fetching python@3.11
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.11/blobs/sha256:a9ee8c1970c06cae9b50038e3f42c12c2375983ff1c75e2f23115c7cbf5f5d98
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/044c3812b5abcfeb04f70863461e101b8a272424940f7a579c4fc396ada63129--python@3.11--3.11.7.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/awscli/manifests/2.15.8
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/1ce116de2f217cb2d84328b88bde9775632eda6af61968ca4a843928e04bb36c--awscli-2.15.8.bottle_manifest.json
==> Fetching awscli
==> Downloading https://ghcr.io/v2/homebrew/core/awscli/blobs/sha256:789043609b58c2671faa45644e5e817dc6b0c7d3035f86fcc3577453dc9f6ac9
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/7c0b8372c534a05db984e6b079719bb2d41e008ef96dd7435c22122653473656--awscli--2.15.8.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/act/manifests/0.2.57
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/d1e424cbf40d5496168f7a451d1c4dcbc0816e87e36cc0c63e7b9b2e90690582--act-0.2.57.bottle_manifest.json
==> Fetching act
==> Downloading https://ghcr.io/v2/homebrew/core/act/blobs/sha256:e169f4a740146c2a89b7388bc7f860f07c00d7f0748adf9d2465c449fe88fa20
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/ee8dd65f1910eb9d7b44b01821df227c63dd99b4cabfce66c07b3eb376c454e1--act--0.2.57.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/ruby-build/manifests/20231225
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/cc8a94ef327b9750daa253f7fbbaed387c30722738ca340c124a47ac1a4cbf92--ruby-build-20231225.bottle_manifest.json
==> Fetching ruby-build
==> Downloading https://ghcr.io/v2/homebrew/core/ruby-build/blobs/sha256:5330e808237c3a94c1dd74c88ee77680ef6338756b66add8fe30f78ecd4bd60f
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/285f0a22e3f017b9d12f397a81276c5c55a84860747faed450bcee5064f698db--ruby-build--20231225.all.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/hatch/manifests/1.9.1
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/0d9ce0c9f59b151cbad13c90820e5f92c96e28c4184789ad1494f850fa4a150b--hatch-1.9.1.bottle_manifest.json
==> Fetching hatch
==> Downloading https://ghcr.io/v2/homebrew/core/hatch/blobs/sha256:0ed49a199c7e3c49533dfb7dc01282c933b65029e940e0bde2e90f0e59a6930a
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/2a89af68b16aa912d4b39c377a9cfbec88100d2d3cc2747826ca72e27f52fc59--hatch--1.9.1.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/c-ares/manifests/1.25.0
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/0eb731bb4c35c132b12a402113bd8502de48fb1390410bbea01881a5d04bfdb4--c-ares-1.25.0.bottle_manifest.json
==> Fetching c-ares
==> Downloading https://ghcr.io/v2/homebrew/core/c-ares/blobs/sha256:00d1179348a7c14de25620f6924596b899228b731118e0f92d67168e9b952da9
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/a583e6e47f8d83f16aaffa8823b260eef783cb43fb2a88d01d2e902d9dda2993--c-ares--1.25.0.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/open-mpi/manifests/5.0.1
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/d37310dd8a6e7e5fdd23b571e81fba076e51c7a841d267acf6c3f6924d1eee4e--open-mpi-5.0.1.bottle_manifest.json
==> Fetching open-mpi
==> Downloading https://ghcr.io/v2/homebrew/core/open-mpi/blobs/sha256:5b7047332a0bb6901d3214f49108707d7a014c2bb56158cbab2eec35a133384e
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/88f061d8f1ed64b1670b0761fb8c0ac2d5c02ab63d10cb37313d6adbb61ec52e--open-mpi--5.0.1.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/fontconfig/manifests/2.15.0
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/33d176010dc9a105404ed23b6c0f8b853bf3a2df2e274876d412d7229a643320--fontconfig-2.15.0.bottle_manifest.json
==> Fetching fontconfig
==> Downloading https://ghcr.io/v2/homebrew/core/fontconfig/blobs/sha256:4732e8c8cd6f940fa3ace12a5a5428baaef29bdccf9bc520fa4d37a1f0bf639c
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/a5dac76f34db471d5969cfc318e24f79ef0e2eb545580ef915f63c841c65e449--fontconfig--2.15.0.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/nushell/manifests/0.88.1_1
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/7c1716127dfc87463e54eafceffb270f50aef4a82e1ea5f62ad773f236e30680--nushell-0.88.1_1.bottle_manifest.json
==> Fetching nushell
==> Downloading https://ghcr.io/v2/homebrew/core/nushell/blobs/sha256:2a468c23570ebb831562c642a7be08638d753f7128ff528ed194f6a540d431c8
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/2f318c3d94b1f73c22158437693251f193e1d191c47aec6668872d65c0078bd4--nushell--0.88.1_1.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/meson/manifests/1.3.1
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/4c9be34278d9d19e2839fce53a752d5084b2deb16aeb1502a21ed739c015795e--meson-1.3.1.bottle_manifest.json
==> Fetching meson
==> Downloading https://ghcr.io/v2/homebrew/core/meson/blobs/sha256:949ec0bb552146f962e41086b6b827e6d1bc7d130616361c472d1313afdd257f
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/7e5310b24c347708caeed73c5bbe4d6e0ba43fe2676636af60a44238bc588178--meson--1.3.1.all.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/pypy/manifests/7.3.14
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/b3360ddcb68ae19c58152401205f75a9872568adf4a5533a744f41ef90da9006--pypy-7.3.14.bottle_manifest.json
==> Fetching pypy
==> Downloading https://ghcr.io/v2/homebrew/core/pypy/blobs/sha256:980de64964f74c9084db56aead1acaa0243144e74d5f2cc4caed61e2325d384b
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/868915c5c0eb04761a224eec0b3c55ef53a79c0f2be64db0160e70d68f1b6917--pypy--7.3.14.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/rav1e/manifests/0.7.0
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/450b2af5ece635ee8b0fe407f037f1a2cbfb0dc52eeb23849e68fb3bc2ed7b15--rav1e-0.7.0.bottle_manifest.json
==> Fetching rav1e
==> Downloading https://ghcr.io/v2/homebrew/core/rav1e/blobs/sha256:89a6defda3ed9f7d8da30ba2eece54650748b01cca5b0de4c7a77b069db370c5
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/ba6879f326684117649e8e9ad676e7c1d4b8573b47452298cdf95d95e1834a89--rav1e--0.7.0.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/netlify-cli/manifests/17.11.1
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/297245d715aaa0fc1d1e47de229d8cfdea84e32690325d4d543a9cd9f02100ec--netlify-cli-17.11.1.bottle_manifest.json
==> Fetching netlify-cli
==> Downloading https://ghcr.io/v2/homebrew/core/netlify-cli/blobs/sha256:9fcbe82621440a51f721b7cbe0a334a55916a0b157f66153af69d643388e1905
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/08468977505a16a98f48dc671929732eab85d2e83f420cb6d7005189c029ffbe--netlify-cli--17.11.1.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/inetutils/manifests/2.5
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/42ca3b9ddd4c75c573912245731f7931d5c89e98cf64697faa44586c33283ba3--inetutils-2.5.bottle_manifest.json
==> Fetching inetutils
==> Downloading https://ghcr.io/v2/homebrew/core/inetutils/blobs/sha256:eb362cd58b231f8472ff804a0556c2d028803781e66019f1aeb6faf8e60263ae
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/f12c7793af18f2f7995082e13b0396d2a16f2d7f3f831659219b46d85a434419--inetutils--2.5.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/libssh/manifests/0.10.6
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/a4ff6d890d834da2f865bf30651aa0ed1423be8e2684d4586895f1d9c887449b--libssh-0.10.6.bottle_manifest.json
==> Fetching libssh
==> Downloading https://ghcr.io/v2/homebrew/core/libssh/blobs/sha256:f46550586eea1bbce8a418c9ce7621909aaad4b96d98004289ea12ccd4593201
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/2377b5ad5b2133feefa8f141339bd88f98b02a5ffa1d3fbd9e7091c369401782--libssh--0.10.6.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/leptonica/manifests/1.84.1
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/dc88f036b102e560c7103a72d25bc9ac6cc15c37284c0a81cd30f4fc0281eaa9--leptonica-1.84.1.bottle_manifest.json
==> Fetching leptonica
==> Downloading https://ghcr.io/v2/homebrew/core/leptonica/blobs/sha256:67fe34fb9fbd1191142dc8415dc1c3bacc7a8cb427dc3d769f6c5d8b1351cbe7
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/c64d79e027aa90378d2301f03069ddbfcce6e82346b4e3f17777a41d228cc7e3--leptonica--1.84.1.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/ldc/manifests/1.36.0
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/ed2c5eea583bd61b3ae7bc5e0e199a5a434b887da13d6ff4bf84fd9fde3a0141--ldc-1.36.0.bottle_manifest.json
==> Fetching ldc
==> Downloading https://ghcr.io/v2/homebrew/core/ldc/blobs/sha256:707f8d47e36ecc8c2c617f22890a62ef3d93f558a562cabfb3921f25d886832a
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/ac8ce0898f43f529b32af26cc6d3095057f4fe614ad76ab6fbbe8396253f2f60--ldc--1.36.0.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/poppler/manifests/24.01.0
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/684d3e20f7e8a4172f655611654965be137867e988922fc2e7cfc0e447d0d510--poppler-24.01.0.bottle_manifest.json
==> Fetching poppler
==> Downloading https://ghcr.io/v2/homebrew/core/poppler/blobs/sha256:c3bf0020b07aa2d33d6ed2f00aff7a08746e3e15e6dee09128978d0b8c7ef9c4
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/ebfab2c993b103e6f250d3c2de4dbe73fc413dc6efc771daea0137ea36808c6a--poppler--24.01.0.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/ripgrep/manifests/14.1.0
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/f50d49f608a30ed452f950d879f7f0d55c20f9b9271cf6b0a6a697e788211b3d--ripgrep-14.1.0.bottle_manifest.json
==> Fetching ripgrep
==> Downloading https://ghcr.io/v2/homebrew/core/ripgrep/blobs/sha256:22cc1f3423a7fddb550fb94bd2715ce5455076d17f2c88ef0c157749ea4b87d6
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/8a106c99c06844b2204786007aa71dafe65f1254cbc100a7d2081b7057b54372--ripgrep--14.1.0.arm64_sonoma.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/ffmpeg/manifests/6.1.1_2-1
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/38a7fb1a94efc0335921f123de53cc6d997d858623e10d0c90c457a9bfac57d8--ffmpeg-6.1.1_2-1.bottle_manifest.json
==> Fetching ffmpeg
==> Downloading https://ghcr.io/v2/homebrew/core/ffmpeg/blobs/sha256:2c48104abe3cd1a93a70b3f348436b4ad13f049a627e42d600a3bcd45d36f029
Already downloaded: /Users/corneliusromer/Library/Caches/Homebrew/downloads/39d97c069c1e3c92ed363e5490e961382e82040d0e54e6d4751fdd700097d4c0--ffmpeg--6.1.1_2.arm64_sonoma.bottle.1.tar.gz
==> Upgrading python-setuptools
  69.0.2 -> 69.0.3 

==> Pouring python-setuptools--69.0.3.arm64_sonoma.bottle.tar.gz
🍺  /opt/homebrew/Cellar/python-setuptools/69.0.3: 262 files, 2.9MB
==> Running `brew cleanup python-setuptools`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
Removing: /opt/homebrew/Cellar/python-setuptools/69.0.2... (263 files, 3.0MB)
==> Upgrading pre-commit
  3.6.0 -> 3.6.0_1 

==> Pouring pre-commit--3.6.0_1.arm64_sonoma.bottle.tar.gz
🍺  /opt/homebrew/Cellar/pre-commit/3.6.0_1: 142 files, 802.4KB
==> Running `brew cleanup pre-commit`...
Removing: /opt/homebrew/Cellar/pre-commit/3.6.0... (208 files, 1.4MB)
==> Upgrading parallel
  20231122 -> 20231222 

Error: Cannot install parallel because conflicting formulae are installed.
  moreutils: because both install a `parallel` executable

Please `brew unlink moreutils` before continuing.

Unlinking removes a formula's symlinks from /opt/homebrew. You can
link the formula again after the install finishes. You can --force this
install, but the build may fail or cause obscure side effects in the
resulting software.

What did you expect to happen?

brew upgrade works for all but parallels

Step-by-step reproduction instructions (by running brew commands)

1. Install a bunch of packages
2. Install `brew install moreutils`
3. Install `brew install parallel`
4. Wait a day so that some of the packages should get upgrades
5. Run `brew update && brew upgrade`

Workaround

I get that the upgrade command is meant to be a transaction, it either works for all or fails. But this is not quite clear from the terminal output. When brew errors, it should say that all the upgrades that were printed above have been rolled back.

MikeMcQuaid commented 10 months ago

However, it's unexpected that upgrades of all packages fail when there's a single conflict.

This is not the case. It will, however, fail on the first upgrade failure. If the one failing here happened to be the last: it would not have failed.

I get that the upgrade command is meant to be a transaction, it either works for all or fails.

This is also not the case. It will upgrade as much as possible. There's no rollbacks possible here really (as-is, at least).

github-actions[bot] commented 9 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.