Sujet : on git cloning src.git
De : jfairchild (at) *nospam* tudado.org (Johanne Fairchild)
Groupes : comp.unix.bsd.freebsd.miscDate : 29. Mar 2024, 03:31:55
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <87plvd2584.fsf@tudado.org>
I am not doing well with git cloning either ports or src. I apparently
downloaded all the source code, but git is frozen at the last step. I
don't have my shell back and I don't see any files in /usr/src.
Here's my first attempt:
--8<---------------cut here---------------start------------->8---
# git clone -o freebsd
https://git.FreeBSD.org/src.git /usr/src
Cloning into '/usr/src'...
remote: Enumerating objects: 4477011, done.
remote: Counting objects: 100% (382834/382834), done.
remote: Compressing objects: 100% (28535/28535), done.
Receiving objects: 100% (4477011/4477011), 1.63 GiB | 14.53 MiB/s, done.
remote: Total 4477011 (delta 377113), reused 354299 (delta 354299), pack-reused 4094177
Resolving deltas: 100% (3558675/3558675), done.
Checking objects: 100% (16777216/16777216), done.
--8<---------------cut here---------------end--------------->8---
I then gave up and pressed C-c.
I tried a second time, but also trying to clone ports in parallel. Both
terminated at the same time with the message:
# git clone -o freebsd
https://git.FreeBSD.org/src.git /usr/src
Cloning into '/usr/src'...
remote: Enumerating objects: 4477016, done.
remote: Counting objects: 100% (382834/382834), done.
remote: Compressing objects: 100% (28535/28535), done.
Receiving objects: 100% (4477016/4477016), 1.63 GiB | 8.82 MiB/s, done.
remote: Total 4477016 (delta 377118), reused 354299 (delta 354299), pack-reused 4094182
fatal: fetch-pack: invalid index-pack output
#
%sudo git clone
https://git.FreeBSD.org/ports.git /usr/ports
Cloning into '/usr/ports'...
remote: Enumerating objects: 6155775, done.
remote: Counting objects: 100% (936/936), done.
remote: Compressing objects: 100% (120/120), done.
fatal: fetch-pack: invalid index-pack output47.90 MiB | 24.00 KiB/s
%
My download rate begins megabytes per second, but then it lowers to KiB
per second and at this run, I got ``invalid index-pack''. Am I having
network problems? This is the cheapest virtual machine in AWS.