0
$\begingroup$

Rosanswers logo

I am following the instructions here to install ROS Kinetic: http://wiki.ros.org/kinetic/Installation/Ubuntu

I have configured my repositories, set up my sources.list, and set up the keys. As instructed at the site, I entered:

sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 0xB01FA116

And it said that the public key "Ros BUilder" was imported. The problem is when I then enter sudo apt-get update, I get the following:

Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [95.7 kB]                         
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]                                                       
Hit:4 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease                                                              
Get:5 http://packages.ros/org/ros/ubuntu xenial InRelease                                                  
Err:5 http://packages.ros/org/ros/ubuntu xenial InRelease                            
  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Get:6 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [260 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [256 kB]          
Get:8 http://us.archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [104 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [172 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [169 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [82.3 kB]
Fetched 1,233 kB in 1s (1,197 kB/s)                               
Reading package lists... Done
E: Failed to fetch http://packages.ros/org/ros/ubuntu/dists/xenial/InRelease
  Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: Some index files failed to download. They have been ignored, or old ones used instead.

I searched here and found a hit but it seems subtly different: http://answers.ros.org/question/223996/how-to-install-ros-indigo-in-ubuntu-14043-lts-desktop-64-bit/

I'm relatively new to Linux, and completely new to ROS, so I may be wrong in my estimation of what is different from what. But then when I just went ahead and tried to install anyway, with

sudo apt-get install ros-kinetic-desktop-full

I get the following:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ros-kinetic-desktop-full

This seems to have come up previously: http://answers.ros.org/question/232596/error-kinetic-install-on-ubuntu-1604/

I frankly don't fully understand the answer, and as I am not much of a Linux person I'm a little wary of going to install from source unless it is clear that is the right thing to do, so I thought I'd ask about it in a way that hopefully isn't an exact duplicate.


Originally posted by neuronet on ROS Answers with karma: 39 on 2016-07-13

Post score: 0


Original comments

Comment by gvdhoorn on 2016-07-14:
If the repo index files cannot be downloaded, the error you get is to be expected (as apt-get won't know about the package).

It could be that something happened during the sync between the shadow repo and the public one, which corrupted one of the index files. Maybe @tfoote knows something.

Comment by gvdhoorn on 2016-07-14:
And just to make sure: are you behind a proxy or a corporate firewall that may be interfering? Searching for that exact error message leads to a lot of people with similar problems, most of them mentioning proxies, firewalls, mobile broadband connections, etc.

Comment by gvdhoorn on 2016-07-14:
See bugs.debian.org#807049 fi.

Comment by neuronet on 2016-07-14:
How can I find out if there is a firewall/proxy interfering? I can browse internet fine--have had no probs downloading anything (it's brand new computer I just built so have had to download/install a bunch of packages). At home on Time Warner Cable, can't really move it anywhere.

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

This has (probably) nothing to with proxies or firewalls.

From your apt-get update output:

Get:5 http://packages.ros/org/ros/ubuntu xenial InRelease                     

Notice that it says packages.ros/org.

That is incorrect. It should be packages.ros.org (.org, as in the TLD).

If you fix that in /etc/apt/sources.list.d/ros-latest.list, I think things will start to work.

You can use sudo nano -w /etc/apt/sources.list.d/ros-latest.list to edit the file. Use ctrl+x to save and exit (answer Y, then press enter).

Don't forget to re-run sudo apt-get update afterwards.


Originally posted by gvdhoorn with karma: 86574 on 2016-07-14

This answer was ACCEPTED on the original site

Post score: 2


Original comments

Comment by neuronet on 2016-07-14:
Strangely, when I open that file today, it is:

deb http://packages.ros.org/ros/ubuntu xenial main

And now the rest of the install yields no errors! Not sure what happened overnight, but won't complain. I will accept your answer because I think you found the problem.

Comment by gvdhoorn on 2016-07-14:
Ok. That is strange indeed. But glad you got it working.

Comment by neuronet on 2016-07-14:
Yes, it doesn't make sense, as I didn't download anything in the meantime that I recall.

Comment by audia8.sid on 2016-07-25:
So, were you able to install ROS? I'm trying to do the same! Trying to install ROS [any version] on my ODROID C2 running Ubuntu 16.04 Xenial. If yes, please help me on what steps you followed. I ended up on the conclusion that QT5 is causing problems while installing the dependencies with rosdep.

Comment by neuronet on 2016-07-25:
audia8.sid I got it installed following the directions here: http://wiki.ros.org/ROS/Installation

If you have problems, and they are not identical to mine, I would simply start a new question here. People would probably be able to help you.

Comment by audia8.sid on 2016-07-25:
thanks for the reply. But I already tried that procedure. I wanted to ask you a few things if it worked for you. which Ubuntu version are you using? Did you do it on Odroid c2? which ROS distro did you install and which installation, Ubuntu or Debian? direct or source installation? thanks

Comment by neuronet on 2016-07-25:
On intel i7 architecture. not sure if odroid c2 is supported. For other Q's you asked, just see my original Q where that was all specified mostly in the title. :) I rec'd you start a new Q and give specifics about what is going wrong, just like I did here.

Comment by neuronet on 2016-07-25:
For those interested, audia8 has posted his/her question here: http://answers.ros.org/question/240324/install-ros-on-odroid-c2-running-ubuntu-1604/

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.