我在机器人上不断收到以下错误。我尝试更新密钥并尝试了 Stack 的其他一些建议,但没有成功。
sudo apt update
Get:1 http://packages.ros.org/ros/ubuntu bionic InRelease [4,680 B]
Hit:2 http://ports.ubuntu.com/ubuntu-ports bionic InRelease
Hit:3 http://ppa.launchpad.net/ubuntu-pi-flavour-makers/ppa/ubuntu bionic InRelease
Hit:6 http://ppa.launchpad.net/ubuntu-raspi2/ppa/ubuntu bionic InRelease
Err:1 http://packages.ros.org/ros/ubuntu bionic InRelease
The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <[email protected]>
Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-security InRelease [88.7 kB]
Get:7 http://files.fictionlab.pl/repo bionic InRelease [6,476 B]
Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates InRelease [88.7 kB]
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://packages.ros.org/ros/ubuntu bionic InRelease: The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654 Open Robotics <[email protected]>
E: Release file for http://files.fictionlab.pl/repo/dists/bionic/InRelease is not valid yet (invalid for another 161d 13h 35min 24s). Updates for this repository will not be applied.
E: Release file for http://ports.ubuntu.com/ubuntu-ports/dists/bionic-security/InRelease is not valid yet (invalid for another 537d 18h 12min 49s). Updates for this repository will not be applied.
E: Release file for http://ports.ubuntu.com/ubuntu-ports/dists/bionic-updates/InRelease is not valid yet (invalid for another 537d 18h 14min 23s). Updates for this repository will not be applied.
我运行了下面的命令,认为这可以解决这个问题:
curl http://files.fictionlab.pl/repo/repo.key | sudo apt-key add
最后结果显示 OK,但是上面发布的错误一直出现。
请问有什么建议吗?