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

相关推荐

  • 临床血液系统试题题库

    一、单5选1 (本大题共40小题,共40分。题下选项可能多个正确,只能选择其中最佳的一项)1.我国最常见的成人白血病是:A. 急性淋巴细胞白血病B. 急性粒细胞白血病C. 急性单核细胞白血病D. 慢性粒细胞白血病E. 红白血病2.提示骨髓中…

    医学题库 08/21/2024
    30
  • 音视频FFMPEG常用命令

    前言 FFMPEG是特别强大的专门用于处理音视频的开源库。你既可以使用它的API对音视频进行处理,也可以使用它提供的工具,如 ffmpeg, ffplay, ffprobe,来编辑你的音视频文件。 本文将简要介绍一下 FFMPEG 库的基本…

    08/16/2024
    41
  • 血液科:MICM综合诊断法包括

    MICM综合诊断法包括 A. 形态学、免疫学、细胞学、遗传学 B. 细胞形态学、细胞遗传学、免疫分型 C. 细胞形态学、免疫学、基因分型、遗传学 D. 分子生物学、细胞遗传学、免疫学、形态学 E. 细胞形态学、免疫学、细胞生物学、细胞遗传学

    医学题库 08/16/2024
    26
  • 血液科多选1经典试题

    A. 再生障碍性贫血 B. PNH C. 骨髓纤维化 D. 脾亢 E. 恶性组织细胞病(01) 肝脾一般不大的疾病是 A. 再生障碍性贫血(02) 易有反复血栓形成的疾病是 B. PNH A. 起病急、出血、休克明显 B. 无 DIC临床表…

    医学题库 08/16/2024
    24
  • 慢性粒细胞性白血病最突出的表现是:

    A. 贫血、消瘦 B. 出血 C. 骨关节痛 D. 脾明显肿大 E. 淋巴结肿大

    医学题库 08/16/2024
    24