"Couldn't Find Anything to Satisfy 'ntp' " Message When Attempting to Install ntp to Offline NI Linux Real-Time Target

Updated Oct 30, 2023

Reported In

Operating System

  • LabVIEW Real-Time (NI Linux Real-Time)

Issue Details

I'm attempting to install ntp services on my NI Linux Real-Time target (RT target). I'm following the guide: Synchronize Linux Real Time Targets with Network Time Protocol (NTP) Server. However, since I don't have the device or host hooked up to the internet I'm using this guide for offline opkg installation: Offline installation of OPKG packages on Linux Real-Time devices. But after doing all this I'm still getting:
  • "opkg_prepare_url_for_install: Couldn't find anything to satisfy 'ntp'." message. 
Is the ntp or any of its related packages not part of the NI Linux Real-Time Offline Installation Support package?

Solution

Installation packages for a third-party utility like ntp are not included in the NI Linux Real-Time Offline Installation Support package. You can get and copy the ntp packages from Download.ni.com. Specifically, the ntp packages can be found by navigating to the following folder:
 
  • https://download.ni.com/#ni-linux-rt/feeds/<Linux RT Image Version>/x64/extra/core2-64/. For instance, if you are using the Linux RT Image version 2023Q4, the path should be: https://download.ni.com/#ni-linux-rt/feeds/2023Q4/x64/extra/core2-64/

A good way of determining what packages are required for the installation is to perform the opkg install on a machine with internet connection and check what .ipk packages are downloaded. For ntp, these are the required .ipk files:
Screenshot_1.png
Once you download the .ipk files, follow the Installing Software to Offline NI Linux Real-Time Targets article to save them in the correct folder. 
Then, you should be able to navigate to set up an SSH session with the target, navigate to the installation folder, and install the ntp packages on your RT target by running the following command:
  • opkg install <package_name.ipk>. For example, opkg install ntp-lic_4.8.8p15-r0.48_core2-64.ipk