当前位置:首页 > 编程笔记 > 正文
已解决

ubuntu| sudo apt-get update 更新失败, 没有 Release 文件 无法安全地用该源进行更新,所以默认禁用该源

来自网友在路上 170870提问 提问时间:2023-11-08 00:14:40阅读次数: 70

最佳答案 问答题库708位专家为你答疑解惑

在这里插入图片描述

xiaole@ubt:~$ sudo apt-get update -y
命中:1 https://dl.google.com/linux/chrome/deb stable InRelease
忽略:2 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu focal InRelease
命中:3 https://packages.microsoft.com/repos/code stable InRelease
命中:4 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal InRelease       
命中:5 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates InRelease
命中:6 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports InRelease
命中:7 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRelease
错误:8 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu focal Release404  Not Found [IP: 185.125.190.52 80]
正在读取软件包列表... 完成
E: 仓库 “http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu focal Release” 没有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
xiaole@ubt:~$ cd cd /etc/apt/sources.list.d
bash: cd: 参数太多
xiaole@ubt:~$ cd^C
xiaole@ubt:~$ cd /etc/apt/sources.list.d
xiaole@ubt:/etc/apt/sources.list.d$ ls
google-chrome.list       ubuntu-desktop-ubuntu-ubuntu-make-focal.list       vscode.list
google-chrome.list.save  ubuntu-desktop-ubuntu-ubuntu-make-focal.list.save  vscode.list.save
xiaole@ubt:/etc/apt/sources.list.d$ sudo apt-get update -y
命中:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal InRelease
命中:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates InRelease
命中:3 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports InRelease
命中:4 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRelease
正在读取软件包列表... 完成
xiaole@ubt:/etc/apt/sources.list.d$ 
查看全文

99%的人还看了

猜你感兴趣

版权申明

本文"ubuntu| sudo apt-get update 更新失败, 没有 Release 文件 无法安全地用该源进行更新,所以默认禁用该源":http://eshow365.cn/6-34873-0.html 内容来自互联网,请自行判断内容的正确性。如有侵权请联系我们,立即删除!