Install of lr-ppsspp : git clone fails
-
When trying to clone as per the Retropie install (lr-ppsspp) script (just after an update of the Retropie setup script) git clone fails :
git clone --recursive --depth 1 --shallow-submodules --branch v1.16.6 https://github.com/hrydgard/ppsspp.git Cloning into 'ppsspp'... remote: Enumerating objects: 2458, done. remote: Counting objects: 100% (2458/2458), done. remote: Compressing objects: 100% (2149/2149), done. error: 7056 bytes of body are still expectediB | 238.00 KiB/s fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: invalid index-pack output
I tried the cloning command on different machines (on the same network) they all fail at the same marks.
This system details:
Linux 6.2.0-39-generic #40~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 16 10:53:04 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Detailed log:
Log started at: Wed 27 Dec 21:19:46 +01 2023 RetroPie-Setup version: 4.8.6 (c10045cf) System: x86_64 (x86_64) - Ubuntu 22.04.3 LTS - Linux moe 6.2.0-39-generic #40~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 16 10:53:04 UTC 2 x86_64 x86_64 x86_64 GNU/Linux = = = = = = = = = = = = = = = = = = = = = Installing dependencies for 'lr-ppsspp' : PlayStation Portable emu - PPSSPP port for libretro = = = = = = = = = = = = = = = = = = = = = Did not find needed dependencies: libsnappy-dev libzip-dev. Trying to install them now. Hit:1 http://ubuntu.grn.cat/ubuntu jammy InRelease Ign:2 https://ppa.launchpadcontent.net/fengestad/stable/ubuntu jammy InRelease Get:3 http://ubuntu.grn.cat/ubuntu jammy-updates InRelease [119 kB] Hit:4 https://ppa.launchpadcontent.net/nicotine-team/stable/ubuntu jammy InRelease Get:5 https://ppa.launchpadcontent.net/pcsx2-team/pcsx2-daily/ubuntu jammy InRelease [18.1 kB] Err:6 https://ppa.launchpadcontent.net/fengestad/stable/ubuntu jammy Release 404 Not Found [IP: 185.125.190.80 443] Get:7 https://ppa.launchpadcontent.net/pcsx2-team/pcsx2-daily/ubuntu jammy/main amd64 Packages [1,188 B] Hit:8 http://ubuntu.grn.cat/ubuntu jammy-backports InRelease Get:9 http://ubuntu.grn.cat/ubuntu jammy-security InRelease [110 kB] Get:10 https://debian.sur5r.net/i3 jammy InRelease [4,973 B] Err:10 https://debian.sur5r.net/i3 jammy InRelease The following signatures were invalid: EXPKEYSIG E3CA1A89941C42E6 debian.sur5r.net Archive Automatic Signing Key 2015 (sur5r) <debian@sur5r.net> Reading package lists... E: The repository 'https://ppa.launchpadcontent.net/fengestad/stable/ubuntu jammy Release' does not have a Release file. W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://debian.sur5r.net/i3 jammy InRelease: The following signatures were invalid: EXPKEYSIG E3CA1A89941C42E6 debian.sur5r.net Archive Automatic Signing Key 2015 (sur5r) <debian@sur5r.net> Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: libzip4 The following NEW packages will be installed libsnappy-dev libzip-dev libzip4 0 to upgrade, 3 to newly install, 0 to remove and 7 not to upgrade. Need to get 242 kB of archives. After this operation, 595 kB of additional disk space will be used. Get:1 http://ubuntu.grn.cat/ubuntu jammy/universe amd64 libzip4 amd64 1.7.3-1ubuntu2 [55.0 kB] Get:2 http://ubuntu.grn.cat/ubuntu jammy/universe amd64 libzip-dev amd64 1.7.3-1ubuntu2 [157 kB] Get:3 http://ubuntu.grn.cat/ubuntu jammy/main amd64 libsnappy-dev amd64 1.1.8-1build3 [30.2 kB] Fetched 242 kB in 3s (88.9 kB/s) Selecting previously unselected package libzip4:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 287278 files and directories currently installed.) Preparing to unpack .../libzip4_1.7.3-1ubuntu2_amd64.deb ... Unpacking libzip4:amd64 (1.7.3-1ubuntu2) ... Selecting previously unselected package libzip-dev:amd64. Preparing to unpack .../libzip-dev_1.7.3-1ubuntu2_amd64.deb ... Unpacking libzip-dev:amd64 (1.7.3-1ubuntu2) ... Selecting previously unselected package libsnappy-dev:amd64. Preparing to unpack .../libsnappy-dev_1.1.8-1build3_amd64.deb ... Unpacking libsnappy-dev:amd64 (1.1.8-1build3) ... Setting up libzip4:amd64 (1.7.3-1ubuntu2) ... Setting up libsnappy-dev:amd64 (1.1.8-1build3) ... Setting up libzip-dev:amd64 (1.7.3-1ubuntu2) ... Processing triggers for man-db (2.10.2-1) ... Processing triggers for libc-bin (2.35-0ubuntu3.5) ... /home/me/src/RetroPie-Setup/tmp/build/lr-ppsspp /home/me = = = = = = = = = = = = = = = = = = = = = Getting sources for 'lr-ppsspp' : PlayStation Portable emu - PPSSPP port for libretro = = = = = = = = = = = = = = = = = = = = = git clone --recursive --depth 1 --shallow-submodules --branch v1.16.6 "https://github.com/hrydgard/ppsspp.git" "/home/me/src/RetroPie-Setup/tmp/build/lr-ppsspp/ppsspp" Cloning into '/home/me/src/RetroPie-Setup/tmp/build/lr-ppsspp/ppsspp'... Note: switching to 'ba0ce344937d17e177ec8656ab957f6b82facdda'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c <new-branch-name> Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false Submodule 'SDL/macOS' (https://github.com/hrydgard/ppsspp-mac-sdl) registered for path 'SDL/macOS' Submodule 'ppsspp-debugger' (https://github.com/unknownbrackets/ppsspp-debugger.git) registered for path 'assets/debugger' Submodule 'dx9sdk' (https://github.com/hrydgard/minidx9.git) registered for path 'dx9sdk' Submodule 'ext/SPIRV-Cross' (https://github.com/KhronosGroup/SPIRV-Cross.git) registered for path 'ext/SPIRV-Cross' Submodule 'ext/armips' (https://github.com/Kingcom/armips.git) registered for path 'ext/armips' Submodule 'cpu_features' (https://github.com/google/cpu_features.git) registered for path 'ext/cpu_features' Submodule 'ext/discord-rpc' (https://github.com/discordapp/discord-rpc.git) registered for path 'ext/discord-rpc' Submodule 'ext/glslang' (https://github.com/KhronosGroup/glslang.git) registered for path 'ext/glslang' Submodule 'ext/miniupnp' (https://github.com/hrydgard/miniupnp.git) registered for path 'ext/miniupnp' Submodule 'ext/naett' (https://github.com/erkkah/naett.git) registered for path 'ext/naett' Submodule 'ext/native/tools/prebuilt' (https://github.com/hrydgard/ppsspp-freetype.git) registered for path 'ext/native/tools/prebuilt' Submodule 'ext/rapidjson' (https://github.com/Tencent/rapidjson.git) registered for path 'ext/rapidjson' Submodule 'ext/rcheevos' (https://github.com/RetroAchievements/rcheevos.git) registered for path 'ext/rcheevos' Submodule 'zstd' (https://github.com/facebook/zstd.git) registered for path 'ext/zstd' Submodule 'ffmpeg' (https://github.com/hrydgard/ppsspp-ffmpeg.git) registered for path 'ffmpeg' Submodule 'libretro/libretro-common' (https://github.com/libretro/libretro-common.git) registered for path 'libretro/libretro-common' Submodule 'pspautotests' (https://github.com/hrydgard/pspautotests.git) registered for path 'pspautotests' Cloning into '/home/me/src/RetroPie-Setup/tmp/build/lr-ppsspp/ppsspp/SDL/macOS'... Cloning into '/home/me/src/RetroPie-Setup/tmp/build/lr-ppsspp/ppsspp/assets/debugger'... Cloning into '/home/me/src/RetroPie-Setup/tmp/build/lr-ppsspp/ppsspp/dx9sdk'... Cloning into '/home/me/src/RetroPie-Setup/tmp/build/lr-ppsspp/ppsspp/ext/SPIRV-Cross'... Cloning into '/home/me/src/RetroPie-Setup/tmp/build/lr-ppsspp/ppsspp/ext/armips'... Cloning into '/home/me/src/RetroPie-Setup/tmp/build/lr-ppsspp/ppsspp/ext/cpu_features'... Cloning into '/home/me/src/RetroPie-Setup/tmp/build/lr-ppsspp/ppsspp/ext/discord-rpc'... Cloning into '/home/me/src/RetroPie-Setup/tmp/build/lr-ppsspp/ppsspp/ext/glslang'... Cloning into '/home/me/src/RetroPie-Setup/tmp/build/lr-ppsspp/ppsspp/ext/miniupnp'... Cloning into '/home/me/src/RetroPie-Setup/tmp/build/lr-ppsspp/ppsspp/ext/naett'... Cloning into '/home/me/src/RetroPie-Setup/tmp/build/lr-ppsspp/ppsspp/ext/native/tools/prebuilt'... Cloning into '/home/me/src/RetroPie-Setup/tmp/build/lr-ppsspp/ppsspp/ext/rapidjson'... Cloning into '/home/me/src/RetroPie-Setup/tmp/build/lr-ppsspp/ppsspp/ext/rcheevos'... Cloning into '/home/me/src/RetroPie-Setup/tmp/build/lr-ppsspp/ppsspp/ext/zstd'... Cloning into '/home/me/src/RetroPie-Setup/tmp/build/lr-ppsspp/ppsspp/ffmpeg'... error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8) error: 6628 bytes of body are still expected fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: invalid index-pack output fatal: clone of 'https://github.com/hrydgard/ppsspp-ffmpeg.git' into submodule path '/home/me/src/RetroPie-Setup/tmp/build/lr-ppsspp/ppsspp/ffmpeg' failed Failed to clone 'ffmpeg'. Retry scheduled Cloning into '/home/me/src/RetroPie-Setup/tmp/build/lr-ppsspp/ppsspp/libretro/libretro-common'... Cloning into '/home/me/src/RetroPie-Setup/tmp/build/lr-ppsspp/ppsspp/pspautotests'... error: 5537 bytes of body are still expected fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: invalid index-pack output fatal: clone of 'https://github.com/hrydgard/pspautotests.git' into submodule path '/home/me/src/RetroPie-Setup/tmp/build/lr-ppsspp/ppsspp/pspautotests' failed Failed to clone 'pspautotests'. Retry scheduled Cloning into '/home/me/src/RetroPie-Setup/tmp/build/lr-ppsspp/ppsspp/ffmpeg'... error: 2519 bytes of body are still expected fetch-pack: unexpected disconnect while reading sideband packet fatal: early EOF fatal: fetch-pack: invalid index-pack output fatal: clone of 'https://github.com/hrydgard/ppsspp-ffmpeg.git' into submodule path '/home/me/src/RetroPie-Setup/tmp/build/lr-ppsspp/ppsspp/ffmpeg' failed Failed to clone 'ffmpeg' a second time, aborting HEAD is now in branch 'HEAD' at commit 'ba0ce344937d17e177ec8656ab957f6b82facdda' sed: can't read ffmpeg/linux_arm.sh: No such file or directory patching file Common/GPU/OpenGL/DataFormatGL.cpp patching file Common/GPU/OpenGL/GLFeatures.cpp Successfully applied patch: /home/me/src/RetroPie-Setup/scriptmodules/emulators/ppsspp/gles2_fix.diff Error running 'git clone --recursive --depth 1 --shallow-submodules --branch v1.16.6 https://github.com/hrydgard/ppsspp.git /home/me/src/RetroPie-Setup/tmp/build/lr-ppsspp/ppsspp' - returned 1 /home/me Log ended at: Wed 27 Dec 21:48:49 +01 2023 Total running time: 0 hours, 29 mins, 3 secs
Apparently something is wrong with ffmpeg's repo :/
-
Looks like a Github issue, try again. Cloning seems to be working fine for me (no https/git errors show up).
-
@mitu OK you were right, perseverance payed off, it finally worked :) Thanks for your help.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.