When I was running updates on my system, I kept getting this error about Mullvad
compinit:527: no such file or directory: /usr/local/share/zsh/site-functions/_mullvad
It looked as though when Mullvad was removed, it never fully removed itself from my system. Thankfully, the fix was as easy as grabbing the Mullvad macOS uninstall script from GitHub and running it, which properly removed all of the symlinks and leftover files.
You can grab the script and run it from the CLI by doing the following.
wget https://raw.githubusercontent.com/mullvad/mullvadvpn-app/main/dist-assets/uninstall_macos.sh<br>chmod +x uninstall_macos.sh<br>./uninstall_macos.sh
I answered Y to each question, and it seemed to have worked, and I can now run updates without issues.