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

Brew broke #2154

Open
Raindrac opened this issue Jan 24, 2025 · 3 comments
Open

Brew broke #2154

Raindrac opened this issue Jan 24, 2025 · 3 comments
Labels
brew Issues related to brew.sh integration

Comments

@Raindrac
Copy link
Contributor

Describe the bug

All brew commands, besides brew info, fail.

What did you expect to happen?

I expected brew to work properly, as per usual.

Output of bootc status

No staged image present
Current booted image: ghcr.io/ublue-os/bluefin-dx:stable
    Image version: 41.20250119.1 (2025-01-19 06:04:01 UTC)
    Image digest: sha256:2d97f2b0fe268f63604f12300fddca3324c76c207968b1416b9984783bbe83fa
Current rollback image: ghcr.io/ublue-os/bluefin-dx:stable
    Image version: 41.20250114 (2025-01-14 03:47:26 UTC)
    Image digest: sha256:964f63000d7bbedb53362399a596b4df41d59d7a7cbdd1d699ed8e06d5c62305

Output of groups

raindrop wheel

Extra information or context

Different commands seem to be outputting slightly different errors. Most commands output the following:

❯ brew info
<internal:/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.6/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require': cannot load such file -- sorbet-runtime (LoadError)
	from <internal:/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.6/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/standalone/sorbet.rb:4:in `<top (required)>'
	from /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/startup.rb:10:in `require_relative'
	from /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/startup.rb:10:in `<top (required)>'
	from /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/global.rb:4:in `require_relative'
	from /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/global.rb:4:in `<top (required)>'
	from /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb:18:in `require_relative'
	from /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb:18:in `<main>'

While some other commands output the following error instead:

❯ brew install
/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.sh: line 1010: homebrew-update: command not found
<internal:/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.6/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require': cannot load such file -- sorbet-runtime (LoadError)
	from <internal:/var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.6/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:136:in `require'
	from /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/standalone/sorbet.rb:4:in `<top (required)>'
	from /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/startup.rb:10:in `require_relative'
	from /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/startup.rb:10:in `<top (required)>'
	from /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/global.rb:4:in `require_relative'
	from /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/global.rb:4:in `<top (required)>'
	from /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb:18:in `require_relative'
	from /var/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb:18:in `<main>'
@dosubot dosubot bot added the brew Issues related to brew.sh integration label Jan 24, 2025
@tulilirockz
Copy link
Collaborator

Do you mind reinstalling homebrew? Like, rm -rf /home/linuxbrew /etc/.linuxbrew then systemctl start brew-setup.service? If it still doesnt work after that this might be a very concerning thing

@Raindrac
Copy link
Contributor Author

Ah, that worked! Thanks.

@tulilirockz
Copy link
Collaborator

Good to see! Lets keep this open a bit to see if anyone reports on this. Probably was just a broken brew update or something

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
brew Issues related to brew.sh integration
Projects
None yet
Development

No branches or pull requests

2 participants