sudo apt get 错误

ubuntu@VM-0-6-ubuntu:~$ sudo apt update
命中:1 http://mirrors.tencentyun.com/ubuntu focal InRelease
命中:2 http://mirrors.tencentyun.com/ubuntu focal-security InRelease
获取:3 http://mirrors.tencentyun.com/ubuntu focal-updates InRelease [128 kB]
获取:4 http://mirrors.tencentyun.com/ubuntu focal-updates/main amd64 Packages [3,605 kB]
忽略:5 http://ppa.launchpad.net/certbot/certbot/ubuntu focal InRelease
错误:6 http://ppa.launchpad.net/certbot/certbot/ubuntu focal Release
404 Not Found [IP: 185.125.190.80 80]
正在读取软件包列表... 完成
E: 仓库 “http://ppa.launchpad.net/certbot/certbot/ubuntu focal Release” 没有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
ubuntu@VM-0-6-ubuntu:~$ 错误:6 http://ppa.launchpad.net/certbot/certbot/ubuntu focal Release
错误:6:未找到命令

sudo nano /etc/apt/sources.list.d/certbot-ubuntu-certbot-focal.list

加入下列内容

deb https://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse

# deb https://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse

deb https://launchpad.proxy.ustclug.org/linuxuprising/shutter/ubuntu focal main

出现 

由于没有公钥,无法验证下列签名: NO_PUBKEY EA8CACC073C3DB2A

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA8CACC073C3DB2A

 

posted @   老榕树  阅读(50)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· ollama系列01:轻松3步本地部署deepseek,普通电脑可用
· 25岁的心里话
· 按钮权限的设计及实现
点击右上角即可分享
微信分享提示