Install ZED Link Drivers after reflash leads to dpkg warnings

Hi there,

I am using a ZED Box Orin NX 16 GB with Ubuntu 22.04.5 and nvidia-jetpack 6.2.1+b38.

Because my system was corrupted, i needed to flash the ZED Box. Therefore I followed the official documentation (see: Flash your ZED Box Orin - Stereolabs ). I ran into the noted error of “5: Update the System” but was able to fix it with the commands stated there.

Lastly, when I install the ZED Link Drivers with sudo dpkg -i stereolabs-zedbox-duo_1.3.2-LI-MAX96712-all-ZEDBOX-L4T36.4.0_arm64.deb I get hundreds of dpkg warnings like: dpkg: warning: files list file for package ‘libctf0:arm64’ missing; assuming package has no files currently installed etc. The installation finishes with:

(Reading database … 13319 files and directories currently installed.)Preparing to unpack stereolabs-zedbox-duo_1.3.2-LI-MAX96712-all-ZEDBOX-L4T36.4.0_arm64.deb …Unpacking stereolabs-zedbox-duo (1.3.2-LI-MAX96712-all-ZEDBOX-L4T36.4.0) …Setting up stereolabs-zedbox-duo (1.3.2-LI-MAX96712-all-ZEDBOX-L4T36.4.0) …Detected DTB to update : tegra234-p3768Detected capture card : zedbox-duoSet FDT to : /boot/dtb/kernel_tegra234-p3768-0000+p3767-0000-nv.dtbCreated symlink /etc/systemd/system/multi-user.target.wants/zed_x_daemon.service → /etc/systemd/system/zed_x_daemon.service.Created symlink /etc/systemd/system/multi-user.target.wants/driver_zed_loader.service → /etc/systemd/system/driver_zed_loader.service.

I do not assume that this behavior is normal to what I read in other threads. How can i fix that?

Thank you in advance!

The dpkg warnings are real since your system is a little out of sync when you reflash it. This is because some package information is lost, which is why it says that file lists such libctf0:arm64 are missing. The good news is that your ZED Link driver installs correctly and the symlinks and services are set up, so everything should still work.

To repair the package database and get rid of the warnings, do the following:

sudo apt --fix-broken install
sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade

This will fix any missing information and set up any packages that are only partly installed. Then, run again:

dpkg -l | grep ^..r

to look for packages that are still broken. If any do show up, running sudo apt-get install --reinstall typically gets rid of them.

In brief, the warnings are common after a reflash and don’t signify that your ZED Box driver is defective. Cleaning the dpkg/apt database will get rid of the noise and make the system more stable.

1 Like