I tried upgrading two Orin AGX dev kits to Jetpack 5.1. The first one was ok (possibly because it was using JP 5.0.2). The second one (which was running 5.0.1) fails to upgrade:
Setting up nvidia-l4t-kernel (5.10.104-tegra-35.2.1-20230124153320) ...
Using the existing boot entry 'primary'
3701--0000--1--jetson-agx-orin-devkit-
Info. Active boot storage: mmcblk0
Info. Legacy mode: true
Starting kernel post-install procedure.
Starting legacy update procedure.
ERROR. Procedure for A_kernel-dtb 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.10.104-tegra-35.2.1-20230124153320); however:
Package nvidia-l4t-kernel is not configured yet.
dpkg: error processing package nvidia-l4t-kernel-headers (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nvidia-l4t-jetson-io:
nvidia-l4t-jetson-io depends on nvidia-l4t-kernel (>> 5.10.104-tegra-35.2-0); however:
Package nvidia-l4t-kernel is not configured yet.
nvidia-l4t-jetson-io depends on nvidia-l4t-kernel (<< 5.10.104-tegra-35.3-0); however:
Package nvidia-l4t-kernel is not configured yet.
dpkg: error processing package nvidia-l4t-jetson-io (--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.10.104-tegra-3No apport report written because the error message indicates its a followup error from a previous failure.
No a
pport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is reached already
No apport report writ
ten because MaxReports is reached already
5.2.1-20230124153320); 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-dtbs:
nvidia-l4t-kernel-dtbs depends on nvidia-l4t-kernel (= 5.10.104-tegra-35.2.1-20230124153320); however:
Package nvidia-l4t-kernel is not configured yet.
dpkg: error processing package nvidia-l4t-kernel-dtbs (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
nvidia-l4t-kernel
nvidia-l4t-kernel-headers
nvidia-l4t-jetson-io
nvidia-l4t-display-kernel
nvidia-l4t-kernel-dtbs
E: Sub-process /usr/bin/dpkg returned an error code (1)
To upgrade I changed /etc/apt/sources.list.d/nvidia-l4t-apt-source.list
to point to r35.2
and then sudo apt update
and sudo apt dist-upgrade
.