I checked the link below for minimizing storage usage on Jetson Xavier NX with the command in the following:
$ sudo dpkg -r --force-depends “cuda-documentation-10-2” “cuda-samples-10-2” “libnvinfer-samples” “libvisionworks-samples” “libnvinfer-doc” “vpi1-samples”
capacity : 4.6GB → 5.8GB
After that, I would like to install new packages:
e.g. : $ sudo apt-get instatll libopenblas-base
But, I got the error:
The following packages have unmet dependencies:
cuda-toolkit-10-2: Depends: cuda-documentation-10-2 (>= 10.2.300) but it is not going to be installed
Depends: cuda-samples-10-2 (>= 10.2.300) but it is not going to be installed
libvisionworks-sfm-dev: Depends: libvisionworks-samples (>= 1.6.0) but it is not going to be installed
libvisionworks-tracking-dev: Depends: libvisionworks-samples (>= 1.6.0) but it is not going to be installed
nvidia-tensorrt: Depends: libnvinfer-doc (>= 8.2.1-1+cuda10.2) but it is not going to be installed
Depends: libnvinfer-samples (>= 8.2.1-1+cuda10.2) but it is not going to be installed
nvidia-visionworks: Depends: libvisionworks-samples (>= 1.6.0.501) but it is not going to be installed
nvidia-vpi: Depends: vpi1-samples (= 1.2.3) but it is not going to be installed
tensorrt: Depends: libnvinfer-samples (>= 8.2.1-1+cuda10.2) but it is not going to be installed
Depends: libnvinfer-doc (>= 8.2.1-1+cuda10.2) but it is not going to be installed
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).
However, I fixed this issue with the command:
$ sudo apt --fix-broken install
I also confirmed the smaller capacity(capacity: 5.8GB → 4.6GB)
So, could you please tell me the avoidance of this error without using the command above?