Come into problem with nrfjprog install.

I download the zip file(nrf-command-line-tools-10.15.4_amd64.zip) in the website.

And then I unzip it get the following structure files:

JLink_Linux_V758b_x86_64.deb
JLink_Linux_V758b_x86_64.rpm
JLink_Linux_V758b_x86_64.tgz
nrf-command-line-tools-10.15.4-1.amd64.rpm
nrf-command-line-tools_10.15.4_amd64.deb
nrf-command-line-tools-10.15.4_Linux-amd64.tar.gz

And then I tar the nrf-command-line-tools-10.15.4_Linux-amd64.tar.gz file get two new file

nrf-command-line-tools/ and readme.txt

according to the readme.txt I use sudo dpkg -i nrf-command-line-tools_10.15.4_amd64.deb and failed:

the error info is :

(Reading database ... 232811 files and directories currently installed.)
Preparing to unpack nrf-command-line-tools_10.15.4_amd64.deb ...
Unpacking nrf-command-line-tools (10.15.4) over (10.15.4) ...
dpkg: dependency problems prevent configuration of nrf-command-line-tools:
 nrf-command-line-tools depends on libc6 (>= 2.25); however:
  Version of libc6:amd64 on system is 2.23-0ubuntu11.3.

dpkg: error processing package nrf-command-line-tools (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 nrf-command-line-tools

how could I solve the problem ?

Parents Reply
  • Hi,

    There is an unresolved dependency on your system which prevents libc6 to load and this causes the failure.

    The version of Ubuntu that you are using is rather old. The nRF Command Line Tools v10.15.4 is tested on Ubuntu Linux 20.04.
    I would suggest that you upgrade your Ubuntu Linux OS to v20.04 and do clean installation of the nRF Command Line Tools.

    Best regards,
    Dejan

Children
Related