LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Installation Error on Ubuntu

Hi floks,

 

I am trying to install LabVIEW 2022Q3 on Ubuntu 20.04.01 LTS. But It is showing some dependency not installable. Find the below image for your reference. 

 

Installing...
Install ni-labview-2022-community from Feed
Reading package lists... Done
Building dependency tree... Done
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-wine : Depends: libncurses5 but it is not installable
Depends: libldap-2.4-2 but it is not installable
Depends: libopenal1 but it is not installable
E: Unable to correct problems, you have held broken packages.
Un-registering ubuntu Feed

 

Kindly let me know how to resolve this issue.

Happy to Wire
0 Kudos
Message 1 of 15
(4,557 Views)

Hi all,

 

I am facing the same problem.

Does anyone know how to fix it?

 

Many thanks!

Hien.

0 Kudos
Message 2 of 15
(4,465 Views)

Are you on Ubuntu 18 or 20? Ubuntu 22 is not a supported OS.

0 Kudos
Message 3 of 15
(4,444 Views)

Hi Derrick,

 

I'm using Ubuntu 20.04.

0 Kudos
Message 4 of 15
(4,419 Views)

If you run

 

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

 

and then run the installer again does the issue get cleared up? Do errors show up when you manually try to update apt and install the dependencies?

0 Kudos
Message 5 of 15
(4,396 Views)

Hi Derrick,

 

After running sudo apt-get update && sudo apt install libncurses5 libopenal1, 

then rerun the install by: sudo ./INSTALL

the errors are gone.

However, a message appears at the end as following:

 

Preparing for installation...
Registering ubuntu Feed
Get:1 file:/home/hien/work/LabView/2022Q3LVLinPro/deb bionic InRelease [3,436 B]
Get:1 file:/home/hien/work/LabView/2022Q3LVLinPro/deb bionic InRelease [3,436 B]
Hit:2 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:3 https://linux.teamviewer.com/deb stable InRelease
Hit:4 http://ppa.launchpad.net/linuxuprising/libpng12/ubuntu focal InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
Please indicate whether you would like to install the following components:

All available LabVIEW packages have already been installed or cannot
be installed due to package conflicts.
Un-registering ubuntu Feed

 

I don't know if it means the installation completes successfully or not.

 

Thanks.

0 Kudos
Message 6 of 15
(4,374 Views)

Hi Derrick,

 

Do you have any comment on the message as mentioned above?

 

Many thanks,

Hien.

0 Kudos
Message 7 of 15
(4,285 Views)

I'm not sure why it would say it's already installed unless it thinks it already is, that's a message from Ubuntu's package manager. Have you tried manually installing any of the packages in the LabVIEW installer previously? All I've had to do is manually install those two packages and then run the installer and it worked. Do you have support entitlement? (Assuming so since you're getting a copy of LV2022Q3) You could submit a support request for us to dig into this further.

0 Kudos
Message 8 of 15
(4,263 Views)

@DerrickB wrote:

If you run

 

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

 

and then run the installer again does the issue get cleared up? Do errors show up when you manually try to update apt and install the dependencies?


I did this and it is not finding libopenall.

ah someone was devious. Who puts a 1 after an l in a package name? Seriously?

Sam Taggart
CLA, CPI, CTD, LabVIEW Champion
DQMH Trusted Advisor
Read about my thoughts on Software Development at sasworkshops.com/blog
GCentral
0 Kudos
Message 9 of 15
(3,938 Views)

Still having broken packages. 

 

Although the last line still spits out "installation complete".

 

Not exactly complete.

Sam Taggart
CLA, CPI, CTD, LabVIEW Champion
DQMH Trusted Advisor
Read about my thoughts on Software Development at sasworkshops.com/blog
GCentral
0 Kudos
Message 10 of 15
(3,934 Views)