Error when running bench update (MacOS)

I am still stuck at this issue but I can’t proceed as after uninstalling mariadb, I cannot install it anymore. I am back to another issue which I posted here - Installation error on mac (manually) - #19 by darnpunk

Any help is greatly appreciated!