ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Cannot Install Any More Foxy or Ubuntu Packages

asked 2021-08-12 17:31:18 -0500

Ed C. gravatar image

updated 2021-08-12 19:08:51 -0500


I can't install any packages on a functioning TB3 Waffle with an Intel NUC replacing the Raspberry Pi. I ran into this problem while integrating Tensorflow with ROS 2 Foxy using Alsora packages. ROS2 Tensorflow.

$ uname -a
Linux hood 5.4.0-80-generic #90-Ubuntu SMP Fri Jul 9 22:49:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:    20.04
Codename:   focal

$ echo $ROS_DISTRO

Problem Log

What follows are the results of an install and update:

$ sudo apt install ros-foxy-vision-msgs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 544 not upgraded.
Need to get 365 kB of archives.
After this operation, 4,493 kB of additional disk space will be used.
Err:1 focal/main amd64 ros-foxy-vision-msgs amd64 2.0.0-1focal.20210423.013808404  Not Found [IP: 80]
E: Failed to fetch  404  Not Found [IP: 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

$ sudo apt-get update
Get:1 stable InRelease [1,811 B]
Hit:2 focal InRelease                 
Get:3 focal-security InRelease [114 kB]      
Get:4 stable/main amd64 Packages [1,101 B]
Get:5 focal InRelease [4,670 B]            
Hit:6 focal InRelease                      
Err:5 focal InRelease                      
  The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <>
Get:7 focal-updates InRelease [114 kB]     
Hit:8 focal InRelease  
Hit:9 focal InRelease           
Get:10 focal-backports InRelease [101 kB]
Get:11 focal-security/main amd64 Packages [793 kB]
Get:12 focal-updates/main amd64 Packages [1,134 kB]
Get:13 focal-security/main amd64 DEP-11 Metadata [27.7 kB]
Get:14 focal-security/main amd64 c-n-f Metadata [8,424 B]
Get:15 focal-security/universe amd64 Packages [636 kB]
Get:16 focal-security/universe amd64 DEP-11 Metadata [61.1 kB]
Get:17 focal-security/universe amd64 c-n-f Metadata [12.1 kB]
Get:18 focal-security/multiverse amd64 DEP-11 Metadata [2,464 B]
Get:19 focal-updates/main i386 Packages [517 kB]
Get:20 ...
edit retag flag offensive close merge delete


This seems to have been a duplicate of #q379190.

gvdhoorn gravatar image gvdhoorn  ( 2021-08-13 02:46:36 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2021-08-12 19:12:52 -0500

Ed C. gravatar image

Do this to update key (OBSERVATION 3)

curl -s | sudo apt-key add -

edit flag offensive delete link more

answered 2021-08-12 17:51:58 -0500

ijnek gravatar image

You have to run

sudo curl -sSL -o /usr/share/keyrings/ros-archive-keyring.gpg

See ROS GPG Key Expiration Incident on ROS Discourse for more details

edit flag offensive delete link more


Thank you for your reply. I tried this and it didn't work. See the OBSERVATION 3 note in my original posting. I didn't read Tiryoh's comment carefully from Kat Scott's original posting. The command should be

curl -s | sudo apt-key add -

Followed by an update

sudo apt update

Now it works.

Ed C. gravatar image Ed C.  ( 2021-08-12 19:05:09 -0500 )edit

Apologies, didn't realise your question had an expandable "more" section. Great that you've solved the problem!

ijnek gravatar image ijnek  ( 2021-08-12 19:24:38 -0500 )edit

Question Tools

1 follower


Asked: 2021-08-12 17:31:18 -0500

Seen: 1,578 times

Last updated: Aug 12 '21