pyenv-installer icon indicating copy to clipboard operation
pyenv-installer copied to clipboard

Failed to git clone https://github.com/pyenv/pyenv-installer.git

Open ddobrinskiy-bc opened this issue 2 years ago • 1 comments

Hi, I'm running the install script on my remote Debian 9.9 (stretch) server

when I run curl https://pyenv.run | bash, pyenv-doctor gets installed, but pyenv-installer fails:

user@remote_server:~$ curl https://pyenv.run | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   270  100   270    0     0    688      0 --:--:-- --:--:-- --:--:--   687
Cloning into '/home/ddobrinskiy/.pyenv'...
remote: Enumerating objects: 916, done.
remote: Counting objects: 100% (916/916), done.
remote: Compressing objects: 100% (458/458), done.
remote: Total 916 (delta 521), reused 590 (delta 351), pack-reused 0
Receiving objects: 100% (916/916), 474.92 KiB | 0 bytes/s, done.
Resolving deltas: 100% (521/521), done.
Checking out files: 100% (898/898), done.
Cloning into '/home/ddobrinskiy/.pyenv/plugins/pyenv-doctor'...
remote: Enumerating objects: 11, done.
remote: Counting objects: 100% (11/11), done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 11 (delta 1), reused 5 (delta 0), pack-reused 0
Unpacking objects: 100% (11/11), done.
Cloning into '/home/ddobrinskiy/.pyenv/plugins/pyenv-installer'...
remote: Enumerating objects: 16, done.
remote: Counting objects: 100% (16/16), done.
remote: Compressing objects: 100% (13/13), done.
remote: Total 16 (delta 1), reused 8 (delta 0), pack-reused 0
Unpacking objects: 100% (16/16), done.
fatal: missing blob object '03cc13c3e36ac727eef4d3ffd3c8ed608735f1f3'
fatal: remote did not send all necessary objects
Failed to git clone https://github.com/pyenv/pyenv-installer.git

I suspect this is related by a missing object in git, not sure how to debug though

fatal: missing blob object '03cc13c3e36ac727eef4d3ffd3c8ed608735f1f3'

ddobrinskiy-bc avatar Apr 28 '22 15:04 ddobrinskiy-bc

Hi, I also encountered this problem. Have you already known its solution?

IMXENON avatar Oct 02 '22 05:10 IMXENON

curl pyenv.run | bash this command creates an issue in installation.

aryan-bhokare avatar Oct 07 '23 08:10 aryan-bhokare

http://pyenv.run works as expected:

$ curl pyenv.run
#!/bin/bash
#
# Usage: curl https://pyenv.run | bash
#
# For more info, visit: https://github.com/pyenv/pyenv-installer
#
index_main() {
    set -e
    curl -s -S -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash
}

index_main

native-api avatar Oct 07 '23 17:10 native-api