05-06-2020, 01:52 PM
(05-05-2020, 03:32 AM)amp Wrote:(05-03-2020, 05:29 AM)nohandlebars Wrote: I am having some trouble cloning mrfixit's repository:
Code:Cloning into '/home/user/pinebook-pro-debian-installer/bootloader'...
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
fatal: clone of 'https://github.com/mrfixit2001/updates_repo' into submodule path '/home/user/pinebook-pro-debian-installer/bootloader' failed
I have tried various remedies online even going as far as recompiling git from source with OpenSSL support but all fail. I tried cloning his repository directly but this also fails at about 26%. Does anyone have any tips or is there a workaround?
Apologies if this is a silly question but can the official Debian packages be used in debootstrap scripts? If not what all is needed within the repos for this to be possible in the future? I much prefer automating and building my own installations to downloading precompiled images and I am trying to wrap my head around all the different pieces involved so any guidance is appreciated.
1. please show the exact git command line you tried
2. not sure what you mean, since debootstrap is a tool to build a Debian installation from packages, and you linked to pre-built Debian Installer images (that one uses to install Debian from scratch). The Debian Installer itself is using debootstrap internally.
Thank you for your reply. When running the the install-debian script after cloning Daniel's repository I get the following:
Code:
rock@Debian-Desktop:~/pinebook-pro-debian-installer$ ./install-debian BLKDEV=/dev/mmcblk0
>>>> Preparing to install
Submodule 'ap6256-firmware' (https://gitlab.manjaro.org/manjaro-arm/packages/community/ap6256-firmware) registered for path 'ap6256-firmware'
Submodule 'bootloader' (https://github.com/mrfixit2001/updates_repo) registered for path 'bootloader'
Submodule 'firmware' (https://gitlab.manjaro.org/tsys/pinebook-firmware.git) registered for path 'pinebook-firmware'
Cloning into '/home/rock/pinebook-pro-debian-installer/ap6256-firmware'...
Cloning into '/home/rock/pinebook-pro-debian-installer/bootloader'...
error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
fatal: clone of 'https://github.com/mrfixit2001/updates_repo' into submodule path '/home/rock/pinebook-pro-debian-installer/bootloader' failed
Failed to clone 'bootloader'. Retry scheduled
Cloning into '/home/rock/pinebook-pro-debian-installer/pinebook-firmware'...
Cloning into '/home/rock/pinebook-pro-debian-installer/bootloader'...
error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
fatal: clone of 'https://github.com/mrfixit2001/updates_repo' into submodule path '/home/rock/pinebook-pro-debian-installer/bootloader' failed
Failed to clone 'bootloader' a second time, aborting
And when trying to clone https://github.com/mrfixit2001/updates_repo.git directly I get the following:
Code:
rock@Debian-Desktop:~/pinebook-pro-debian-installer$ git clone https://github.com/mrfixit2001/updates_repo.git
Cloning into 'updates_repo'...
remote: Enumerating objects: 5554, done.
error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
I have tried this on both different versions of Manjaro and a fresh copy of the official Debian image both with a variety of different versions of git from the repos and self compiled, all fail in the same way.
With regards to my question about the official Debian packages, could you explain how these can be used in a debootstrap script? For example could these be incorporated into Daniel's script? Apologies if I am misunderstanding their purpose.