The following packages have unmet dependencies: but 1.16.3-0ubuntu1.1 is to be installed

I’m using Jetson AGX Orin JP5.1
Whenever i’m trying to install specific dependencies (PyTorch or SDK samples) the below error is generated
The following packages have unmet dependencies:
libgstreamer-plugins-base1.0-dev : Depends: libgstreamer-plugins-base1.0-0 (= 1.16.3-0ubuntu1.2) but 1.16.3-0ubuntu1.1 is to be installed
Depends: libgstreamer-gl1.0-0 (= 1.16.3-0ubuntu1.2) but 1.16.3-0ubuntu1.1 is to be installed
Depends: gir1.2-gst-plugins-base-1.0 (= 1.16.3-0ubuntu1.2) but 1.16.3-0ubuntu1.1 is to be installed
libx11-dev : Depends: libx11-6 (= 2:1.6.9-2ubuntu1.6) but 2:1.6.9-2ubuntu1.5 is 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).

i have tried to run sudo apt install --fix-broken
but this error is generated
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)

Please advise

I am curious, did you add nvidia-utils or libnvidia-compute manually at some point? I’m just wondering if these are intended for use on a Jetson, or if they might have been downloaded or added from some non-Jetson-specific location. It matters due to the GPU of a Jetson being an iGPU, whereas most GPUs are a dGPU.

no i haven’t i just flashed the orin from manager SDK and i wasnt able to install any library due to this error

I haven’t seen or heard of this on a purely dev kit AGX Orin. It is probably part of the specific PyTorch install. Someone familiar with PyTorch will probably know what is needed, but I do not know (I’m not really a “python” guy).

1 Like

it’s not really related to PyTorch only i’m facing the same error when installing any software/library through command window.

Try cleaning the cache first (I’m showing log file creation for each of these to post):
sudo apt-get clean 2>&1 | tee clean.txt

Then update:

sudo apt update 2>&1 | tee update.txt
sudo apt-get upgrade 2>&1 | tee upgrade.txt

Did at least the apt update work?

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