Nvidia-util-515 and nvidia-utils-525 error

Hi @dusty_nv (and nv team and forum)

When trying to do ‘apt-get upgrade’ I ran into

Errors were encountered while processing:

it seem that some conflict prevents from other installation

The following packages have unmet dependencies:
nvidia-utils-515 : Depends: nvidia-utils-525 but it is not going to be installed
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).

‘apt --fix-broken install’ (below) won’t fix it and I was not sure it is safe to uninstall these packages, even I am running it on the host, not within a container

apt-get --fix-broken install
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… Done
The following additional packages will be installed:
libnvidia-compute-525 nvidia-utils-525
Suggested packages:
The following NEW packages will be installed:
libnvidia-compute-525 nvidia-utils-525
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
65 not fully installed or removed.
Need to get 0 B/21.7 MB of archives.
After this operation, 109 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
debconf: delaying package configuration, since apt-utils is not installed
(Reading database … 180245 files and directories currently installed.)
Preparing to unpack …/libnvidia-compute-525_525.125.06-0ubuntu0.20.04.3_arm64.deb …
Unpacking libnvidia-compute-525:arm64 (525.125.06-0ubuntu0.20.04.3) …
dpkg: error processing archive /var/cache/apt/archives/libnvidia-compute-525_525.125.06-0ubuntu0.20.04.3_arm64.deb (–unpack):
trying to overwrite ‘/usr/lib/aarch64-linux-gnu/libcuda.so’, which is also in package nvidia-l4t-cuda 35.2.1-20230124153320
Preparing to unpack …/nvidia-utils-525_525.125.06-0ubuntu0.20.04.3_arm64.deb …
Unpacking nvidia-utils-525 (525.125.06-0ubuntu0.20.04.3) …
dpkg: error processing archive /var/cache/apt/archives/nvidia-utils-525_525.125.06-0ubuntu0.20.04.3_arm64.deb (–unpack):
trying to overwrite ‘/usr/bin/nvidia-xconfig’, which is also in package nvidia-l4t-x11 35.2.1-20230124153320
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1

Any idea?

It looks like the system is in Jetpack 5.1(r35.2.1). The latest release is 5.1.2(r35.4.1) and please consider upgrade Orin developer kit to latest version and try again.

Thank you @DaneLLL

How do I upgrade? I have some docker containers running that I rather not stop… Will an upgrade of Jetpack have an impact? (If I recall correctly, I had to flash the Xavier NX, but I haven’t changed the Jetpack on the Orin AGX

I did just find the page below for upgrade, is that the one? I’m unclear what are the potential implications when it discusses the expectation of what seems like a potentially serious error

ERROR. Procedure for A_kernel-dtb update FAILED. and the following operations on dev/mmcblk0


1.3.2. Upgrade JetPack

To upgrade from previous JetPack 5.x releases, first edit etc/apt/sources.list.d/nvidia-l4t-apt-source.list to point to the 35.4 repo (just change the version to r35.4 in both lines). Next, use the following commands, then physically reboot the system:

sudo apt update sudo apt dist-upgrade sudo apt install --fix-broken -o Dpkg::Options::=“–force-overwrite”

If you see the below error:

ERROR. Procedure for A_kernel-dtb update FAILED.

Please use the following three commands, then re-attempt the upgrade. Do not reboot the device after running the below command, and before re-attempting the upgrade.

**sudo parted /dev/mmcblk0 -s rm 4 **
**sudo parted /dev/mmcblk0 -s resizepart 3 67.9MB **
sudo parted /dev/mmcblk0 mkpart A_reserved_on_user 67.9MB 101MB

Could you please explain the process and any potential risks of data/disks loss? Thank you!


I think you have to run

sudo apt dist-upgrade

, but not

sudo apt upgrade

Just follow the guide you posted and back up data in advance in case of any data loss.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.