Installing ROS Kinetic on Ubuntu 16.04: apt-get update fail
I am following the instructions here to install ROS Kinetic: http://wiki.ros.org/kinetic/Installat...
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/22399...
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/23259...
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.
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.
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.
See bugs.debian.org#807049 fi.
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.