ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I get nothing when i type apt-cache search ros-kinetic:

And that probably makes sense.

The output of lsb_release -sc is used to setup the /etc/apt/sources.list.d/ros-latest.list file.

Kali Linux identifies as kali-rolling as you've shown with lsb_release --codename.

This means that you've configured apt to search for files for an OS release with the codename kali-rolling. There is no such codename supported by the OR package repositories.

Can someone please guide me on how can this problem be fixed?

If Kali Linux is sufficiently Debian compatible, you'll have to figure out the codename of the Debian release it is based / derived from. You would then need to update /etc/apt/sources.list.d/ros-latest.list to use that codename, instead of kali-rolling.

After that, you'll have to set the ROS_OS_OVERRIDE environment variable permanently so that all ROS tools will assume that you're running a Debian release.

Alternatively: add support for Kali Linux detection to rospkg so ROS_OS_OVERRIDE is not needed.

Also why do I get outputs when I type roscore and rostopic list if ROS is not properly installed?

This is a guess (as I've not used Kali Linux), but probably because of wiki/UpstreamPackages. You'd do best to remove those.

I get nothing when i type apt-cache search ros-kinetic:

And that probably makes sense.

kamil@kamil:~$ lsb_release --codename
Codename:   kali-rolling

The output of lsb_release -sc is used to setup the /etc/apt/sources.list.d/ros-latest.list file.

Kali Linux identifies as kali-rolling as you've shown with lsb_release --codename.

This means that you've configured apt to search for files for an OS release with the codename kali-rolling. There is no such codename supported by the OR package repositories.

Can someone please guide me on how can this problem be fixed?

If Kali Linux is sufficiently Debian compatible, you'll have to figure out the codename of the Debian release it is based / derived from. You would then need to update /etc/apt/sources.list.d/ros-latest.list to use that codename, instead of kali-rolling.

After that, you'll have to set the ROS_OS_OVERRIDE environment variable permanently so that all ROS tools will assume that you're running a Debian release.

Alternatively: add support for Kali Linux detection to rospkg so ROS_OS_OVERRIDE is not needed.

Also why do I get outputs when I type roscore and rostopic list if ROS is not properly installed?

This is a guess (as I've not used Kali Linux), but probably because of wiki/UpstreamPackages. You'd do best to remove those.