Skip to content

GIMP 4.0.3 on Linux Homebrew not installing #224786

@XtremeBlaze777

Description

@XtremeBlaze777

Verification

Description of issue

When running brew install --cask gimp, I see with the following message:

> brew install --cask gimp
Warning: Cask 'gimp' is unreadable: undefined method 'major_minor' for nil
==> Searching for similarly named casks...
==> Casks
gimp                                                    gimp@dev

To install gimp, run:
  brew install --cask gimp

Note that if I don't explicitly provide --cask, I instead see:

> brew install gimp
Warning: No available formula with the name "gimp". Did you mean gmp?
It was migrated from homebrew/core to homebrew/cask.
You can access it again by running:
  brew tap homebrew/cask
And then you can install it by running:
  brew install --cask gimp

My OS is Bazzite which is based off of Fedora Atomic 42 and included linuxbrew out-of-the-box. Not sure if this will help but this is how linuxbrew appears to me:

> which brew
/home/linuxbrew/.linuxbrew/bin/brew

I also tried these commands both with homebrew/cask and homebrew/core both tapped and untapped and there was no change to the result.

Command that failed

brew install --cask gimp

Output of command with --verbose --debug

> brew install --cask gimp --verbose --debug
/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading gimp
==> Cask::Installer#install
/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb (Cask::CaskLoader::FromAPILoader): loading gimp@dev
==> Printing caveats
==> Cask::Installer#fetch
Warning: Cask 'gimp' is unreadable: undefined method 'major_minor' for nil
==> Searching for similarly named casks...
Error: No casks found for gimp.
Error: Kernel.exit
/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/extend/kernel.rb:138:in 'Kernel#exit'
/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/extend/kernel.rb:138:in 'Kernel#odie'
/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/cmd/install.rb:474:in 'Homebrew::Cmd::InstallCmd#run'
/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb:110:in '<main>'

Output of brew doctor and brew config

> brew doctor && brew config
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Your /home directory is a symlink.
This is known to cause issues with formula linking, particularly when installing
multiple formulae that create symlinks in shared directories.

While this may be a standard directory structure in some distributions
(e.g. Fedora Silverblue) there are known issues as-is.

If you encounter linking issues, you may need to manually create conflicting
directories or use `brew link --overwrite` as a workaround.

We'd welcome a PR to fix this functionality.
See https://github.com/Homebrew/brew/issues/18036 for more context.

This is a Tier 2 configuration:
  https://docs.brew.sh/Support-Tiers#tier-2
You can report Tier 2 unrelated issues to Homebrew/* repositories!
Read the above document instead before opening any issues or PRs.

Output of brew tap

> brew tap
valkyrie00/bbrew

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions