Nvidia-utils-515 : Depends: nvidia-utils-525 but it is not going to be installed

sudo apt-get install libgtk2.0-dev
[sudo] password for adascoe:
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:
libgtk2.0-dev : Depends: gir1.2-gtk-2.0 (= 2.24.32-4ubuntu4) but it is not going to be installed
Depends: libgdk-pixbuf2.0-dev (>= 2.21.0) but it is not going to be installed
Depends: libpango1.0-dev (>= 1.20) but it is not going to be installed
Depends: libatk1.0-dev (>= 1.29.2) but it is not going to be installed
Depends: libcairo2-dev (>= 1.6.4-6.1) but it is not going to be installed
Depends: libxinerama-dev (>= 1:1.0.1-4.1) but it is not going to be installed
Depends: libxi-dev (>= 1:1.0.1-4) but it is not going to be installed
Depends: libxrandr-dev (>= 2:1.2.99) but it is not going to be installed
Depends: libxcursor-dev but it is not going to be installed
Depends: libxfixes-dev (>= 1:3.0.0-3) but it is not going to be installed
Depends: libxcomposite-dev (>= 1:0.2.0-3) but it is not going to be installed
Depends: libxdamage-dev (>= 1:1.0.1-3) but it is not going to be installed
Depends: libxml2-utils but it is not going to be installed
Recommends: debhelper but it is not going to be installed
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).

when i tried sudo apt --fix-broken install
sudo apt --fix-broken install
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… Done
The following packages were automatically installed and are no longer required:
apt-clone archdetect-deb bogl-bterm busybox-static cryptsetup-bin dctrl-tools dpkg-repack gdal-data
gir1.2-goa-1.0 gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common libaec0 libarmadillo9 libarpack2
libavresample-dev libavresample4 libcfitsio8 libcharls2 libdap25 libdapclient6v5 libdc1394-22-dev
libdebian-installer4 libepsilon1 libexif-dev libfreexl1 libfwupdplugin1 libfyba0 libgdal26 libgdcm-dev
libgdcm3.0 libgeos-3.8.0 libgeos-c1v5 libgeotiff5 libgl2ps1.4 libgphoto2-dev libhdf4-0-alt libhdf5-103
libhdf5-openmpi-103 libilmbase-dev libjbig-dev libjpeg-dev libjpeg8-dev libkmlbase1 libkmldom1 libkmlengine1
liblept5 liblzma-dev libminizip1 libnetcdf-c++4 libnetcdf15 libodbc1 libogdi4.1 libopencv-calib3d4.2
libopencv-contrib4.2 libopencv-dnn4.2 libopencv-features2d4.2 libopencv-flann4.2 libopencv-highgui4.2
libopencv-imgcodecs4.2 libopencv-imgproc4.2 libopencv-ml4.2 libopencv-objdetect4.2 libopencv-photo4.2
libopencv-shape4.2 libopencv-stitching4.2 libopencv-superres4.2 libopencv-video4.2 libopencv-videoio4.2
libopencv-videostab4.2 libopencv-viz4.2 libopencv4.2-java libopencv4.2-jni libopenexr-dev libpng-dev libpq5
libproj15 libqhull7 libraw1394-dev libsocket++1 libspatialite7 libsuperlu5 libsz2 libtbb-dev libtesseract4
libtiff-dev libtiffxx5 libtimezonemap-data libtimezonemap1 liburiparser1 libvtk6.3 libxerces-c3.2 libxmlb1
odbcinst odbcinst1debian2 os-prober proj-data python3-icu python3-pam rdate tasksel tasksel-data
Use ‘sudo apt autoremove’ to remove them.
The following additional packages will be installed:
libnvidia-compute-525 nvidia-utils-525
Suggested packages:
nvidia-driver-525
The following NEW packages will be installed:
libnvidia-compute-525 nvidia-utils-525
0 upgraded, 2 newly installed, 0 to remove and 97 not upgraded.
1 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 … 167749 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.3.1-20230
319081403
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 (–un
pack):
trying to overwrite ‘/usr/bin/nvidia-xconfig’, which is also in package nvidia-l4t-x11 35.3.1-20230319081403
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libnvidia-compute-525_525.125.06-0ubuntu0.20.04.3_arm64.deb
/var/cache/apt/archives/nvidia-utils-525_525.125.06-0ubuntu0.20.04.3_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

this not only with this one library many iisues are com ing under this topic

Hi,
The package is for desktop GPUs. It is not required for Jetson platforms. You can install CUDA or TensorRT package on Jetson platform and start the development directly.

how to install cudatoolkit and drivers on this jetson orin can you please suggest

You can connect Jetson device to a Ubuntu host PC and install the packages through SDKManager. Or do installation through apt-get install commands.

hello @DaneLLL
if i use command I am getting error
sudo apt-get -y install cuda-toolkit-11-4
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package cuda-toolkit-11-4

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
cuda : Depends: cuda-12-2 (>= 12.2.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Hi,
We would suggest re-flash system image and install SDK components through SDKManager. This is a quick way to get all the stuff for development. Please install latest Jetpack 5.1.2

by reflashing all system data will be deleted ?

It will be deleted. However, you could clone first and have a way to copy the old data, e.g., just the home directory. If you are cloning the eMMC, then you will get both a raw and sparse clone. The raw clone can be loopback mounted on a host PC (or even on a Jetson if it had the space), and then you can copy the “/home” or other parts from the loopback mounted copy. Or you could use something like rsync first over the network from the Jetson to the host PC to back up parts you want to save, followed by rsync to put those pieces back in (you wouldn’t copy system files, just your content).

can you please tell me commands to clone mount and copy from serial port

Hi,

you can do it like this on your Jetson device:

sudo apt update
sudo apt install nvidia-jetpack

Ideally, you will get all the stuff like CUDA, cuDNN, TensorRT installed.

1 Like

The update mentioned in @DaveYYY’s last reply won’t erase anything (running a flash operation will, but the last post is only about updating and adding nvidia-jetpack; note that nvidia-jetpack on the Jetson is different than JetPack on the host PC). However, if you wish to clone, then there is a backup and restore script (there are also direct command line methods of doing this). For the backup and restore, see the “Linux_for_Tegra/tools/backup_restore/” content (there is a README file for that).

I have always cloned on command line like this (with the Jetson in recovery mode and USB connected):

sudo ./flash.sh -r -k APP -G my_backup.img jetson-agx-orin-devkit mmcblk0p1

(this takes a very long time and consumes a lot of disk space on the host PC; size is approximately the size of the rootfs partition plus the content in the partition since it produces both raw and sparse clones)

This would produce “my_backup.img” (a sparse image) and “my_backup.img.raw” (a raw image). You can test this via:

sudo mount -o loop my_backup.img.raw /mnt
cd /mnt
ls
cd -
sudo umount /mnt

I have not used the backup/restore scripts, but I assume those probably also create both a sparse and raw image. What you’re interested in is the rootfs/APP/operating system partition.

You can also use rsync on a running system to clone over the network to another computer if it is running, but clones are superior for a number of reasons.

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