-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
gcmcore-linux package missing dependency #506
Comments
I am having the exact same issue. How can I fix it? |
What should i do? I just re-downloaded the .deb and reinstalled but didn't change anything. I'm a newbie linux mint user |
@almog-co, @MariaGuilarte the changes to fix this problem have been merged to the default branch but not yet released. |
I've just run into this. It might be an idea to at least edit the release notes with a warning saying the deb package is broken. It appears that we have to install the pre-release version to avoid this bug? Edit: sudo dpkg -P gcmcore Checked with: dpkg -l gcmcore Edit 2: ❯ sudo dpkg -i gcmcore-linux_amd64.2.0.605.12951.deb
Selecting previously unselected package gcmcore.
(Reading database ... 34081 files and directories currently installed.)
Preparing to unpack gcmcore-linux_amd64.2.0.605.12951.deb ...
Unpacking gcmcore (2.0.605.12951) ...
Setting up gcmcore (2.0.605.12951) ...
❯ git-credential-manager-core
git-credential-manager-core: command not found Edit 3: ❯ ls -la /usr/local/share/gcm-core
total 12
drwxr-xr-x 3 1001 admin 4096 Nov 25 01:14 .
drwxr-xr-x 6 root root 4096 Nov 25 01:14 ..
drwxr-xr-x 2 1001 admin 4096 Nov 25 01:14 Release |
Looks like there's a workaround in #528 (comment). I'll give that a go... |
Which version of GCM Core are you using?
Download linux deb from this link below.
https://github.com/microsoft/Git-Credential-Manager-Core/releases/download/v2.0.567/gcmcore-linux_amd64.2.0.567.18224.deb
When run the git push, error occured. missing package should be packed in the deb.
And I also download the gz package, and found two so lib.
After copy these two so files to /usr/local/share/gcm-core, then it works.
Pls help to fix this package issue.
$ ls -lah
total 248M
drwxr-xr-x 2 1001 docker 4.0K Oct 28 11:35 .
drwxr-xr-x 9 root root 4.0K Oct 28 10:34 ..
-rwxr-xr-x 1 1001 docker 89M Oct 11 23:00 Atlassian.Bitbucket.UI
-rwxr-xr-x 1 1001 docker 63M Oct 11 23:00 git-credential-manager-core
-rwxr-xr-x 1 1001 docker 89M Oct 11 23:00 GitHub.UI
-rwxr-xr-x 1 root root 1.1M Oct 28 11:35 libHarfBuzzSharp.so
-rwxr-xr-x 1 root root 8.2M Oct 28 11:35 libSkiaSharp.so
$ tar tvf gcmcore-linux_amd64.2.0.567.18224.tar.gz
-rwxr-xr-x vsts/docker 92302349 2021-10-11 23:00 Atlassian.Bitbucket.UI
-rwxr-xr-x vsts/docker 65383226 2021-10-11 23:00 git-credential-manager-core
-rwxr-xr-x vsts/docker 92355389 2021-10-11 23:00 GitHub.UI
-rwxr-xr-x vsts/docker 1086704 2020-09-11 12:53 libHarfBuzzSharp.so
-rwxr-xr-x vsts/docker 8541744 2020-09-11 12:53 libSkiaSharp.so
-rwxr-xr-x vsts/docker 2602 2021-10-11 22:59 NOTICE
$env GCM_CREDENTIAL_STORE=gpg git push origin master
Error:
An assembly specified in the application dependencies manifest (GitHub.UI.deps.json) was not found:
package: 'HarfBuzzSharp.NativeAssets.Linux', version: '2.6.1.7'
path: 'runtimes/linux-x64/native/libHarfBuzzSharp.so'
fatal: helper error (140): Unknown
Username for 'https://github.
$ dpkg -L gcmcore
/.
/usr
/usr/local
/usr/local/bin
/usr/local/share
/usr/local/share/gcm-core
/usr/local/share/gcm-core/Atlassian.Bitbucket.UI
/usr/local/share/gcm-core/GitHub.UI
/usr/local/share/gcm-core/git-credential-manager-core
/usr/local/bin/Atlassian.Bitbucket.UI
/usr/local/bin/GitHub.UI
/usr/local/bin/git-credential-manager-core
From a terminal, run
git-credential-manager-core --version
and paste the output.Which Git host provider are you trying to connect to?
Can you access the remote repository directly in the browser using the remote URL?
From a terminal, run
git remote -v
to see your remote URL.[Azure DevOps only] What format is your remote URL?
{org}
@dev.azure.com/{org}
/...{org}
.visualstudio.com/...[Azure DevOps only] If the account picker shows more than one identity as you authenticate, check that you selected the same one that has access on the web.
Expected behavior
I am authenticated and my Git operation completes successfully.
Actual behavior
A clear and concise description of what happens. For example: exception is thrown, UI freezes, etc.
Logs
Set the environment variables
GCM_TRACE=1
andGIT_TRACE=1
and re-run your Git command. Review and redact any private information and attach the log.The text was updated successfully, but these errors were encountered: