JETSON AGX XAVIER error flashing from SDK manager

Hi! I was trying to install CUDA on my Nvidia Orin AGX by using SDK manager. However, I couldn’t fix this error:
APT repository access for Debian package installation(target).
Apt repository check failure (1. sudo apt-get update && sudo apt-get check; 2. sudo dpkg --audit). E: dpkg was interrupted, you must manually run ‘sudo dpkg --configure -a’ to correct the problem.
Please help me, thank you!!

Hi,

Please reboot your host machine and run sudo dpkg --configure -a.
It will take a long time to complete the command, please wait for it.
After the above command finished, the sdk manager might be able to run.

Thanks