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


    在这里插入图片描述

    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 Release
      404  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$ 
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
  • 相关阅读:
    npm ERR! code CERT_HAS_EXPIRED:解决证书过期问题
    实例解释遇到前端报错时如何排查问题
    第542题 01矩阵+第994题 腐烂的橘子
    源码学习系列——green-gis-server
    rk3568适配温控风扇
    注意力机制 - 注意力汇聚:Nadaraya-Watson核回归
    javaScript
    【刷题记录⑧】Java工程师丨字节面试真题(二)
    【0143】 System V共享内存(Shared Memory)
    身份证实名认证接口的三种方式、C#实名认证接口
  • 原文地址:https://blog.csdn.net/weixin_44267654/article/details/134274802