You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Ubuntu执行sudo apt update报404且提示参考apt-secure(8)手册页怎么办

报错原因

你遇到的apt update 404报错是因为此前安装IDM复刻版时添加的noobslab/apps PPA源已停止支持Ubuntu 20.04(Focal)版本,服务器上没有对应版本的Release验证文件,导致源校验失败。
原始报错内容:

Err:17 http://ppa.launchpad.net/noobslab/apps/ubuntu focal Release
404 Not Found [IP: 91.189.95.85 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/noobslab/apps/ubuntu focal 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.

修复方法
  • 移除无效PPA源,两种方案选其一即可:
    1. 用apt自带工具移除
      执行命令:
    sudo add-apt-repository --remove ppa:noobslab/apps
    
    1. 手动删除源配置文件
      先进入源列表目录:
    cd /etc/apt/sources.list.d/
    
    找到前缀为noobslab-ubuntu-apps的配置文件并删除:
    sudo rm noobslab-ubuntu-apps-*.list*
    
  • 验证修复:执行更新命令确认无报错
    sudo apt update
    

内容的提问来源于stack exchange,提问作者Teshane Crawford

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.10.05 03:27:04