• 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
  • 相关阅读:
    深入理解 Spring MVC 的工作原理
    Python第五章 函数
    第三课 哈希表、集合、映射
    UVM driver和sequencer握手机制 get_next_item() 和 get() and put()
    如何与ChatGPT愉快地聊天
    CV每日论文--2024.6.4
    秒杀项目——多级缓存
    虹科教您 | 可实现带宽计量和延迟计算的时间敏感网络测试工具RELY-TSN-LAB操作指南与基本功能测试
    Self-supervised Video Transformer 阅读
    实时数据传输:Django 与 MQTT 的完美结合
  • 原文地址:https://blog.csdn.net/weixin_44267654/article/details/134274802