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'
相关推荐
冰封之寂19 分钟前
Docker 部署与基础命令详解:从安装到容器管理全流程指南
linux·运维·docker·容器
Brilliantwxx43 分钟前
【Linux】 软件包管理器(yum)+ Vim使用
linux·运维·服务器·开发语言·编辑器·vim
skywalk81631 小时前
在FreeBSD的Uubntu兼容环境下安装Reasonix
linux·运维·freebsd
^yi1 小时前
【Linux系统编程】对操作系统的理解
linux·运维·服务器·操作系统·系统调用·os
Kina_C1 小时前
LVS-NAT 负载均衡实验从环境搭建到规则持久化
linux·运维·服务器·负载均衡·lvs
小肝一下2 小时前
7. 库制作与原理
linux·c语言·操作系统·bash·shell·动静态库
hkj88082 小时前
Ubuntu 20.04 安装 OpenJDK 17
linux·运维·ubuntu
huainingning2 小时前
防火墙重启后ssl登录提示证书过期临时解决方法
linux·服务器·ssl
Fu_Lin_3 小时前
Qt嵌入式从零基础到精通(01):Qt嵌入式开发全景图:从桌面Qt到ARM Linux
linux·arm开发·qt·qt5·嵌入式linux
lczllx3 小时前
从 TCP 90μs 到 SHM 28μs:我的 RPC 框架零拷贝优化历程
linux·后端