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'
相关推荐
嵩山小老虎2 小时前
Windows 10/11 安装 WSL2 并配置 VSCode 开发环境(C 语言 / Linux API 适用)
linux·windows·vscode
Fleshy数模2 小时前
CentOS7 安装配置 MySQL5.7 完整教程(本地虚拟机学习版)
linux·mysql·centos
a41324472 小时前
ubuntu 25 安装vllm
linux·服务器·ubuntu·vllm
一只自律的鸡4 小时前
【Linux驱动】bug处理 ens33找不到IP
linux·运维·bug
17(无规则自律)4 小时前
【CSAPP 读书笔记】第二章:信息的表示和处理
linux·嵌入式硬件·考研·高考
!chen4 小时前
linux服务器静默安装Oracle26ai
linux·运维·服务器
REDcker4 小时前
Linux 文件描述符与 Socket 选项操作详解
linux·运维·网络
蒹葭玉树5 小时前
【C++上岸】C++常见面试题目--操作系统篇(第二十八期)
linux·c++·面试
2501_927773075 小时前
imx6驱动
linux·运维·服务器
hy____1235 小时前
Linux_进程间通信
linux·运维·服务器