Following the tutorial, Get an error trying to install the SDK

Im following the following tutorial to just get the Blinky sketch going. https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/lessons/lesson-1-nrf-connect-sdk-introduction/topic/exercise-1-1/

The problem comes when trying to install the SDK I get the following error.

No issues were detected with the toolchain.
[16:21:51] Command failed: west init -m github.com/.../sdk-nrf --mr v2.6.0
Cloning into '/home/plakkies/ncs/v2.6.0/.west/manifest-tmp'...
error: 475 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 ERROR: command exited with status 128: git clone --branch v2.6.0 github.com/.../sdk-nrf /home/plakkies/ncs/v2.6.0/.west/manifest-tmp

Im running Ubuntu 22.04, All steps before was followed without error. I have double checked this.

Did I miss something? Please help me. Im trying Nordic products for the first time. Im very used to STM and Microchip, This looks like it would be easier but im not so sure now.

Parents Reply Children
  • Hello, I am Installing via VS code extension. I have followed you recommendation. I have tried this at home a few times as well as from an AP on my phone. At the office as well. I find that it gives different numbers with bytes of body are still expected. I tried multiple times with the different connections. Today at the office it did something different It starting doing a few things and I let it run. However it has been going for almost 2 hours now and it says Updating matter repository. In the output window it is showing the following.

    [west]: See "git help gc" for manual housekeeping.
    [west]: Auto packing the repository in background for optimum performance.
    [west]: See "git help gc" for manual housekeeping.
    [west]: Auto packing the repository in background for optimum performance.
    [west]: See "git help gc" for manual housekeeping.
    [west]: Auto packing the repository in background for optimum performance.
    [west]: See "git help gc" for manual housekeeping.
    [west]: Auto packing the repository in background for optimum performance.
    [west]: See "git help gc" for manual housekeeping.
    [west]: Auto packing the repository in background for optimum performance.
    [west]: See "git help gc" for manual housekeeping.
    [west]: Auto packing the repository in background for optimum performance.
    [west]: See "git help gc" for manual housekeeping.
    [west]: Auto packing the repository in background for optimum performance.
    [west]: See "git help gc" for manual housekeeping.
    [west]: Auto packing the repository in background for optimum performance.
    [west]: See "git help gc" for manual housekeeping.
  • Hello,

    How is your bandwidth? Is it still downloading? I have not noticed these messages when cloning the Matter repo on my setup (https://stackoverflow.com/questions/8633981/what-does-auto-packing-the-repository-for-optimum-performance-mean).  

  • I could not keep waiting for it and started working on another project. The 3 different Inet connections I tried are a 50Mbps Fiber line, 5G Connection and 4G connection. I don't have issues with connecting to other websites and downloading https://github.com/nrfconnect/sdk-nrf took a few seconds.

Related