Ubuntu更换阿里源后,提示GPG error缺少公钥

修改命令:sudo gedit /etc/apt/sources.list

阿里源

deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

错误信息:

W: GPG error: http://mirrors.aliyun.com/ubuntu bionic InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32
E: The repository ‘http://mirrors.aliyun.com/ubuntu bionic InRelease’ is not signed.
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.
W: GPG error: http://mirrors.aliyun.com/ubuntu bionic-security InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32
E: The repository ‘http://mirrors.aliyun.com/ubuntu bionic-security InRelease’ is not signed.
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.
W: GPG error: http://mirrors.aliyun.com/ubuntu bionic-updates InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32
E: The repository ‘http://mirrors.aliyun.com/ubuntu bionic-updates InRelease’ is not signed.
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.
W: GPG error: http://mirrors.aliyun.com/ubuntu bionic-proposed InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32

解决

sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys 3B4FE6ACC0B21F32

如若转载,请注明出处:https://www.ouq.net/1807.html

(0)
打赏 微信打赏,为服务器增加50M流量 微信打赏,为服务器增加50M流量 支付宝打赏,为服务器增加50M流量 支付宝打赏,为服务器增加50M流量
上一篇 05/16/2022
下一篇 05/17/2022

相关推荐

  • 公共加密 DNS(DoH TLS)服务器

    #阿里 DNS地址#DNS-over-HTTPShttps://dns.alidns.com/dns-query#DNS IPv4223.5.5.5223.6.6.6#DNS IPv62400:3200:baba::12400:3200::…

    系统资源 03/03/2024
    662
  • 药学判断题-题库

    处方药广告的忠告语是“请按药品说明书使用”。(    ) 【答案】×。解析:处方药广告的忠告语是:“本广告仅供医学药学专业人士阅读”。非处方药的广告语是:“请按药品说明书或在药师指导下购买和使用。” 治疗头癣的首选药物是灰黄霉素。(    …

    题集 07/12/2024
    11
  • 解决MAC Pro突然电量到1%不能充电

    MACPro突然电量到1%且不能充电,Mac,Mac book, Macbook Pro存在电量1%的情况大多情况由于SMC故障,可通过重置SMC来解决。 什么是SMC? 系统管理控制器 (SMC) 负责管理与以下功能相关的行为: 电源,包…

    03/04/2022
    404
  • 药物开发的通用公共数据库

    数据库名称 描述 URL dbSNP SNPs for a wide range of organisms, including >150M human reference SNPs. http://www.ncbi.nlm.nih.…

    生物在线资源 08/09/2023
    231
  • 药学专业知识二习题

    一、最佳选择题 1.下列药物中属于非苯二氮䓬结构的杂环类镇静催眠药的是 A.苯巴比妥    B.地西泮   C.劳拉西泮 D.阿普唑仑    E.佐匹克隆   2.与单胺氧化酶抑制剂合用可引起高血压危象的抗癫痫药是 A.乙琥胺  …

    题集 04/23/2022
    202