Skip to content

Installing podman-compose via brew overwrites non-brew podman with brew podman #1304

@mjgs

Description

@mjgs

Describe the bug
I have podman installed direct from podman.io. I installed podman-compose via brew, and found afterwards that it had installed the brew version of podman over the top of my podman.io version of podman.

To Reproduce

  1. Install podman from podman.io.
  2. Check where podman is installed: which podman
  3. Install podman-compose: brew install podman-compose
  4. Check where podman is installed: which podman

Results from (2) and (4) are different.

Expected behavior
The podman installed on the system before podman-compose install should be the same as the podman installed after install of podman-compose.

Actual behavior
The podman installed on the system had been changed to the brew version of podman.

Output

Marks-MacBook-Air:~ mjgs$ podman-compose version
podman-compose version 1.5.0
podman version 5.6.1
Marks-MacBook-Air:~ mjgs$ podman-compose version
podman-compose version 1.5.0
podman version 5.6.1
Marks-MacBook-Air:~ mjgs$ podman --version
podman version 5.6.1

Environment:

  • OS: Mac

Additional context

Marks-MacBook-Air:~ mjgs$ which podman
/opt/podman/bin/podman
Marks-MacBook-Air:~ mjgs$ brew list | grep podman
Marks-MacBook-Air:~ mjgs$ brew install podman-compose
==> Auto-updating Homebrew...
Adjust how often this is run with `$HOMEBREW_AUTO_UPDATE_SECS` or disable with
`$HOMEBREW_NO_AUTO_UPDATE=1`. Hide these hints with `$HOMEBREW_NO_ENV_HINTS=1` (see `man brew`).
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> New Formulae
libselinux: SELinux library and simple utilities
libsepol: SELinux binary policy manipulation library
==> New Casks
livebook@nightly: Code notebooks for Elixir developers

You have 13 outdated formulae and 1 outdated cask installed.

