case about ncs v2.2.0 install

Hi,

1. I tried to install ncs v2.2.0 and proceeded to this step:

Or the west update fails

2. How do I proceed to the next step

Thank you for all your assistance.
Kind regards,
Peter.Min

Parents Reply Children
  • It is recommended that you install NCS using the Toolchain Manager, but if you for some reason want to install it manually please follow the steps outlined here:

    https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/gs_installing.html

  • Hi Einarh,

    I already know

    Thank you for all your assistance.
    Kind regards,
    Peter.Min

  • I have the same issue installing manually on a Linux machine using the steps outlined at https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.2.0/nrf/gs_installing.html

    The `west init` command fails as follows:

    ```

    s/ncs) $ west init -m github.com/.../sdk-nrf --mr main
    === Initializing in /home/foo/work/sources/ncs
    --- Cloning manifest repository from github.com/.../sdk-nrf, rev. main
    Initialized empty Git repository in /home/amit/work/sources/ncs/.west/manifest-tmp/.git/
    remote: Enumerating objects: 151897, done.
    remote: Counting objects: 100% (124/124), done.
    remote: Compressing objects: 100% (95/95), done.
    remote: Total 151897 (delta 54), reused 61 (delta 28), pack-reused 151773
    Receiving objects: 100% (151897/151897), 105.89 MiB | 14.06 MiB/s, done.
    Resolving deltas: 100% (113622/113622), done.
    From github.com/.../sdk-nrf
    * branch main -> FETCH_HEAD
    * [new branch] auto-upmerge/3987470405 -> origin/auto-upmerge/3987470405
    * [new branch] auto-upmerge/4114140233 -> origin/auto-upmerge/4114140233
    * [new branch] backport-7914-to-v2.0-branch -> origin/backport-7914-to-v2.0-branch
    * [new branch] backport-9183-to-v2.1-branch -> origin/backport-9183-to-v2.1-branch
    * [new branch] backport-9217-to-v2.1-branch -> origin/backport-9217-to-v2.1-branch
    * [new branch] dependabot/pip/scripts/certifi-2022.12.7 -> origin/dependabot/pip/scripts/certifi-2022.12.7
    * [new branch] dependabot/pip/scripts/cryptography-39.0.1 -> origin/dependabot/pip/scripts/cryptography-39.0.1
    * [new branch] dependabot/pip/scripts/future-0.18.3 -> origin/dependabot/pip/scripts/future-0.18.3
    * [new branch] dockerrelease -> origin/dockerrelease
    * [new branch] main -> origin/main
    * [new branch] upmerge-tmp -> origin/upmerge-tmp
    * [new branch] upmerge-tmp-update -> origin/upmerge-tmp-update
    * [new branch] v1.0-branch -> origin/v1.0-branch
    * [new branch] v1.1-branch -> origin/v1.1-branch
    * [new branch] v1.2-branch -> origin/v1.2-branch
    * [new branch] v1.3-branch -> origin/v1.3-branch
    * [new branch] v1.4-branch -> origin/v1.4-branch
    * [new branch] v1.5-branch -> origin/v1.5-branch
    * [new branch] v1.6-branch -> origin/v1.6-branch
    * [new branch] v1.7-branch -> origin/v1.7-branch
    * [new branch] v1.8-branch -> origin/v1.8-branch
    * [new branch] v1.9-branch -> origin/v1.9-branch
    * [new branch] v2.0-branch -> origin/v2.0-branch
    * [new branch] v2.1-branch -> origin/v2.1-branch
    * [new branch] v2.2-branch -> origin/v2.2-branch
    * [new tag] v0.1.0 -> v0.1.0
    * [new tag] v0.1.0-rc1 -> v0.1.0-rc1
    * [new tag] v0.3.0 -> v0.3.0
    * [new tag] v0.3.0-rc1 -> v0.3.0-rc1
    * [new tag] v0.3.0-rc2 -> v0.3.0-rc2
    * [new tag] v0.4.0 -> v0.4.0
    * [new tag] v0.4.0-rc1 -> v0.4.0-rc1
    * [new tag] v0.4.0-rc2 -> v0.4.0-rc2
    * [new tag] v1.0.0 -> v1.0.0
    * [new tag] v1.0.0-rc1 -> v1.0.0-rc1
    * [new tag] v1.0.0-rc2 -> v1.0.0-rc2
    * [new tag] v1.0.0-rc3 -> v1.0.0-rc3
    * [new tag] v1.0.0-rc4 -> v1.0.0-rc4
    * [new tag] v1.1.0 -> v1.1.0
    * [new tag] v1.1.0-rc1 -> v1.1.0-rc1
    * [new tag] v1.1.0-rc2 -> v1.1.0-rc2
    * [new tag] v1.1.0-rc3 -> v1.1.0-rc3
    * [new tag] v1.2.0 -> v1.2.0
    * [new tag] v1.2.0-rc1 -> v1.2.0-rc1
    * [new tag] v1.2.0-rc2 -> v1.2.0-rc2
    * [new tag] v1.2.1 -> v1.2.1
    * [new tag] v1.2.99-dev1 -> v1.2.99-dev1
    * [new tag] v1.3.0 -> v1.3.0
    * [new tag] v1.3.0-rc1 -> v1.3.0-rc1
    * [new tag] v1.3.0-rc2 -> v1.3.0-rc2
    * [new tag] v1.3.0-rc3 -> v1.3.0-rc3
    * [new tag] v1.3.1 -> v1.3.1
    * [new tag] v1.3.2 -> v1.3.2
    * [new tag] v1.3.2-rc1 -> v1.3.2-rc1
    * [new tag] v1.4.0 -> v1.4.0
    * [new tag] v1.4.0-rc1 -> v1.4.0-rc1
    * [new tag] v1.4.0-rc2 -> v1.4.0-rc2
    * [new tag] v1.4.1 -> v1.4.1
    * [new tag] v1.4.1-rc1 -> v1.4.1-rc1
    * [new tag] v1.4.2 -> v1.4.2
    * [new tag] v1.4.99-dev1 -> v1.4.99-dev1
    * [new tag] v1.5.0 -> v1.5.0
    * [new tag] v1.5.0-rc1 -> v1.5.0-rc1
    * [new tag] v1.5.1 -> v1.5.1
    * [new tag] v1.5.1-rc1 -> v1.5.1-rc1
    * [new tag] v1.5.2 -> v1.5.2
    * [new tag] v1.6.0 -> v1.6.0
    * [new tag] v1.6.0-rc1 -> v1.6.0-rc1
    * [new tag] v1.6.0-rc2 -> v1.6.0-rc2
    * [new tag] v1.6.0-rc3 -> v1.6.0-rc3
    * [new tag] v1.6.1 -> v1.6.1
    * [new tag] v1.7.0 -> v1.7.0
    * [new tag] v1.7.0-rc1 -> v1.7.0-rc1
    * [new tag] v1.7.0-rc2 -> v1.7.0-rc2
    * [new tag] v1.7.1 -> v1.7.1
    * [new tag] v1.8.0 -> v1.8.0
    * [new tag] v1.8.0-rc1 -> v1.8.0-rc1
    * [new tag] v1.8.0-rc2 -> v1.8.0-rc2
    * [new tag] v1.9.0 -> v1.9.0
    * [new tag] v1.9.0-rc1 -> v1.9.0-rc1
    * [new tag] v1.9.0-rc2 -> v1.9.0-rc2
    * [new tag] v1.9.1 -> v1.9.1
    * [new tag] v1.9.2 -> v1.9.2
    * [new tag] v1.9.99-dev1 -> v1.9.99-dev1
    * [new tag] v2.0.0 -> v2.0.0
    * [new tag] v2.0.0-rc1 -> v2.0.0-rc1
    * [new tag] v2.0.0-rc2 -> v2.0.0-rc2
    * [new tag] v2.0.1 -> v2.0.1
    * [new tag] v2.0.2 -> v2.0.2
    * [new tag] v2.1.0 -> v2.1.0
    * [new tag] v2.1.0-rc1 -> v2.1.0-rc1
    * [new tag] v2.1.0-rc2 -> v2.1.0-rc2
    * [new tag] v2.1.1 -> v2.1.1
    * [new tag] v2.1.2 -> v2.1.2
    * [new tag] v2.1.3 -> v2.1.3
    * [new tag] v2.1.99-dev1 -> v2.1.99-dev1
    * [new tag] v2.1.99-dev2 -> v2.1.99-dev2
    * [new tag] v2.2.0 -> v2.2.0
    * [new tag] v2.2.0-rc1 -> v2.2.0-rc1
    * [new tag] v2.2.0-rc2 -> v2.2.0-rc2
    * [new tag] v2.2.99-dev1 -> v2.2.99-dev1
    * [new tag] v2.2.99-dev2 -> v2.2.99-dev2
    * [new tag] v2.2.99-dev3 -> v2.2.99-dev3
    373683005867d10c7d17aecefd1d05082cbbf16c refs/remotes/origin/main
    Branch 'main' set up to track remote branch 'main' from 'origin'.
    Switched to a new branch 'main'
    Traceback (most recent call last):
    File "/home/foo/.local/lib/python3.8/site-packages/west/manifest.py", line 1115, in __init__
    validate(source_data)
    File "/home/foo/.local/lib/python3.8/site-packages/west/manifest.py", line 363, in validate
    raise ManifestVersionError(min_version_str)
    west.manifest.ManifestVersionError: ('0.12', None)

    The above exception was the direct cause of the following exception:

    Traceback (most recent call last):
    File "/home/foo/.local/bin/west", line 8, in <module>
    sys.exit(main())
    File "/home/foo/.local/lib/python3.8/site-packages/west/app/main.py", line 780, in main
    app.run(argv or sys.argv[1:])
    File "/home/foo/.local/lib/python3.8/site-packages/west/app/main.py", line 106, in run
    self.run_command(argv)
    File "/home/foo/.local/lib/python3.8/site-packages/west/app/main.py", line 337, in run_command
    cmd.run(args, unknown, self.topdir, manifest=self.manifest)
    File "/home/foo/.local/lib/python3.8/site-packages/west/commands.py", line 129, in run
    self.do_run(args, unknown)
    File "/home/foo/.local/lib/python3.8/site-packages/west/app/project.py", line 207, in do_run
    topdir = self.bootstrap(args)
    File "/home/foo/.local/lib/python3.8/site-packages/west/app/project.py", line 284, in bootstrap
    projects = Manifest.from_file(temp_manifest,
    File "/home/foo/.local/lib/python3.8/site-packages/west/manifest.py", line 977, in from_file
    return Manifest(**kwargs)
    File "/home/foo/.local/lib/python3.8/site-packages/west/manifest.py", line 1117, in __init__
    raise ManifestVersionError(mv.version, file=source_file) from mv
    west.manifest.ManifestVersionError: ('0.12', PosixPath('/home/amit/work/sources/ncs/.west/manifest-tmp/west.yml'))

    ```

Related