Introduction
Problem description
When trying to install a NavVis package via apt-get, apt prevents the installation, lists several dependencies, and tells me that these are “not going to be installed”. This means that at least one of the dependencies cannot be installed. Often the dependencies of dependencies have conflicting versions.
Scope
This solution applies to NavVis M6 and NavVis VLX software.
Troubleshooting procedure
Solution 1
Make sure your system is up to date. Check which packages are missing. You can check the dependency graph by recursively running:
apt-get installTo update, try the following:
sudo apt-get update sudo apt-get dist-upgradeThis should update your dependencies, and you should now be able to install your package(s).
Solution 2
If this does not work or the trolley software does not run smoothly after that, you can purge all NavVis software and ROS packages on it and re-install:
Purge the current NavVis software from the device or workstation:
sudo apt-get purge 'navvis-.*' '^ros-.*'Add the following stable repos in
/etc/apt/sources.list.d/navvis.list:sudo nano /etc/apt/sources.list.d/navvis.listThese should go in there as an example (NavVis M6 stable release):
deb http://repo.navvis.com/repo/navvis-stable/ bionic non-free
Install the navvis packages from scratch:
sudo apt-get update sudo apt-get install navvis-repos sudo apt-get update sudo apt-get install navvis-trolley-m6 # or package "navvis-trolley-m3"/"navvis-vlx" for trolleys, "navvis-desktop-full" for workstations
Solution 3
If none of the above helps, this indicates that there are some dependencies conflicts with Ubuntu.
Navigate to Software & Updates from the All Applications menu.

Go to the Updates tab and check all the checkboxes. If they were already checked, this solution will not work.

Finalize with:
sudo apt-get update sudo apt-get install navvis-desktop-full
FAQ
What should I do if apt-get prevents the installation of a NavVis package?
You should ensure your system is up to date and check for missing packages by running 'apt-get install'.
How can I update my system to resolve dependency issues?
You can update your system by running 'sudo apt-get update' followed by 'sudo apt-get dist-upgrade'.
What if updating does not resolve the installation issue?
If updating does not work, you can purge all NavVis software and ROS packages and then reinstall them.
How do I purge NavVis software from my device?
You can purge the software by running 'sudo apt-get purge 'navvis-.*' '^ros-.*''.
Where do I add the stable repositories for NavVis?
You should add the stable repositories in '/etc/apt/sources.list.d/navvis.list'.
What command do I use to install NavVis packages after purging?
You can install NavVis packages by running 'sudo apt-get install navvis-repos' followed by the specific package name.
What should I do if there are still dependency conflicts after following the solutions?
You can check the Software & Updates settings and ensure all checkboxes in the Updates tab are checked.
Is it necessary to check the Updates tab in Software & Updates?
Yes, checking the Updates tab can help resolve dependency conflicts.
Can I install NavVis software on both NavVis M6 and NavVis VLX?
Yes, the solutions provided apply to both NavVis M6 and NavVis VLX software.