Skip to content
This repository was archived by the owner on Apr 22, 2025. It is now read-only.
This repository was archived by the owner on Apr 22, 2025. It is now read-only.

Confused by cleanup #1625

@carrete

Description

@carrete
$ brew bundle --global cleanup
Would uninstall formulae:
awk            isl            libmpc         gcc            gdk-pixbuf     pkgconf        jpeg           libgccjit      librsvg        texinfo        tree-sitter    zlib
Run `brew bundle cleanup --force` to make these changes.
$ brew uninstall gcc
Error: Refusing to uninstall /usr/local/Cellar/gcc/14.2.0_1
because it is required by emacs-plus@30 and libgccjit, which are currently installed.
You can override this and force removal with:
  brew uninstall --ignore-dependencies gcc

Why does cleanup think gcc should be uninstalled if it's required by other packages?

Also, some of these packages can be uninstalled, like awk. Perhaps packages should be uninstalled individually and then only report those which really couldn't be uninstalled?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions