Missing Dependencies when Installing LabVIEW 2022Q3 on Ubuntu 20.04

Updated Dec 9, 2022

Reported In

Software

  • LabVIEW

Issue Details

When installing LabVIEW 2022Q3 on a PC running Ubuntu 20.04, I see dependency errors in the terminal output. How do I resolve the dependency issue?

Solution

The missing dependency issue can be resolved by first installing two packages, libncurses5 and  libopenal1 with the following commands.

sudo apt-get update && sudo apt install libncurses5
sudo apt-get update && sudo apt install libopenal1


then installing LabVIEW 2022Q3.

Additional Information

The output in the terminal window will look similar to the example shown below. The errors are bold for clarity:

Preparing for installation...
Registering ubuntu Feed
Get:1 file:/home/fred/media/lv2022q3/deb bionic InRelease [3,436 B]
Get:1 file:/home/fred/media/lv2022q3/deb bionic InRelease [3,436 B]
Get:2 file:/home/fred/media/lv2022q3/deb bionic/ni-labview-2022 amd64 Packages [8,667 B]
Get:3 file:/home/fred/media/lv2022q3/deb bionic/ni-labview-2022 i386 Packages [1,924 B]
Fetched 2,908 B in 6s (526 B/s)      
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
Please indicate whether you would like to install the following components:

ni-labview-2022-pro: LabVIEW Professional Developers Tools
[Ynasq?] 

Installing...
Install ni-labview-2022-pro from Feed
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 ni-labview-2022-pro : Depends: ni-labview-2022-core (>= 22.3.0) but it is not going to be installed
                       Depends: ni-labview-2022-desktop (>= 22.3.0) but it is not going to be installed
                       Depends: ni-labview-2022-examples (>= 22.3.0) but it is not going to be installed
                       Depends: ni-labview-2022-help (>= 22.3.0) but it is not going to be installed
                       Depends: ni-labview-2022-ref (>= 22.3.0) but it is not going to be installed
                       Depends: ni-labview-2022-appbuild (>= 22.3.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Un-registering ubuntu Feed