This has been tested with Linux Mint 18.3 Sylvia and ROS Kinetic Kame

When you follow the official installation manual for Ubuntu from here but are running a Ubuntu-based distro like Linux Mint instead of pure Ubuntu, your installation is going to fail. The reason is fairly simple and easy to fix. You are asked to use this line to add the ROS sources via this line:

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'

This script automatically reads your distro version name via lsb_release -sc. For Ubuntu 16.04LTS this returns xenial. But if you are running another distro, this returns something else, even if the Version is based on Ubuntu 16.04 Xenial Xerus. For Linux Mint 18.3 this returns sylvia. So all you have to do is to replace $(lsb_release -sc) with xenial (or whatever Ubuntu version your distro is based on). The result is this:

sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu xenial main" > /etc/apt/sources.list.d/ros-latest.list'

If you ran the wrong command previously, don’t worry. The command replaces the old file with the correct source.

The same thing happens when you’re trying to install Dataspeed DBW with their install script:

bash <(wget -q -O - https://bitbucket.org/DataspeedInc/dbw_mkz_ros/raw/default/dbw_mkz/scripts/sdk_install.bash)

If you take a look at that sdk_install.bash script (One Line SDK Install (binary)), you’ll see that the same thing happens:

sudo sh -c 'echo "deb [ arch=amd64 ] http://packages.dataspeedinc.com/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-dataspeed-public.list'

So just replace the line in the script the same way as above

sudo sh -c 'echo "deb [ arch=amd64 ] http://packages.dataspeedinc.com/ros/ubuntu xenial main" > /etc/apt/sources.list.d/ros-dataspeed-public.list'

And now you’re good to go.