Closed WoodpeckerBaby closed 1 year ago
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.
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