Skip to content
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 install --cask git-credential-manager-core fails #585

Closed
kyrichen55 opened this issue Dec 27, 2021 · 10 comments
Closed

brew install --cask git-credential-manager-core fails #585

kyrichen55 opened this issue Dec 27, 2021 · 10 comments
Labels
bug A bug in Git Credential Manager installation Specific to installation and uninstallation platform:osx Specific to the macOS platform

Comments

@kyrichen55
Copy link

After running

brew tap microsoft/git
brew install --cask git-credential-manager-core

I receive the following error:

==> Running installer for git-credential-manager-core; your password may be nece
Package installers may write to any location; options such as `--appdir` are ignored.
installer: Package name is Git Credential Manager Core
installer: Installing at base path /
installer: The install failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An error occurred while running scripts from the package “gcmcore-osx-2.0.605.12951.pkg”.)
==> Purging files for version 2.0.605.12951 of Cask git-credential-manager-core
Error: Failure while executing; `/usr/bin/sudo -E -- /usr/bin/env LOGNAME=myUser USER=myUser USERNAME=myUser /usr/sbin/installer -pkg /usr/local/Caskroom/git-credential-manager-core/2.0.605.12951/gcmcore-osx-2.0.605.12951.pkg -target / -allowUntrusted` exited with 1. Here's the output:
installer: Package name is Git Credential Manager Core
installer: Installing at base path /
installer: The install failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An error occurred while running scripts from the package “gcmcore-osx-2.0.605.12951.pkg”.)

I have also attempted to install the package through the .pkg file on the releases page, but I also receive an error that prevents it from installing.

@mjcheetham mjcheetham added bug A bug in Git Credential Manager installation Specific to installation and uninstallation platform:osx Specific to the macOS platform labels Jan 6, 2022
@c4milo
Copy link

c4milo commented Jan 10, 2022

I'm running into this as well.

@spoilsportmotors
Copy link

The last package that actually installs for me is 2.0.498; I kept going backwards from current, and that was the first that worked. I haven't looked to see what changed in the installation scripts, but it appears to be something towards the tail end. I'm on macOS 11.6.2.

@mjcheetham
Copy link
Collaborator

Are you running on a new M1 Mac or an Intel Mac? There is a known issue at the moment installing/upgrading GCM on M1 Macs via Homebrew: #574

@FarisSquared
Copy link

FarisSquared commented Mar 20, 2022

Running into this on
MacBook pro 2015
Big Sur 11.6

Update:

After upgrading and updating xcode the gcm was installed with no hiccups.

@ldennington
Copy link
Contributor

@fariscs - glad you're unblocked. When you say upgrading, do you mean upgrading your OS?

@FarisSquared
Copy link

Yes the OS. But I suspect it had something to do with xcode since running brew doctor gave me a warning about xcode version being (unknown) and outdated

@ldennington
Copy link
Contributor

ldennington commented Mar 24, 2022

Got it. I'm going to close this issue given updating XCode (and potentially the OS as well) mitigates it. If others who replied update and it still persists, please feel free to re-open.

@jankytay
Copy link

nvm the installer returned the same error after manually approved from Settings. But I did found the error in console
Screen Shot 2022-04-22 at 5 10 35 PM

@Dayday10
Copy link

Same hear

@lsp85
Copy link

lsp85 commented Sep 16, 2023

Running into this on MacBook pro 2015 Big Sur 11.6

Update:

After upgrading and updating xcode the gcm was installed with no hiccups.

That did for me as well!

Using a:

  • Mac Mini 2020
  • M1
  • macOS Ventura 13.5.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug in Git Credential Manager installation Specific to installation and uninstallation platform:osx Specific to the macOS platform
Projects
None yet
Development

No branches or pull requests

9 participants