Ubuntu 22.04执行sudo apt update时遇ROS仓库404错误及AnyDesk密钥警告的解决求助
Ubuntu 22.04执行sudo apt update时遇ROS仓库404错误及AnyDesk密钥警告的解决求助
大家好,我把Ubuntu系统安装在外部硬盘上,当前系统版本信息如下:
lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.1 LTS Release: 22.04 Codename: jammy
最近执行sudo apt update命令时遇到了报错,完整输出如下:
sudo apt update Hit:1 http://security.ubuntu.com/ubuntu jammy-security InRelease Hit:2 http://de.archive.ubuntu.com/ubuntu jammy InRelease Hit:3 http://deb.anydesk.com all InRelease Ign:4 http://packages.ros.org/ros/ubuntu jammy InRelease Err:5 http://packages.ros.org/ros/ubuntu jammy Release 404 Not Found [IP: 64.50.233.100 80] Reading package lists... Done E: The repository 'http://packages.ros.org/ros/ubuntu jammy Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. W: http://deb.anydesk.com/dists/all/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
换成sudo apt-get update执行,还是遇到完全相同的错误:
sudo apt-get update Hit:1 http://deb.anydesk.com all InRelease Hit:2 http://de.archive.ubuntu.com/ubuntu jammy InRelease Hit:3 http://security.ubuntu.com/ubuntu jammy-security InRelease Ign:4 http://packages.ros.org/ros/ubuntu jammy InRelease Err:5 http://packages.ros.org/ros/ubuntu jammy Release 404 Not Found [IP: 140.211.166.134 80] Reading package lists... Done W: http://deb.anydesk.com/dists/all/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. E: The repository 'http://packages.ros.org/ros/ubuntu jammy Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
我已经尝试过搜索相关问题,参考了「What can I do if a repository/PPA does not have a Release file?」的回答,执行了以下命令:
sudo add-apt-repository --remove ppa:mc3man/trusty-media sudo apt-get update
但执行后还是出现同样的ROS仓库404错误。我现在有点疑惑,会不会是我使用的http://de.archive.ubuntu.com这个源导致的问题?希望大家能帮忙看看怎么解决这两个问题,谢谢!
备注:内容来源于stack exchange,提问作者FabioSpaghetti
相关产品推荐
相关产品推荐