==> Fetching downloads for: podman-compose
==> Downloading https://ghcr.io/v2/homebrew/core/podman-compose/manifests/1.5.0
Already downloaded: /Users/mjgs/Library/Caches/Homebrew/downloads/01bfeef18938ed60acaa2dca124839ec86ff7424b4ca27fa6d82267e233269dc--podman-compose-1.5.0.bottle_manifest.json
==> Fetching dependencies for podman-compose: libyaml, podman, mpdecimal, sqlite, xz and python@3.13
==> Downloading https://ghcr.io/v2/homebrew/core/libyaml/manifests/0.2.5
Already downloaded: /Users/mjgs/Library/Caches/Homebrew/downloads/5f6b0af1730aa1bc02f8021c90ed7ffe988eeba95eec83e6c828f77332ba6406--libyaml-0.2.5.bottle_manifest.json
==> Fetching libyaml
==> Downloading https://ghcr.io/v2/homebrew/core/libyaml/blobs/sha256:0ec9bf8082245c008803b42dcae3e6a0c8cd7a67aed589d9b6482b115c0a543b
Already downloaded: /Users/mjgs/Library/Caches/Homebrew/downloads/714824fd2c3af06b40ceca40761539ad604f4fa3f8a5b4b29d4ad0fc10157851--libyaml--0.2.5.arm64_sequoia.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/podman/manifests/5.6.1
Already downloaded: /Users/mjgs/Library/Caches/Homebrew/downloads/50bbdc19ff1ca5c18a5ec7a178a34eb824ff97bd10b4d6de897a88bd28ea52dd--podman-5.6.1.bottle_manifest.json
==> Fetching podman
==> Downloading https://ghcr.io/v2/homebrew/core/podman/blobs/sha256:6c5159a90a364a86870db91f498f72775b94f7acfde18b978bda9d59589d7cbb
Already downloaded: /Users/mjgs/Library/Caches/Homebrew/downloads/4886fb48fd18eba989c58effe61f23e66ec58239c1914278311056987baa34ef--podman--5.6.1.arm64_sequoia.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/mpdecimal/manifests/4.0.1
Already downloaded: /Users/mjgs/Library/Caches/Homebrew/downloads/dbbf60721dc54b6215f6c0988496331d4110a2a358da867a1129cd84b8166b31--mpdecimal-4.0.1.bottle_manifest.json
==> Fetching mpdecimal
==> Downloading https://ghcr.io/v2/homebrew/core/mpdecimal/blobs/sha256:e21da583e42e86d5a2f0aedfaf7820e51b8af3065da599cff179d1a39903f3ab
Already downloaded: /Users/mjgs/Library/Caches/Homebrew/downloads/c5bce4ea1f15d45aa6d5d87b1b5ba4952a443bc28eed587dcfcddb804ed08ef0--mpdecimal--4.0.1.arm64_sequoia.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/manifests/3.50.4-1
Already downloaded: /Users/mjgs/Library/Caches/Homebrew/downloads/2182c2da21736a92d6c2f2e184d1bddaa79e7329f250372e0c4e3e3ab132cfa9--sqlite-3.50.4-1.bottle_manifest.json
==> Fetching sqlite
==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/blobs/sha256:cafdb368572f534b9a2c016df82bb29733028c86b4bea062c1e927e7073f1dd4
Already downloaded: /Users/mjgs/Library/Caches/Homebrew/downloads/661d8af68c47f3a0e6157d27ac97341dd73321fa51a5997a00d88a3a3a5fea1c--sqlite--3.50.4.arm64_sequoia.bottle.1.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/xz/manifests/5.8.1
Already downloaded: /Users/mjgs/Library/Caches/Homebrew/downloads/86a115cc1d43ff8a480fd907f812e70a403e1675d8a7223f61bbb08cbd2adc27--xz-5.8.1.bottle_manifest.json
==> Fetching xz
==> Downloading https://ghcr.io/v2/homebrew/core/xz/blobs/sha256:dcd7823f2624cbcd08f55c232097a79300c7d76ab5969004db1a4785c6c0cd87
Already downloaded: /Users/mjgs/Library/Caches/Homebrew/downloads/8f568766296bfa5c5404abb3a41380af721fb0128bae1a3495429085db009872--xz--5.8.1.arm64_sequoia.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.13/manifests/3.13.7
Already downloaded: /Users/mjgs/Library/Caches/Homebrew/downloads/da407eee2a8ce68682cfa86c53da83fe62d25f8db0dd50869320b2d46ff697a8--python@3.13-3.13.7.bottle_manifest.json
==> Fetching python@3.13
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.13/blobs/sha256:821887b8f438c6a43828c9e893ee73e011012bb46fcac862974638e16d5228ce
Already downloaded: /Users/mjgs/Library/Caches/Homebrew/downloads/1a6964fcf6ecd56bd75ece6d31a5fde8c4d22ed990b60009723cea51a7604ff3--python@3.13--3.13.7.arm64_sequoia.bottle.tar.gz
==> Fetching podman-compose
==> Downloading https://ghcr.io/v2/homebrew/core/podman-compose/blobs/sha256:bc95b8db01360328a27dbfe521331582424ff9e2558861ffb628fc991bfa0960
Already downloaded: /Users/mjgs/Library/Caches/Homebrew/downloads/40642bbe32029b729df2b14f77e06664851c62d846289177d9203161174fb56a--podman-compose--1.5.0.arm64_sequoia.bottle.tar.gz
==> Installing dependencies for podman-compose: libyaml, podman, mpdecimal, sqlite, xz and python@3.13
==> Installing podman-compose dependency: libyaml
==> Downloading https://ghcr.io/v2/homebrew/core/libyaml/manifests/0.2.5
Already downloaded: /Users/mjgs/Library/Caches/Homebrew/downloads/5f6b0af1730aa1bc02f8021c90ed7ffe988eeba95eec83e6c828f77332ba6406--libyaml-0.2.5.bottle_manifest.json
==> Pouring libyaml--0.2.5.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/libyaml/0.2.5: 11 files, 354.5KB
==> Installing podman-compose dependency: podman
==> Downloading https://ghcr.io/v2/homebrew/core/podman/manifests/5.6.1
Already downloaded: /Users/mjgs/Library/Caches/Homebrew/downloads/50bbdc19ff1ca5c18a5ec7a178a34eb824ff97bd10b4d6de897a88bd28ea52dd--podman-5.6.1.bottle_manifest.json
==> Pouring podman--5.6.1.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/podman/5.6.1: 217 files, 75.7MB
==> Installing podman-compose dependency: mpdecimal
==> Downloading https://ghcr.io/v2/homebrew/core/mpdecimal/manifests/4.0.1
Already downloaded: /Users/mjgs/Library/Caches/Homebrew/downloads/dbbf60721dc54b6215f6c0988496331d4110a2a358da867a1129cd84b8166b31--mpdecimal-4.0.1.bottle_manifest.json
==> Pouring mpdecimal--4.0.1.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/mpdecimal/4.0.1: 22 files, 645.6KB
==> Installing podman-compose dependency: sqlite
==> Downloading https://ghcr.io/v2/homebrew/core/sqlite/manifests/3.50.4-1
Already downloaded: /Users/mjgs/Library/Caches/Homebrew/downloads/2182c2da21736a92d6c2f2e184d1bddaa79e7329f250372e0c4e3e3ab132cfa9--sqlite-3.50.4-1.bottle_manifest.json
==> Pouring sqlite--3.50.4.arm64_sequoia.bottle.1.tar.gz
🍺  /opt/homebrew/Cellar/sqlite/3.50.4: 13 files, 4.9MB
==> Installing podman-compose dependency: xz
==> Downloading https://ghcr.io/v2/homebrew/core/xz/manifests/5.8.1
Already downloaded: /Users/mjgs/Library/Caches/Homebrew/downloads/86a115cc1d43ff8a480fd907f812e70a403e1675d8a7223f61bbb08cbd2adc27--xz-5.8.1.bottle_manifest.json
==> Pouring xz--5.8.1.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/xz/5.8.1: 96 files, 2.5MB
==> Installing podman-compose dependency: python@3.13
==> Downloading https://ghcr.io/v2/homebrew/core/python/3.13/manifests/3.13.7
Already downloaded: /Users/mjgs/Library/Caches/Homebrew/downloads/da407eee2a8ce68682cfa86c53da83fe62d25f8db0dd50869320b2d46ff697a8--python@3.13-3.13.7.bottle_manifest.json
==> Pouring python@3.13--3.13.7.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/python@3.13/3.13.7: 3,620 files, 66.6MB
==> Installing podman-compose
==> Pouring podman-compose--1.5.0.arm64_sequoia.bottle.tar.gz
🍺  /opt/homebrew/Cellar/podman-compose/1.5.0: 62 files, 742.7KB
==> Running `brew cleanup podman-compose`...
Disable this behaviour by setting `HOMEBREW_NO_INSTALL_CLEANUP=1`.
Hide these hints with `HOMEBREW_NO_ENV_HINTS=1` (see `man brew`).
==> No outdated dependents to upgrade!
Marks-MacBook-Air:~ mjgs$ brew list | grep podman
podman
podman-compose
Marks-MacBook-Air:~ mjgs$ which podman
/opt/homebrew/bin/podman

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions