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
  • Same here, Fedora Workstation 36, Gnome.

    Have tried three different approches to install the package:

    1. Via Gnome Software (which is the default action when double-clicking .rpm file) - no luck.

    2. Using dnf - no luck.

    3. using rpm directly - finally managed to install. Not yet sure it will work as expected (thanks to the different architecture - really depends on how the software was compiled, IMHO).

    Would be perfect if the architecture was correct and the install worked using all the standard tools.

    Having a repository with all the required tools would be super cool - than way users could add it to their systems and either be notified of updates or have automatic updates (depending on user's settings).

Reply
  • Same here, Fedora Workstation 36, Gnome.

    Have tried three different approches to install the package:

    1. Via Gnome Software (which is the default action when double-clicking .rpm file) - no luck.

    2. Using dnf - no luck.

    3. using rpm directly - finally managed to install. Not yet sure it will work as expected (thanks to the different architecture - really depends on how the software was compiled, IMHO).

    Would be perfect if the architecture was correct and the install worked using all the standard tools.

    Having a repository with all the required tools would be super cool - than way users could add it to their systems and either be notified of updates or have automatic updates (depending on user's settings).

Children
Related