Skip to content

Error after updating to 4.0.18 (3dabf504b): uninitialized constant Cask::Migrator #15425

@hundehausen

Description

@hundehausen

brew doctor output

Your system is ready to brew.

Verification

  • My "brew doctor output" above says Your system is ready to brew. and am still able to reproduce my issue.
  • I ran brew update twice and am still able to reproduce my issue.
  • This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output

HOMEBREW_VERSION: 4.0.18-4-ga734170
ORIGIN: https://github.com/Homebrew/brew
HEAD: a734170b83d2e4182060d1a96b55986b38c82aed
Last commit: 2 minutes ago
Core tap JSON: 14 May 19:02 UTC
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 10
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: 10-core 64-bit arm_firestorm_icestorm
Clang: 14.0.3 build 1403
Git: 2.39.2 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.87.0 => /usr/bin/curl
macOS: 13.3.1-arm64
CLT: 14.3.0.0.1.1679647830
Xcode: N/A
Rosetta 2: false

What were you trying to do (and why)?

brew update

What happened (include all command output)?

brew update
==> Updated Homebrew from 3dabf50 to a734170.
Updated 1 tap (homebrew/cask).
==> New Casks
kiibohd-configurator
Error: uninitialized constant Cask::Migrator
Please report this issue:
https://docs.brew.sh/Troubleshooting
/opt/homebrew/Library/Homebrew/cmd/update-report.rb:591:in block in migrate_cask_rename' /opt/homebrew/Library/Homebrew/cmd/update-report.rb:590:in each'
/opt/homebrew/Library/Homebrew/cmd/update-report.rb:590:in migrate_cask_rename' /opt/homebrew/Library/Homebrew/cmd/update-report.rb:250:in each'
/opt/homebrew/Library/Homebrew/cmd/update-report.rb:250:in output_update_report' /opt/homebrew/Library/Homebrew/cmd/update-report.rb:41:in update_report'
/opt/homebrew/Library/Homebrew/brew.rb:94:in `

'

What did you expect to happen?

brew updates

Step-by-step reproduction instructions (by running brew commands)

brew update

Metadata

Metadata

Assignees

No one assigned

    Labels

    outdatedPR was locked due to age

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions