Skip to content

brew info gives error on upgraded pinned formula #4301

@koallen

Description

@koallen
  • Ran brew update and retried your prior step?
  • Ran brew doctor, fixed as many issues as possible and retried your prior step?
  • If you're seeing permission errors tried running sudo chown -R $(whoami) $(brew --prefix)?

Bug reports:

Previously, I pinned gcc since I don't wanna upgrade it. Later r is upgraded and that forced a upgrade to gcc (from 5.3.0 to 6.1.0). Just now I was trying to run brew info gcc, and I get an error saying Error: /usr/local/Cellar/gcc/5.3.0 is not a directory. This is similar to Homebrew/legacy-homebrew#46044.

I have to manually do brew unpin gcc and brew pin gcc so that I can get the correct info.

Is there some logical error in handling brew info with pinned packages?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugReproducible Homebrew/homebrew-core bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions