OPNsense Forum

Archive => 17.1 Legacy Series => Topic started by: icewhisky on April 18, 2017, 11:24:26 am

Title: Git clone always stop
Post by: icewhisky on April 18, 2017, 11:24:26 am
I edited file bynano /usr/local/etc/pkg/repos/FreeBSD.conf
enable = yes
Then I execute the commands as follows
# pkg install git
# cd /usr
# rm -rf src ports
# git clone https://github.com/opnsense/ports.git
But when 20% or lower then executing git clone is always stopped by the report
error: RPC failed; curl 56 SSL read: error:00000000:lib(0):func(0):reason(0), errno 54
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed


Can anyone help me find out where is error ???
Title: Re: Git clone always stop
Post by: franco on April 18, 2017, 03:19:49 pm
Not sure what you are trying to do, you can simply run this on the OPNsense:

# opnsense-code ports

But it will also stop during cloning.  I don't think GitHub is an issue, though the repository is large and a weak link with data loss might produce this error....


Cheers,
Franco
Title: Re: Git clone always stop
Post by: icewhisky on April 19, 2017, 04:16:23 am
Thanks you so much!