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

GCM deb package not installing #545

Closed
ErikPoppleton opened this issue Nov 19, 2021 · 3 comments
Closed

GCM deb package not installing #545

ErikPoppleton opened this issue Nov 19, 2021 · 3 comments

Comments

@ErikPoppleton
Copy link

I'm trying to install GCM but it seems to be silently failing to install. I first tried the main release (v2.0.567.18224) but encountered issue #528, so i instead downloaded the pre-release (v2.0.605.12951) which claims to have fixed this problem. However installation of that version appears to fail silently (the main release installed fine). Here are the commands I ran:

$ sudo dpkg -i gcmcore-linux_amd64.2.0.605.12951.deb
    Selecting previously unselected package gcmcore.
    (Reading database ... 519027 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 configure
    git-credential-manager-core: command not found
$ dpkg -L gcmcore-linux_amd64.2.0.605.12951.deb
    dpkg-query: package 'gcmcore-linux_amd64.2.0.605.12951.deb' is not installed
    Use dpkg --contents (= dpkg-deb --contents) to list archive files contents.

This is on Ubuntu 20.04.03

@MariaGuilarte
Copy link

I was facing almost this same issue after installing the latest pre-release (i come from #528 too)
usr/local/share/gcm-core/git-credential-manager-core: not found

i was surprised you had commented just a few minutes ago. Before answering here i just took a look at the path and realized the last release is being installed correctly but inside an additional subfolder called Release. I just copied the following files

git-credential-manager-core
libHarfBuzzSharp.so
libSkiaSharp.so
back to the parent folder
usr/local/share/gcm-core

Finally its working fine now, but surely this is not a good fix and i don't know the cons it may come with. I'm a Linux newcomer

@ldennington
Copy link
Contributor

I believe this issue was fixed today in #539 for the next release. Until then, @ErikPoppleton I believe following @MariaGuilarte's example of copying files out of the Release folder should fix - here's what it should look like:

usr
└── local
    └── share
        └── gcm-core
            ├── Atlassian.Bitbucket.UI
            ├── git-credential-manager-core
            ├── GitHub.UI
            ├── libHarfBuzzSharp.so
            ├── libSkiaSharp.so
            └── NOTICE

@ErikPoppleton
Copy link
Author

Thank you @MariaGuilarte and @ldennington this fix worked!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants