Apt upgrade fails

I did unbox my brand-new Zed Box mini Orin NX 16GB.
I tried apt update, apt upgrade and apt dist-upgrade as described in the setup guide.
After the dist-upgrade something failed and the apt update is not working anymore.
This is the output:

udo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  python2.7-minimal qt5-qmake-bin libzvbi-common qtbase5-dev-tools
  libqt5core5a libzbar0 libiperf0 libjs-jquery-ui libqt5network5
  libqt5concurrent5 libqt5dbus5 libopenexr25 libqt5test5 libqt5widgets5
  python3-scipy libpostproc55 libopencv-core4.5d libqt5gui5
  libqt5printsupport5 libavcodec58 libqt5xml5 libgstreamer-plugins-bad1.0-0
  libqt5opengl5 iperf3 libpython2.7 qtbase5-dev libavutil56 libqt5sql5
  libswscale5 freeglut3 gir1.2-gst-plugins-bad-1.0 libswresample3 qt5-qmake
  libavformat58 libzvbi0 gstreamer1.0-plugins-bad libgstreamer-opencv1.0-0
  python2.7 libde265-0 libpython2.7-minimal freeglut3-dev libpython2.7-stdlib
  libgstreamer-plugins-bad1.0-dev libavfilter7
Learn more about Ubuntu Pro at https://ubuntu.com/pro
The following packages have been kept back:
  libnss-systemd libpam-systemd libsystemd0 libudev-dev libudev1 systemd systemd-oomd systemd-sysv udev
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
7 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up nvidia-l4t-bootloader (36.4.7-20250918154033) ...
Warning: Cannot get compatible board name.
3767-000-0000--1--p3509-a02-p3767-0000-
TNSPEC 3767-303-0000-B.1-1-1-p3509-a02-p3767-0000-
COMPATIBLE_SPEC 3767-000-0000--1--p3509-a02-p3767-0000-
TEGRA_BOOT_STORAGE nvme0n1
TEGRA_CHIPID 0x23
TEGRA_OTA_BOOT_DEVICE /dev/mtdblock0
TEGRA_OTA_GPT_DEVICE /dev/mtdblock0
Info: Write TegraPlatformCompatSpec with 3767-000-0000--1--p3509-a02-p3767-0000-.
Info: The esp is already mounted to /boot/efi.
INFO. Dump slots info:
Current version: 36.4.4
Capsule update status: 0
Current bootloader slot: A
Active bootloader slot: A
num_slots: 2
slot: 0,             status: normal
slot: 1,             status: normal
INFO. Dump nv_boot_control.conf:
TNSPEC 3767-303-0000-B.1-1-1-p3509-a02-p3767-0000-
COMPATIBLE_SPEC 3767-000-0000--1--p3509-a02-p3767-0000-
TEGRA_BOOT_STORAGE nvme0n1
TEGRA_CHIPID 0x23
TEGRA_OTA_BOOT_DEVICE /dev/mtdblock0
TEGRA_OTA_GPT_DEVICE /dev/mtdblock0
ERROR. 3767-000-0000--1--p3509-a02-p3767-0000- does not match any known boards.
dpkg: error processing package nvidia-l4t-bootloader (--configure):
 installed nvidia-l4t-bootloader package post-installation script subprocess returned error exit status 1
Setting up nvidia-l4t-kernel (5.15.148-tegra-36.4.7-20250918154033) ...
Using the existing boot entry 'primary'
Warning: Cannot get compatible board name.
3767-000-0000--1--p3509-a02-p3767-0000-
TNSPEC 3767-303-0000-B.1-1-1-p3509-a02-p3767-0000-
COMPATIBLE_SPEC 3767-000-0000--1--p3509-a02-p3767-0000-
TEGRA_BOOT_STORAGE nvme0n1
TEGRA_CHIPID 0x23
TEGRA_OTA_BOOT_DEVICE /dev/mtdblock0
TEGRA_OTA_GPT_DEVICE /dev/mtdblock0
Info: Write TegraPlatformCompatSpec with 3767-000-0000--1--p3509-a02-p3767-0000-.
Info: The esp is already mounted to /boot/efi.
Starting kernel post-install procedure.
Rootfs AB is not enabled.
ERROR. Procedure for A_kernel update FAILED.
Cannot install package. Exiting...
dpkg: error processing package nvidia-l4t-kernel (--configure):
 installed nvidia-l4t-kernel package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of nvidia-l4t-kernel-headers:
 nvidia-l4t-kernel-headers depends on nvidia-l4t-kernel (= 5.15.148-tegra-36.4.7-20250918154033); however:
  Package nvidia-l4t-kernel is not configured yet.

dpkg: error processing package nvidia-l4t-kernel-headers (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          No apport report written because MaxReports is reached already
                                                 dpkg: dependency problems prevent configuration of nvidia-l4t-kernel-oot-modules:
 nvidia-l4t-kernel-oot-modules depends on nvidia-l4t-kernel (= 5.15.148-tegra-36.4.7-20250918154033); however:
  Package nvidia-l4t-kernel is not configured yet.

dpkg: error processing package nvidia-l4t-kernel-oot-modules (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nvidia-l4t-display-kernel:
 nvidia-l4t-display-kernel depends on nvidia-l4t-kernel (= 5.15.148-tegra-36.4.7-20250918154033); however:
  Package nvidia-l4t-kernel is not configured yet.

dpkg: error processing package nvidia-l4t-display-kernel (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nvidia-l4t-kernel-oot-headers:
 nvidia-l4t-kernel-oot-headers depends on nvidia-l4t-kernel (= 5.15.148-tegra-36.4.7-20250918154033); however:
  Package nvidia-l4t-kernel is not configured yet.

dNo apport report written because MaxReports is reached already
                                                               No apport report written because MaxReports is reached already
      No apport report written because MaxReports is reached already
                                                                    pkg: error processing package nvidia-l4t-kernel-oot-headers (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nvidia-l4t-kernel-dtbs:
 nvidia-l4t-kernel-dtbs depends on nvidia-l4t-kernel (= 5.15.148-tegra-36.4.7-20250918154033); however:
  Package nvidia-l4t-kernel is not configured yet.

dpkg: error processing package nvidia-l4t-kernel-dtbs (--configure):
 dependency problems - leaving unconfigured
Processing triggers for nvidia-l4t-initrd (36.4.7-20250918154033) ...
Include /etc/nv-update-initrd/list.d/binlist
Include /etc/nv-update-initrd/list.d/modules
nv-update-initrd: Updating /boot/initrd from /etc/nv-update-initrd/list.d for kernel version 5.15.148-tegra..
Add /usr/sbin/nvluks-srv-app
Add /lib/modules/5.15.148-tegra/updates/drivers/net/ethernet/nvidia/nvethernet/nvethernet.ko
Add /lib/modules/5.15.148-tegra/updates/drivers/nvpps/nvpps.ko
Add /lib/modules/5.15.148-tegra/updates/drivers/net/ethernet/realtek/r8126/r8126.ko
Add /lib/modules/5.15.148-tegra/updates/drivers/net/ethernet/realtek/r8168/r8168.ko
Add /lib/modules/5.15.148-tegra/modules*
Add /lib/modules/5.15.148-tegra/kernel/drivers/nvme/host/nvme.ko
Add /lib/modules/5.15.148-tegra/kernel/drivers/nvme/host/nvme-core.ko
Add /lib/modules/5.15.148-tegra/kernel/drivers/thermal/tegra/tegra-bpmp-thermal.ko
Add /lib/modules/5.15.148-tegra/kernel/drivers/pwm/pwm-tegra.ko
Add /lib/modules/5.15.148-tegra/kernel/drivers/hwmon/pwm-fan.ko
Add /lib/modules/5.15.148-tegra/kernel/drivers/pci/controller/dwc/pcie-tegra194.ko
Add /lib/modules/5.15.148-tegra/kernel/drivers/phy/tegra/phy-tegra194-p2u.ko
Add /lib/modules/5.15.148-tegra/kernel/drivers/usb/gadget/udc/tegra-xudc.ko
Add /lib/modules/5.15.148-tegra/kernel/drivers/usb/typec/ucsi/typec_ucsi.ko
Add /lib/modules/5.15.148-tegra/kernel/drivers/usb/typec/ucsi/ucsi_ccg.ko
Add /lib/modules/5.15.148-tegra/kernel/drivers/usb/typec/typec.ko
Updating modprobe.d configuration directories for modprobe..
Add config /etc/modprobe.d/alsa-base.conf
Add config /etc/modprobe.d/bcmdhd.conf
Add config /etc/modprobe.d/blacklist-ath_pci.conf
Add config /etc/modprobe.d/blacklist.conf
Add config /etc/modprobe.d/blacklist-firewire.conf
Add config /etc/modprobe.d/blacklist-framebuffer.conf
Add config /etc/modprobe.d/blacklist-modem.conf
Add config-link /etc/modprobe.d/blacklist-oss.conf
Add config /etc/modprobe.d/blacklist-rare-network.conf
Add config /etc/modprobe.d/denylist-nouveau.conf
Add config /etc/modprobe.d/denylist-oot-modules-audio.conf
Add config /etc/modprobe.d/denylist-ramoops.conf
Add config /etc/modprobe.d/denylist-tegra-safety.conf
Add config /etc/modprobe.d/denylist-tpm-ftpm-tee.conf
Add config /etc/modprobe.d/iwlwifi.conf
Add config /etc/modprobe.d/nvgpu.conf
Add config /etc/modprobe.d/nvidia-display.conf
Add config /etc/modprobe.d/tegra-udrm.conf
Add config /lib/modprobe.d/aliases.conf
Add config /lib/modprobe.d/fbdev-blacklist.conf
Add config /lib/modprobe.d/systemd.conf
Cleaning up the temporary directory for updating the initrd..
Errors were encountered while processing:
 nvidia-l4t-bootloader
 nvidia-l4t-kernel
 nvidia-l4t-kernel-headers
 nvidia-l4t-kernel-oot-modules
 nvidia-l4t-display-kernel
 nvidia-l4t-kernel-oot-headers
 nvidia-l4t-kernel-dtbs
E: Sub-process /usr/bin/dpkg returned an error code (1)

Is there any way to fix this?

I seem to have been able to fix the issue.

sudo apt-get autoclean
sudo mv /var/lib/dpkg/info/ /var/lib/dpkg/backup/
sudo mkdir /var/lib/dpkg/info/
sudo apt-get update
sudo apt-get -f install

Afterwards apt update && apt upgrade runs again.

Hi @MM10
The fix that you applied is discussed here:

What version of the ZED X Driver are you using? Normally, the new driver v1.3.2 should not cause this problem.

1 Like

The installed version of the driver:

rc stereolabs-zedbox-mini 1.3.1-SL-MAX9296-all-ZEDBOX-MINI-L4T36.4.0 arm64        NVIDIA Kernel DTB Modified Package by Stereolabs

I confirm that an upgrade to the latest v1.3.2 will completely remove the problem.

1 Like