Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Bug: brew leaves returns error if one of installed formulas has untapped optional dependencies #28847

Closed
xu-cheng opened this issue Apr 30, 2014 · 4 comments

Comments

@xu-cheng
Copy link
Member

I installed homebrew/python/matplotlib. And in this formula it has an optional dependency homebrew/dupes/tcl-tk. As I didn't tap the homebrew/dupes, if I run brew leaves, it will show the following error:

$ brew leaves
Error: No available formula for tcl-tk
Please tap it and then try again: brew tap homebrew/dupes
@adamv
Copy link
Contributor

adamv commented May 2, 2014

Fixing this will involve having Formula#installed be able to handle FormulaNotFound exceptions and ignore them

@jacknagel
Copy link
Contributor

The problem here is pervasive (it will happen in any code path that tries to get formula objects from dependency objects). I plan to address it in my deps refactor.

@adamv adamv added the deps label Jun 21, 2014
@jacknagel jacknagel added this to the New dependency implementation milestone Nov 3, 2014
@MikeMcQuaid
Copy link
Member

@xu-cheng Is this still an issue?

@ilovezfs
Copy link
Contributor

ilovezfs commented Apr 2, 2016

@Homebrew Homebrew locked and limited conversation to collaborators Jul 11, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants