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

Git LFS install fails on Google Colab even after successful installation using package cloud installer script. #3605

Closed
SachitNayak opened this issue Apr 12, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@SachitNayak
Copy link

commented Apr 12, 2019

Hi,
I was trying to use git lfs on google Colaboratory.

I successfully installed the package using:
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash

However when I try to initialise with git lfs install it fails with the following output:
git: 'lfs' is not a git command. See 'git --help'.The most similar command is log


Is this because a reboot is required after running the script.deb.sh ? or is it something else.
I'm not sure. It would really be nice to have git lfs working on google colab.

Thank You.

@bk2204

This comment has been minimized.

Copy link
Contributor

commented Apr 12, 2019

Hey, thanks for writing in.

The script doesn't actually install the packages; it only sets up the repositories. So after that point you'll want to do a sudo apt-get install git-lfs to make sure the package for Git LFS is installed. The script works this way so if we had multiple packages, you'd get to pick what's installed instead of having to install everything.

No reboot is required; you should be fine to simply install the package and continue.

@bk2204 bk2204 closed this Apr 12, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.