ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

ROS on Ubuntu Loki, Elementary OS. Problem installing

asked 2017-10-11 10:10:40 -0500

Supratim gravatar image

updated 2017-10-11 10:21:18 -0500

gvdhoorn gravatar image

The message looks like the following

W: The repository ' loki Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch  Hash Sum mismatch
E: Failed to fetch  404  Not Found [IP: 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
supratim@Floyd:~$ sudo apt-get install ros-kinetic-desktop-full
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ros-kinetic-desktop-full
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-10-11 10:26:31 -0500

gvdhoorn gravatar image

updated 2017-10-11 10:29:34 -0500

Afaik, Ubuntu Loki is not an actual Ubuntu release. It's a release of Elementary OS.

The ROS buildfarm does not build any packages for Elementary OS specifically, so that's why apt cannot download a Release file for it.

To install ROS on Elementary OS Loki (which is based on Ubuntu Xenial (16.04)), you could try two things:

  1. change loki to xenial in /etc/apt/sources.list.d/ros-latest.list
  2. override OS detection in all ROS tools by setting the environment variable ROS_OS_OVERRIDE to ubuntu:16.04:xenial (see wiki/EnvironmentVariables - ROS_OS_OVERRIDE for more info).

After fixing point 1, you can try to apt-get update again and see whether your packages will install.

With 2, tools like rosdep should work.

Note that as Elementary OS is not an officially supported distribution, you could run into compatibility issues. But the only way to know is to try it.

See #q40081 for a related question btw.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-10-11 10:10:40 -0500

Seen: 2,044 times

Last updated: Oct 11 '17