Closed WoodpeckerBaby closed 1 year ago
The maintainers of this repository would appreciate it if you could provide more information.
Moving to homebrew-cask in case folks there have more ideas.
Actually I think I accidentally linked this issue to another bug fix.
I think I know what's happening here. Essentially, there seems to be a parsing error with the uninstall-script section.
The original cask file that corresponds with v8.10.64
seems to not be defined correctly (note: this was updated later on so it's no longer an issue for newer versions).
script: [
executable: '/Applications/Utilities/LogiMgr Uninstaller.app/Contents/Resources/Uninstaller',
],
We expect that the uninstall-script
section receives directives as a hash not an array and all of the code that assumes that is way older than this cask file.
Here you can see that AbstractUninstall#uninstall_script
receives directives which it passes to AbstractArtifact#read_script_arguments
.
It then fails later on in that method when arguments is not a hash and it tries calling Hash#keys
.
So I'm pretty sure that's why this is failing but in terms of fixing the problem I'm not really sure.
So I'm pretty sure that's why this is failing but in terms of fixing the problem I'm not really sure.
Me either. CC @Bo98 @Rylan12 for thoughts
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
I think this was fixed by https://github.com/Homebrew/brew/pull/14914
Original changes went in Feb 23. Reverted on March 7. So matches timeframe of issue and other referenced cask PRs seem similar.
Verification
--force
.brew update-reset && brew update
and retried my command.brew doctor
, fixed as many issues as possible and retried my command.Description of issue
brew upgrade --greedy --force
throws an error when it reacheslogitech-options
.Command that failed
brew upgrade --greedy --force
Output of command with
--verbose --debug
Output of
brew doctor
andbrew config
Output of
brew tap
Output of
brew rm logitech-options --verbose --debug