AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1328583
Accepted
Jonte YH
Jonte YH
Asked: 2021-04-02 03:14:03 +0800 CST2021-04-02 03:14:03 +0800 CST 2021-04-02 03:14:03 +0800 CST

如何修复签名密钥?

  • 772

我尝试过使用 sudo apt-get update 和 sudo apt-get upgrade。我得到这个错误与 kubernetes 错误:我已经尝试使用以下以下命令:

sudo rm /var/lib/apt/lists/* -vf

sudo apt-get clean

sudo apt-get update

sudo apt-get upgrade

但它没有奏效!我怎样才能解决这个问题?是不是我必须以某种方式拿到钥匙?

Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://ppa.launchpad.net/git-core/ppa/ubuntu disco InRelease                                                                                                      
Hit:3 https://download.docker.com/linux/ubuntu focal InRelease                                                                                                          
Hit:4 http://apt.postgresql.org/pub/repos/apt groovy-pgdg InRelease                                                                                                     
Hit:5 http://archive.ubuntu.com/ubuntu groovy InRelease                                                                                                                 
Hit:6 http://ppa.launchpad.net/kritalime/ppa/ubuntu disco InRelease                                                                                                     
Get:7 http://archive.ubuntu.com/ubuntu groovy-updates InRelease [115 kB]                                                                                                
Ign:8 http://repo.vivaldi.com/stable/deb stable InRelease                                                                                                               
Hit:9 http://repo.vivaldi.com/stable/deb stable Release                                                                                                                 
Get:11 http://archive.ubuntu.com/ubuntu groovy-backports InRelease [101 kB]                                                                                             
Hit:12 https://cli-assets.heroku.com/branches/stable/apt ./ InRelease                                                                                                   
Get:13 http://archive.ubuntu.com/ubuntu groovy-security InRelease [110 kB]                                                                  
Hit:14 https://download.sublimetext.com apt/stable/ InRelease                                                                                                       
Get:10 https://packages.cloud.google.com/apt kubernetes-xenial InRelease [9 383 B]                                                                                  
Hit:15 https://packagecloud.io/AtomEditor/atom/any any InRelease
Get:17 http://archive.ubuntu.com/ubuntu groovy-updates/main amd64 DEP-11 Metadata [40,7 kB]
Get:18 http://archive.ubuntu.com/ubuntu groovy-updates/universe amd64 DEP-11 Metadata [104 kB]
Get:19 http://archive.ubuntu.com/ubuntu groovy-updates/multiverse amd64 DEP-11 Metadata [2 468 B]
Get:20 http://archive.ubuntu.com/ubuntu groovy-backports/universe amd64 DEP-11 Metadata [600 B]
Get:21 http://archive.ubuntu.com/ubuntu groovy-security/main amd64 DEP-11 Metadata [4 676 B]                                                                            
Get:22 http://archive.ubuntu.com/ubuntu groovy-security/universe amd64 DEP-11 Metadata [4 564 B]                                                                        
Err:10 https://packages.cloud.google.com/apt kubernetes-xenial InRelease                                                                                                
  The following signatures were invalid: EXPKEYSIG 6A030B21BA07F4FB Google Cloud Packages Automatic Signing Key <[email protected]> The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B57C5C2836F4BEB
Reading package lists... Done                                                                                                                                           
W: GPG error: https://packages.cloud.google.com/apt kubernetes-xenial InRelease: The following signatures were invalid: EXPKEYSIG 6A030B21BA07F4FB Google Cloud Packages Automatic Signing Key <[email protected]> The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8B57C5C2836F4BEB
E: The repository 'http://apt.kubernetes.io kubernetes-xenial 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

在此处输入图像描述

docker
  • 1 1 个回答
  • 2436 Views

1 个回答

  • Voted
  1. Best Answer
    Jonte YH
    2021-04-02T03:23:42+08:002021-04-02T03:23:42+08:00

    我找到了一个对我有帮助的答案:

    写吧:

    须藤

    以 root 身份登录,然后:

    卷曲https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt键添加 -

    • 3

相关问题

  • 您是否需要具有虚拟化功能的处理器才能在 Snappy Ubuntu Core 上运行 Docker?

  • 码头工人的问题

  • 如何在没有 sudo 的情况下使用 docker?

  • 如何升级 Docker

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve