Install CVB on a Ubuntu 20.04 server without an internet connection

I faced some problems while installing CVB version 14.00.001 on an Ubuntu 20.04 server.
This pc will never be connected to the internet and I want to install on that machine the newest CVB version.
It is a clean installed Ubuntu 20.046 live server amd 64 OS.
The Error is as follows:

sudo ./install_cvb.sh
Updating the package information
Err:1 http://archive.ubuntu.com/ubuntu focal InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Err:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Err:3 http://archive.ubuntu.com/ubuntu focal-backports InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Err:4 http://archive.ubuntu.com/ubuntu focal-security InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-updates/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-backports/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-security/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 codemeter : Depends: libfontconfig1 (>= 2.11) but it is not going to be installed
             Depends: libgl1-mesa-glx but it is not going to be installed or
                      libgl1 but it is not going to be installed
             Depends: libice6 (>= 1:1.0.0) but it is not going to be installed
             Depends: libsm6 but it is not going to be installed
             Depends: libx11-xcb1 but it is not going to be installed
             Depends: libxcb-glx0 but it is not going to be installed
             Depends: libxcb-icccm4 (>= 0.4.1) but it is not going to be installed
             Depends: libxcb-image0 (>= 0.2.1) but it is not going to be installed
             Depends: libxcb-keysyms1 (>= 0.4.0) but it is not going to be installed
             Depends: libxcb-randr0 (>= 1.3) but it is not going to be installed
             Depends: libxcb-render-util0 but it is not going to be installed
             Depends: libxcb-render0 but it is not going to be installed
             Depends: libxcb-shape0 but it is not going to be installed
             Depends: libxcb-shm0 (>= 1.10) but it is not going to be installed
             Depends: libxcb-sync1 but it is not going to be installed
             Depends: libxcb-xfixes0 but it is not going to be installed
             Depends: libxcb-xinerama0 but it is not going to be installed
             Depends: libxcb-xkb1 but it is not going to be installed
             Depends: libxkbcommon-x11-0 (>= 0.5.0) but it is not going to be installed
             Depends: libxkbcommon0 (>= 0.5.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Installing Codemeter package
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 codemeter : Depends: libfontconfig1 (>= 2.11) but it is not going to be installed
             Depends: libgl1-mesa-glx but it is not going to be installed or
                      libgl1 but it is not going to be installed
             Depends: libice6 (>= 1:1.0.0) but it is not going to be installed
             Depends: libsm6 but it is not going to be installed
             Depends: libx11-xcb1 but it is not going to be installed
             Depends: libxcb-glx0 but it is not going to be installed
             Depends: libxcb-icccm4 (>= 0.4.1) but it is not going to be installed
             Depends: libxcb-image0 (>= 0.2.1) but it is not going to be installed
             Depends: libxcb-keysyms1 (>= 0.4.0) but it is not going to be installed
             Depends: libxcb-randr0 (>= 1.3) but it is not going to be installed
             Depends: libxcb-render-util0 but it is not going to be installed
             Depends: libxcb-render0 but it is not going to be installed
             Depends: libxcb-shape0 but it is not going to be installed
             Depends: libxcb-shm0 (>= 1.10) but it is not going to be installed
             Depends: libxcb-sync1 but it is not going to be installed
             Depends: libxcb-xfixes0 but it is not going to be installed
             Depends: libxcb-xkb1 but it is not going to be installed
             Depends: libxkbcommon-x11-0 (>= 0.5.0) but it is not going to be installed
             Depends: libxkbcommon0 (>= 0.5.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Is there something I can do without connecting the machine to the internet?

Hi @ASchmitt

for me it looks like Codemeter cannot be installed.
If you are working with CameraSuite licenses that are provided when purchasing cameras from Stemmer Imaging, you dont necessarily need Codemeter.

From our knowledgebase:
In some cases you might want to have a minimalistic installation of Cvb. When only using the Camerasuite, you dont necessarily need the Codemeter runtime.

However when installing Cvb using the debian packets, the installation wizzard will prompt you with the warning, that Cvb depends on the Codemeter runtime (which ist true for dongle and node locked licensing). However, you can force (dpkg --force-all -i <name of the .deb files you downloaded>) the installation to continue without Codemeter as this should not have any impact on the functionality if only using Camerasuite.

If you set up Cvb using the tar.gz packets, you can also skip the Codemeter related files.

Now Codemeter is not the only thing that is being installed.
There are some parts of CVB that depend on .NET Core which is also being installed/ downloaded from the internet. Still, if you are not planning on using those parts, you dont need to install them.
CVB will work nonetheless as we dont have hard dependencies on those packets.

If you find yourself in need of any of the packets that can not be installed as they require an active internet connection, you can still change the install.sh to provide those packets manually.

I hope this helps!
Cheers

1 Like

But I get this error when “forcing” the installation of cvb-camerasuite:

$ sudo dpkg -i --force-all cvb-camerasuite-14.00.010-ubu2004-x86_64.deb
…
Job for cvmgmtd.service failed because the control process exited with error code.
See “systemctl status cvmgmtd.service” and “journalctl -xe” for details.
dpkg: error processing package cvb-camerasuite (–install):
installed cvb-camerasuite package post-installation script subprocess returned error exit status 1
Processing triggers for systemd (245.4-4ubuntu3.23) …
Processing triggers for libc-bin (2.31-0ubuntu9.15) …
Errors were encountered while processing:
cvb-camerasuite

$ systemctl status cvmgmtd.service
● cvmgmtd.service - Common Vision Blox Management Daemon.
Loaded: loaded (/lib/systemd/system/cvmgmtd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2024-05-29 08:54:39 CEST; 33s ago

maj 29 08:54:39 writemmstestrig systemd[1]: Starting Common Vision Blox Management Daemon…
maj 29 08:54:39 writemmstestrig cvmgmtd[1089177]: /opt/cvb-14.00.010/bin/cvmgmtd: error while loading shared libraries: libwibucm.so: cannot open shared object file: No such file or directory
maj 29 08:54:39 writemmstestrig systemd[1]: cvmgmtd.service: Control process exited, code=exited, status=127/n/a
maj 29 08:54:39 writemmstestrig systemd[1]: cvmgmtd.service: Failed with result ‘exit-code’.
maj 29 08:54:39 writemmstestrig systemd[1]: Failed to start Common Vision Blox Management Daemon…

See also:
https://forum.commonvisionblox.com/t/minimal-run-time-installation-on-linux/2162/5