-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Brew uninstall fails when upgrading #568
Comments
Hello - It seems your local
After that, I believe |
I think there might be something else going on. I don't have a
|
Ah, I see now, your install location is different. Can you run the following and share your output?
|
`
Let me give you some more debug data.
|
The default Based on the output you shared above, it looks like GCM did at least update to the latest version. However, if you are experiencing issues with this installation, I would recommend running |
Closing in favor of #574. |
This happens again on my Mac M2 machine and only started showing up recently, I cannot uninstall it though homebrew because the uninstall script is missing (if it's of any help I installed it using homebrew in the first place). Please let me know if there are any workarounds for this. Thanks! EDIT: I did get past this by re-installing the cask but I still feel that it shouldn't be the go to option since the original issue has been closed for a while now. |
+1 |
+1 thanks @Surya-06 |
+1 |
Seems this issue has no active feedback yet, I will give a dirty work-around here for a quick fix. At least it didn't stop me from upgrading my "brew" packages after it. Just write a simple script and put it on "/opt/homebrew/share/gcm-core/uninstall.sh" (or wherever it complains), make it executable. Mine was:
Then the upgrade will happily accept this script and no complains at all. |
Same thing repeated again now and I had to re-install again. It would be great if the issue can be re-opened and looked at. Thanks! |
We’ve fixed this for new installs going forward. The workaround for those still affected is to uninstall using the following commands:
Then re-install with the following commands:
|
it works for me, THANKS |
When updating
git-credential-manager-core
brew fails stating that the uninstall script is missing.The text was updated successfully, but these errors were encountered: