[Solved] Error installing ros-kinetic-robot-localization

Dear All, I have a ROSbot 2.0 and when following the Quick Start manual at:

When installing rosbot_ekf required dependencies by executing the following command:

sudo apt-get install ros-kinetic-robot-localization

I get the following error:

husarion@husarion:~/ros_workspace$ sudo apt-get install ros-kinetic-robot-localization
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
ros-kinetic-geographic-msgs ros-kinetic-python-orocos-kdl ros-kinetic-tf2-geometry-msgs ros-kinetic-uuid-msgs
The following NEW packages will be installed:
ros-kinetic-geographic-msgs ros-kinetic-python-orocos-kdl ros-kinetic-robot-localization ros-kinetic-tf2-geometry-msgs
ros-kinetic-uuid-msgs
0 upgraded, 5 newly installed, 0 to remove and 254 not upgraded.
Need to get 611 kB of archives.
After this operation, 3864 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://packages.ros.org/ros/ubuntu xenial/main armhf ros-kinetic-uuid-msgs armhf 1.0.5-0xenial-20180825-235609-0800
404 Not Found [IP: 64.50.236.52 80]

Any help will be appreciated,

Ivan

Hello Ivan,

Apt is trying to download package with date 2018-08-25 while most up to date is from 2019-06-09

Before installing new software, run:

sudo apt update
sudo apt upgrade

This will install all updates and also package sever addresses.

Regards,
Łukasz