Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formula not marked as "installed on request" when it was already installed because of a dependency #19429

Closed
3 tasks done
jrz opened this issue Mar 5, 2025 · 2 comments
Closed
3 tasks done

Comments

@jrz
Copy link

jrz commented Mar 5, 2025

brew doctor output

# └──▶ brew doctor
Your system is ready to brew.

Verification

  • My "brew doctor output" above says Your system is ready to brew. and am still able to reproduce my issue.
  • I ran brew update twice and am still able to reproduce my issue.
  • This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output

# └──▶ brew config

HOMEBREW_VERSION: 4.4.23
ORIGIN: https://github.com/Homebrew/brew
HEAD: 64efed206deeb9c2304d9e5b5910dcbf0a509c15
Last commit: 3 days ago
Branch: stable
Core tap JSON: 05 Mar 11:40 UTC
Core cask tap JSON: 05 Mar 11:40 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 3.3.7 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.7/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 16.0.0 build 1600
Git: 2.48.1 => /opt/homebrew/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 15.3.1-arm64
CLT: 16.2.0.0.1.1733547573
Xcode: 16.2
Rosetta 2: false

What were you trying to do (and why)?

When requesting a formula to be installed which was already installed as a dependency, it does not show up when executing brew list --installed-on-request

The result would've been different if the order was: brew install imagemagick vips

The intent is to install the package, and keep track of what I use. (for example using dump for a Brewfile)

What happened (include all command output)?

brew install vips imagemagick
brew list --installed-on-request

What did you expect to happen?

I expected the list of requested installs to contain two items: vips and imagemagick. However, because vips depends on imagemagick, it does not show up, because the package was already installed.

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

brew install vips imagemagick
brew list --installed-on-request
@jrz jrz changed the title Requesting an already installed package does not mark formula as installed on request Formula not marked as "installed on request" when it was already installed because of a dependency Mar 5, 2025
@MikeMcQuaid
Copy link
Member

What happened (include all command output)?

brew install vips imagemagick
brew list --installed-on-request

You didn't include any command output. Please do so.

@jrz
Copy link
Author

jrz commented Mar 5, 2025

Mmm ok. strange, it seems to work now. Maybe something else went wrong in the mean time

@jrz jrz closed this as completed Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants