# sudo apt-get update

发生异常

Hit:1 http://mirrors.cloud.aliyuncs.com/ubuntu bionic InRelease

Hit:2 http://mirrors.cloud.aliyuncs.com/ubuntu bionic-updates InRelease

Hit:3 http://mirrors.cloud.aliyuncs.com/ubuntu bionic-security InRelease

Get:4 https://packages.gitlab.com/runner/gitlab-runner/ubuntu bionic InRelease [23.5 kB]

Err:4 https://packages.gitlab.com/runner/gitlab-runner/ubuntu bionic InRelease

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3F01618A51312F3F

Reading package lists... Done

W: GPG error: https://packages.gitlab.com/runner/gitlab-runner/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3F01618A51312F3F

E: The repository 'https://packages.gitlab.com/runner/gitlab-runner/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.

原因:

更换三方源没有对应的Key

解决:

直接执行如下命令,比如我没有 3F01618A51312F3F,就需要执行

# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3F01618A51312F3F

Executing: /tmp/apt-key-gpghome.dOCPRYVKxF/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 3F01618A51312F3F
gpg: key 3F01618A51312F3F: public key "GitLab B.V. (package repository signing key) <packages@gitlab.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1

# sudo apt-get update
Hit:1 http://mirrors.cloud.aliyuncs.com/ubuntu bionic InRelease
Hit:2 http://mirrors.cloud.aliyuncs.com/ubuntu bionic-updates InRelease
Hit:3 http://mirrors.cloud.aliyuncs.com/ubuntu bionic-security InRelease                         
Get:4 https://packages.gitlab.com/runner/gitlab-runner/ubuntu bionic InRelease [23.5 kB]
Ign:5 https://packages.gitlab.com/runner/gitlab-runner/ubuntu bionic/main amd64 Packages
Get:6 https://packages.gitlab.com/runner/gitlab-runner/ubuntu bionic/main i386 Packages [17.4 kB]                                                                                     
Get:5 https://packages.gitlab.com/runner/gitlab-runner/ubuntu bionic/main amd64 Packages [17.6 kB]                                                                                    
Fetched 58.4 kB in 8s (7,566 B/s)                                                                                                                                                     
Reading package lists... Done

The following signatures couldn‘t be verified because the public key is not available: NO_PUBKEY相关推荐

  1. The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4

    ubuntu apt-get update报错: The following signatures couldn't be verified because the public key is not ...

  2. The following signatures couldn't be verified because the public key is not available: NO_PUBKEY XXX

    reference apt-key adv --recv-keys --keyserver keyserver.ubuntu.com XXXXXX apt-get update

  3. 【apt】The following signatures couldn‘t be verified because the public key is not available

    遇到问题: 执行 apt update 产生如下图报错: The following signatures couldn't be verified because the public key is ...

  4. 【Ubuntu升级报错】“the following signatures couldn’t be verified because the public key is not available”

    升级Python时第一步apt-get update报错 报错界面 报错界面 在ubuntu中运行apt-get update时,有时会出现如下报错 ubuntu@ubuntu-virtual-mac ...

  5. 在ubuntu中运行sudo apt-get update报错The following signatures couldn‘t be verified because the public key

    出现的问题如下图: 报错信息: Err:5 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64  InR ...

  6. Ubuntu解决 The following signatures couldn‘t be verified because the public key is not available:

    Ubuntu在source.list中添加源后,提示 The following signatures couldn't be verified because the public key is n ...

  7. The following signatures couldn‘t be verified because the public key is not available问题解决

    记住NO_PUBKEY后面的那串数字例如40976EAF437D05B5 然后输入: sudo apt-key  adv --keyserver keyserver.ubuntu.com --recv ...

  8. GPG error: http://extras.ubuntu.com trusty Release: The following signatures couldn't be verified be

    今天在更新运行apt-get update的时候出现了如下的错误: W: GPG error: http://extras.ubuntu.com trusty Release: The followi ...

  9. W: GPG error: http://dl.google.com/linux/chrome/deb stable Release: The following signatures couldn'

    Ubuntu 16.04.2执行 sudo apt-get update .警告如下:W: GPG error: http://dl.google.com/linux/chrome/deb stabl ...

  10. Udacity机器人软件工程师课程笔记(三十五) - SLAM - 基于网格的FastSLAM

    一.SLAM介绍 即使定位和建图问题(simultaneous localization and mapping),一般简称为SLAM, 也称作(Concurrent Mapping and Loca ...

最新文章

  1. Hibernate事务处理
  2. weblogic管理2 - 创建并启动一个managed server
  3. 第九周项目实践2 二叉树遍历的递归算法
  4. boost::function30的用法实例
  5. C++统计10亿以内所有的质素(素数)的实现算法(附完整源码)
  6. 阿里云张毅萍:构建边缘云全站加速网络体系
  7. 我的WCF之旅(1):创建一个简单的WCF程序
  8. 他在阿里的逆袭,只因为想做个“锤子”
  9. es为mysql创建索引_ES(ElasticSearch) 索引创建
  10. WPF和Winform中picturebox图片局部放大
  11. ie6-7中会出现图片下有空隙
  12. 电脑之间利用串口传输文件
  13. 【JXTA概念介绍(翻译)】
  14. 统计学软件 Stata 16
  15. 使用SSH连接linux服务器重启Tomcat服务
  16. web前端期末大作业 html+css+javascript网页设计实例 企业网站制作——星利源商贸物流有限公司(毕业设计)
  17. 开源社区ECE:Elastic认证考试复盘总结134贴
  18. c语言鸡兔同笼(二)
  19. 【QT-QSS】QSS介绍
  20. 【迁移学习】特征空间相同、概率分布不同的概念

热门文章

  1. 移动硬盘显示无法访问数据错误循环冗余检查的文件寻回办法
  2. 折线图css,echarts实现折线图的代码(附图)
  3. 拔丝芋头的Java学习日记--Day4
  4. heka 输出到mysql_HEKA-系统介绍
  5. LTE的CQI及下行码率计算
  6. springboot整合thumbnailator实现图片处理
  7. 【Latex】Latex小白入门(4)——Latex中特殊符号的输入
  8. 手动引入jar包,解决Dependency ‘XXX‘ not found的两种方式
  9. 4412——Linux驱动入门01
  10. 创宇区块链|重蹈覆辙?为何 DEUS 协议再受攻击?