nRF Command Line Tools Linux RPM package has wrong arch

The RPM package for Linux x86 64 bit has its architecture set to amd64, but the correct value should be x86_64. This problem prevents installing the RPM on current versions of Fedora.

Attempting to install results in an error "package nrf-command-line-tools-10.15.4-1.amd64 does not have a compatible architecture"

% rpm -qip nrf-command-line-tools-10.15.4-1.amd64.rpm
Name        : nrf-command-line-tools
Version     : 10.15.4
Release     : 1
Architecture: amd64
Install Date: (not installed)
Group       : unknown
Size        : 82042919
License     : unknown
Signature   : (none)
Source RPM  : nrf-command-line-tools-10.15.4-1.src.rpm
Build Date  : Mon 28 Feb 2022 04:49:54 PM CET
Build Host  : sag-tool-docker-ubuntu-x64
Relocations : /opt/nrf-command-line-tools  
Vendor      : Nordic Semiconductor
URL         : www.nordicsemi.com/.../nRF-Command-Line-Tools
Summary     : nrf-command-line-tools
Description :
A command line tool set for programming nRF series devices via J-Link debug probes.

Parents
  • Hi,

    Thanks for letting us know. As you noted, amd64 and x86_64 is the exact same architecture, so it is only the RPM package that is different. I have informed the team responsible for the nRF Command Line Tools so that they can update the generated RPM packages to use x86_64 in the future.

  • Hi,

    We did not see this when testing with Fedora35 (latest stable), 36, and 37/Rawhide (dev build). Which exact Fedora version are you using, and which machine?

  • I am running Fedora Silverblue 35 . it is possible that rpm-ostree is more picky about this than the regular rpm command is. Machine is a x86_64 (Intel 10th gen laptop).

    Install command:

    rpm-ostree install nrf-...-1.rpm

Reply
  • I am running Fedora Silverblue 35 . it is possible that rpm-ostree is more picky about this than the regular rpm command is. Machine is a x86_64 (Intel 10th gen laptop).

    Install command:

    rpm-ostree install nrf-...-1.rpm

Children