I’m running LinuxMint 19.3 and with default setup, sdkmanager won’t work and flashing will fail.
Download sdkmanager form NVidia’s website and install it
Make a back of you lsb-release file
sudo cp /etc/lsb-release /etc/lsb-release_backupCode language: Bash (bash)
Modify the /etc/lsb-release file to make sdkmanager know it’s an Ubuntu based system
Now install these packages
apt install binfmt-support
apt install qemu-user-staticCode language: Bash (bash)
If qemu-user-static was previously installed, re-configure it
dpkg-reconfigure qemu-user-staticCode language: Bash (bash)
Now you can run sdkmanager and flash your tegra devices.