SDKManager "Not supported on Linux"

Hi,

I installed SDKManager with the deb package on Linux Mint Serena 18.1 (Ubuntu 16.04 based).

It shows me “Linux. Not supported on Linux” and refuses to go to step 2. In the past I could patch the startup.sh to run the old installer on Mint. How I can do that in SDKManager?

Hi manthey,
Please be noted that Jetpack 4.2 GA only supports Ubuntu 16.04 and Ubuntu 18.04 official releases.

Maybe it helps for your case to format the result of command ‘lsb_release -r’ to the same as Ubuntu 16.04, but I strongly recommend to play with Ubuntu official releases.

Thanks

I am not asking you to support all the distros out there but it would be nice if I could override that behavior and be able to continue in unsupported mode. E.g. Mint is based on Ubuntu and I never had any trouble after patching start.sh using the old installer. Whoever is flashing a device should know what he is doing in the end.

Hi,
As mentioned in previous post, could you try to make ‘lsb_release -r’ as the same output of Ubuntu 16.04?

Option 1(Preferable)
a) export LSB_ETC_LSB_RELEASE=/etc/upstream-release/lsb-release
b) run sdkmanager at the same terminal.

Option 2.
a) edit /etc/lsb-release with below content
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION=“Ubuntu 16.04.5 LTS”
b) run sdkmanager

Tested with Option #1 on a clean Mint OS, it works from my side.

Thanks

3 Likes

I didnt know lsb_release is in fact a python3 script.

I tried Option 1. and I can confirm its working. Thanks a lot. You saved me a lot of hazzle.

Option 2 worked for me as I’m running 18.10. I changed it to 18.04.

Thank you.

Confirmed 2) working on Debian 9.

Thanks
Luca

On Debian 10 doesn’t work with either option :-(
“Linux. Not supported on Linux”

For Ubuntu 19.04, I had to:

  1. create file /usr/lib/os-release-bioinic:
    NAME="Ubuntu"
    VERSION="18.04 (Bionic Beaver)"
    ID=ubuntu
    ID_LIKE=debian
    PRETTY_NAME="Ubuntu 18.04"
    VERSION_ID="18.04"
    VERSION_CODENAME=bionic
    UBUNTU_CODENAME=bionic
    
  2. $> export LSB_OS_RELEASE=/usr/lib/os-release-bionic
    
  3. $> /opt/nvidia/sdkmanager/sdkmanager
    
3 Likes

this didn’t work for 20.04 … python fell over. Any other way to FORCE it ti accept 20.04 or is there a new release date for one that does support the latest LTS release?

This is currently working for me on 20.04 (it was originally 18.04, upgraded to 19.04->19.10->20.04).
Any more details related to “python fell over”?

1 Like

I can confirm that mdeboer’s solution works in Mint 20.04. The only thing I did different is that I created the file he showed in my home directory, and I pointed to it with the env variable LSB_OS_RELEASE.

My script to call sdkmanager is:

export LSB_OS_RELEASE=$HOME/fake_ubuntu.txt
sdkmanager
1 Like