sudo apt-get update 报错

bash 复制代码
root@N-20HEPF15JN1Q:/home/ubuntu# apt-get update -qq
E: The repository 'http://ppa.launchpad.net/projectatomic/ppa/ubuntu focal Release' does not have a Release file.
root@N-20HEPF15JN1Q:/home/ubuntu# add-apt-repository --remove ppa:/webupd8team/sublime-text-3
bash: /usr/bin/add-apt-repository: No such file or directory
root@N-20HEPF15JN1Q:/home/ubuntu# apt-get update
Hit:1 http://mirrors.aliyun.com/ubuntu focal InRelease
Hit:2 http://mirrors.aliyun.com/ubuntu focal-security InRelease
Hit:3 http://mirrors.aliyun.com/ubuntu focal-updates InRelease
Hit:4 http://mirrors.aliyun.com/ubuntu focal-proposed InRelease
Ign:5 http://ppa.launchpad.net/projectatomic/ppa/ubuntu focal InRelease
Hit:6 http://mirrors.aliyun.com/ubuntu focal-backports InRelease
Hit:7 https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_20.04  InRelease
Err:8 http://ppa.launchpad.net/projectatomic/ppa/ubuntu focal Release
  404  Not Found [IP: 91.189.95.83 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/projectatomic/ppa/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.

解决办法:在etc/apt/sources.list.d 目录中删除对应的ppa,

然后执行sudo apt-get update ,问题即可解决

下面这个错误也是 ,谁报错就删谁

bash 复制代码
Reading package lists... Done                             
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://pkg.cloudflareclient.com focal InRelease' doesn't support architecture 'i386'
相关推荐
DuHz20 分钟前
C程序中的数组与指针共生关系
linux·c语言·开发语言·嵌入式硬件·算法
shuair27 分钟前
mysql8支持远程访问 -mysql5.7支持远程访问
linux·mysql
Murphy_lx1 小时前
Linux系统--信号(4--信号捕捉、信号递达)陌生概念篇
linux·运维·服务器
焱焱枫2 小时前
Linux疑难杂症诊断利器:深入解析 fuser 命令
linux·运维·服务器
博语小屋2 小时前
Linux进程信号(壹)_产生信号
linux·运维·服务器
轻松Ai享生活2 小时前
【Linux】VFS 虚拟文件系统 详解
linux
LCG元2 小时前
Linux环境Python生态速建指南:包管理+虚拟隔离+深度调优
linux
大白的编程日记.2 小时前
【Linux学习笔记】线程同步与互斥之生产者消费者模型
linux·笔记·学习
Knight_AL2 小时前
Spring Boot 中使用自定义注解和 AOP 实现微服务日志记录(包含 URL、状态码和耗时信息)
linux·spring boot·微服务
养海绵宝宝的小蜗3 小时前
Linux 例行性工作任务(定时任务)知识点总结
linux·运维·服务器