Error Installing ROS on TX2

I’am new to Nvidia Tx2 Development.

I am now trying to install on a new TX2 ROS, but during installation phase (using the script ./, I had the following problem:

The following packages have unmet dependencies:
 python-rosinstall : Depends: python-vcstools (>= 0.1.38) but it is not going to be installed
                     Depends: python-wstool (>= 0.1.12) but it is not going to be installed
                     Depends: mercurial but it is not installable
E: Unable to correct problems, you have held broken packages.

Do you have any idea how to solve it? Seems that the problem is related to mercurial.
I am using the version:

# R27 (release), REVISION: 0.1

Description:	Ubuntu 16.04 LTS
Release:	16.04
Codename:	xenial


I’ve never dealt with this particular software, but you’re running L4T R27.0.1 which was the very first software running on a TX2. R28.1 is a far more reliable release…I’d suggest flashing to R28.1 (can be done with JetPack3.1) and checking again.

Mercurial should be in the Universe repository. Make sure Universe is enabled:

sudo add-apt-repository universe sudo apt-get update

You should be able to manually load mercurial if desired:

$ sudo apt-get install mercurial

However, L4T 27.1 is not a production release, and is not recommended for production use.

If you’re using the install script from just use the script from the same repo.

Yes, the @jeffrey.cousineau solution is much more clever. One thing that appears to happen is that different regions have different repositories enabled after flashing the Jetson. Most of the scripts that I have written assume that all of the repositories have been enabled similar to the fresh install of L4T that I have (I’m in the US).

Thanks Jeffrey! actually solved the problem.

Kangalow and linuxdev, anyway I will take your suggestion and update my TX2