The stretch_install_system.sh script fails when librealsense2-dkms is installed in the system. It cannot uninstall the package due to the following error:
Loading the modified modules into kernel...modprobe: FATAL: Module videodev is in use.
dpkg: error processing package librealsense2-dkms (--remove):
installed librealsense2-dkms package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.35-0ubuntu3.8) ...
Errors were encountered while processing:
librealsense2-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
The
stretch_install_system.sh
script fails whenlibrealsense2-dkms
is installed in the system. It cannot uninstall the package due to the following error: