Deepstream7.X installation problem:DLA Compiler - target: APT system is broken and requires manual fix

when i installed the deepstream 7.0 with SDK Manager ,it takes install error.the terminal tab shows like this:
11:21:57 ERROR: DLA Compiler - target: E: Unable to correct problems, you have held broken packages.

11:21:57 ERROR: DLA Compiler - target: Unhandled error when running sudo -E apt-get -y --allow-downgrades install /opt/nvidia/deb_repos/nvidia-l4t-dla-compiler_36.3.0-20240506102626_arm64.deb: E: Unable to correct problems, you have held broken packages.;

11:21:57 ERROR: DLA Compiler - target: install on target failed; [exec_command]:

11:21:57 INFO: DLA Compiler - target: exec 3>&1

11:21:57 INFO: DLA Compiler - target: exec 1>&2

11:21:57 INFO: DLA Compiler - target: exec 2>&3

11:21:57 INFO: DLA Compiler - target: function safe_apt_install {

11:21:57 INFO: DLA Compiler - target: echo “*begin $1, $2”

11:21:57 INFO: DLA Compiler - target: tmp_log=/tmp/sdkm_apt_install_log.flsay.txt

11:21:57 INFO: DLA Compiler - target: sudo rm -f $tmp_log

11:21:57 INFO: DLA Compiler - target: set +e; $1 2>$tmp_log; CMD_STATUS=${PIPESTATUS[0]}; set -e

11:21:57 INFO: DLA Compiler - target: MAX_RETRY=3

11:21:57 INFO: DLA Compiler - target: TIMES=1

11:21:57 INFO: DLA Compiler - target: while [ ${CMD_STATUS} -ne 0 ]; do

11:21:57 INFO: DLA Compiler - target: cat $tmp_log > /dev/stderr

11:21:57 INFO: DLA Compiler - target: if [ $TIMES -gt $MAX_RETRY ]; then

11:21:57 INFO: DLA Compiler - target: echo “Unhandled error when running $1: tr '\n' '; ' <$tmp_log” 1>&2; exit 1

11:21:57 INFO: DLA Compiler - target: fi

11:21:57 INFO: DLA Compiler - target: if grep -q -e “is locked by another process” -e “E: Could not get lock /var/” -e “Could not open lock” $tmp_log; then

11:21:57 INFO: DLA Compiler - target: TIMES=$[ $TIMES + 1 ]

11:21:57 INFO: DLA Compiler - target: set +e; sudo apt-get -f -y --allow-downgrades install 2>$tmp_log; CMD_STATUS=${PIPESTATUS[0]}; set -e

11:21:57 INFO: DLA Compiler - target: TIMES=$[ $TIMES + 1 ]

11:21:57 INFO: DLA Compiler - target: fi

11:21:57 INFO: DLA Compiler - target: done

11:21:57 INFO: DLA Compiler - target: if [ $CMD_STATUS -eq 0 ] && [ $TIMES -ne 1 ]; then

11:21:57 INFO: DLA Compiler - target: echo “safe apt install succeed. retry number: $TIMES.”

11:21:57 INFO: DLA Compiler - target: fi

11:21:57 INFO: DLA Compiler - target: }

11:21:57 INFO: DLA Compiler - target: safe_apt_install “sudo apt-get -y update” 5

11:21:57 INFO: DLA Compiler - target: sleep 0.5

11:21:57 INFO: DLA Compiler - target: safe_apt_install “sudo -E apt-get -y --allow-downgrades install /opt/nvidia/deb_repos/nvidia-l4t-dla-compiler_36.3.0-20240506102626_arm64.deb” 5

11:21:57 INFO: DLA Compiler - target: sleep 5

11:21:57 INFO: DLA Compiler - target: sudo rm -f /opt/nvidia/deb_repos/nvidia-l4t-dla-compiler_36.3.0-20240506102626_arm64.deb; [deb_path]: /home/flsay/Downloads/nvidia/sdkm_downloads/nvidia-l4t-dla-compiler_36.3.0-20240506102626_arm64.deb

11:21:57 INFO: DLA Compiler - target: [ Package Install Finished with Error ]

11:21:57 INFO: DLA Compiler - target: [ NV_L4T_DLA_COMPILER_TARGET_POST_INSTALL_COMP Install took 1m12s ]

11:21:57 ERROR: DLA Compiler - target: command terminated with error

11:21:57 SUMMARY: DLA Compiler - target: APT system is broken and requires manual fix

duplicate with APT system is broken and requires manual fix - #3 by junshengy. close

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