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'
相关推荐
小成202303202651 小时前
Linux高级02
linux·开发语言
mounter6251 小时前
【硬核前沿】CXL 深度解析:重塑数据中心架构的“高速公路”,Linux 内核如何应对挑战?-- CXL 协议详解与 LSF/MM 最新动态
linux·服务器·网络·架构·kernel
++==2 小时前
Linux 进程间通信与线程同步技术详解:IPC 机制、线程 API、同步工具与经典同步问题
linux
特长腿特长2 小时前
centos、ubantu系列机的用户和用户组的结构是什么?具体怎么配置?用户组权限怎么使用?这篇文章持续更新,帮助你复习linux的基础知识
linux·运维·centos
zzzyyy5382 小时前
Linux环境变量
linux·运维·服务器
pluvium272 小时前
记对 xonsh shell 的使用, 脚本编写, 迁移及调优
linux·python·shell·xonsh
无级程序员3 小时前
centos7 安装 llvm-toolset-7-clang出错的问题解决
linux·centos
CHHC18803 小时前
NetCore树莓派桌面应用程序
linux·运维·服务器
云栖梦泽5 小时前
Linux内核与驱动:9.Linux 驱动 API 封装
linux·c++
si莉亚6 小时前
ROS2安装EVO工具包
linux·开发语言·c++·开源