Bug:apt update报错,:: The repository “http://xx Release‘ does nothave a Release file解决

Bug:apt update报错,:: The repository "http://xx Release' does nothave a Release file解决方案
摘要由CSDN通过智能技术生成

问题描述

在ubuntu20.04系统上安装ros环境,需要更新数据源,使用sudo apt-get update命令进行更新,报错

:: The repository "http://mirrors,ustc.edu.cn/ros/ubuntu jammy Release' does nothave a Release file.N: Updating from such a repository can't be done securely, and is therefore disaled by default .
N: See apt-secure(8) manpage for repository creation and user configuration deta
iIs.N: http://security.ubuntu.com/ubuntu/dists/xenial-security/InRelease: Key is stoed in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

 具体如下图所示:

 解决方案:

修改系统源文件sources.list的源地址;如果未解决,检查网络是否被监控,切换其他网络试试,例如开一个手机热点;更新过于老旧或者缺少的软件包。

详细解决步骤:

1.修改系统文件source

  • 1
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值