Joy package 404 error

Hi all,

I am following the tutorial on operating Leo with a Joystick and I cannot download the dependencies. I obtain a 404 error for the specific package it tries to download. Manually going to the URL also shows the package does not exist anymore or has been renamed. Here is a screenshot

It reads:

E: Failed to fetch 404 Not Found

but within the URL there are other packages and one of them is an updated date of the one it’s trying to find:

the following package appears:

It seems to be the updated version, but the apt-get does not read it and defaults to a file that no longer exists. Any help would be appreciated!!


sudo apt update

first. If it completes without any error, then run rosdep install again.

For anyone that may find this thread in the future, I followed
Blazej suggestions and I obtain the following error and solved it with the line below it.

prozzi@CAEE-pave:~/ros_ws2/src/leo_joy_example$ sudo apt update
Get:1 bionic-security InRelease [88.7 kB]
Get:2 bionic InRelease [4680 B]
Hit:3 bionic InRelease
Get:4 bionic-updates InRelease [88.7 kB]
Get:5 bionic-backports InRelease [74.6 kB]
Err:2 bionic InRelease
  The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <>
Get:6 bionic-security/main amd64 Packages [1814 kB]
Get:7 bionic-updates/main amd64 Packages [2161 kB]
Get:8 bionic-security/main Translation-en [334 kB]
Get:9 bionic-security/universe amd64 Packages [1132 kB]
Get:10 bionic-updates/main Translation-en [426 kB]
Get:11 bionic-updates/universe amd64 Packages [1743 kB]
Get:12 bionic-updates/multiverse amd64 Packages [31.0 kB]
Get:13 bionic-updates/multiverse Translation-en [6988 B]
Fetched 7904 kB in 14s (555 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
348 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: bionic InRelease: The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <>
W: Failed to fetch  The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <>
W: Some index files failed to download. They have been ignored, or old ones used instead.

To fix this issue users need to update the public key used for ROS apt repositories. To do this for ROS 1 installations one needs to run a single command, namely:

curl -s | sudo apt-key add -

Last set of error I have is that I’m getting the following error:

prozzi@CAEE-pave:~/ros_ws2/devel$ rostopic list

prozzi@CAEE-pave:~/ros_ws2/devel$ rosrun joy joy_node
[ERROR] [1627935539.160830700]: Couldn’t open joystick /dev/input/js0. Will retry every second.

I’m connected to an Xbox controller to the remote PC, built the package on the PC and I am connected to Leo as follows:

export ROS_IP=
export ROS_MASTER_URI=http://master.localnet:11311