Jon*_* YH 6 signature docker kubernetes
我已尝试使用 sudo apt-get update 和 sudo apt-get update。\n我收到此错误并显示 kubernetes 错误:\n我已尝试使用以下命令:
\nsudo rm /var/lib/apt/lists/* -vf\n\nsudo apt-get clean\n\nsudo apt-get update\n\nsudo apt-get upgrade\n
Run Code Online (Sandbox Code Playgroud)\n但它没有起作用!\n我该如何解决这个问题?\n我必须以某种方式获取密钥吗?
\nHit:1 http://dl.google.com/linux/chrome/deb stable InRelease\nHit:2 http://ppa.launchpad.net/git-core/ppa/ubuntu disco InRelease \nHit:3 https://download.docker.com/linux/ubuntu focal InRelease \nHit:4 http://apt.postgresql.org/pub/repos/apt groovy-pgdg InRelease \nHit:5 http://archive.ubuntu.com/ubuntu groovy InRelease \nHit:6 http://ppa.launchpad.net/kritalime/ppa/ubuntu disco InRelease \nGet:7 http://archive.ubuntu.com/ubuntu groovy-updates InRelease [115 kB] \nIgn:8 http://repo.vivaldi.com/stable/deb stable InRelease \nHit:9 http://repo.vivaldi.com/stable/deb stable Release \nGet:11 http://archive.ubuntu.com/ubuntu groovy-backports InRelease [101 kB] \nHit:12 https://cli-assets.heroku.com/branches/stable/apt ./ InRelease \nGet:13 http://archive.ubuntu.com/ubuntu groovy-security InRelease [110 kB] \nHit:14 https://download.sublimetext.com apt/stable/ InRelease \nGet:10 https://packages.cloud.google.com/apt kubernetes-xenial InRelease [9\xe2\x80\xaf383 B] \nHit:15 https://packagecloud.io/AtomEditor/atom/any any InRelease\nGet:17 http://archive.ubuntu.com/ubuntu groovy-updates/main amd64 DEP-11 Metadata [40,7 kB]\nGet:18 http://archive.ubuntu.com/ubuntu groovy-updates/universe amd64 DEP-11 Metadata [104 kB]\nGet:19 http://archive.ubuntu.com/ubuntu groovy-updates/multiverse amd64 DEP-11 Metadata [2\xe2\x80\xaf468 B]\nGet:20 http://archive.ubuntu.com/ubuntu groovy-backports/universe amd64 DEP-11 Metadata [600 B]\nGet:21 http://archive.ubuntu.com/ubuntu groovy-security/main amd64 DEP-11 Metadata [4\xe2\x80\xaf676 B] \nGet:22 http://archive.ubuntu.com/ubuntu groovy-security/universe amd64 DEP-11 Metadata [4\xe2\x80\xaf564 B] \nErr:10 https://packages.cloud.google.com/apt kubernetes-xenial InRelease \n The following signatures were invalid: EXPKEYSIG 6A030B21BA07F4FB Google Cloud Packages Automatic Signing Key <gc-team@google.com> The following signatures couldn\'t be verified because the public key is not available: NO_PUBKEY 8B57C5C2836F4BEB\nReading package lists... Done \nW: GPG error: https://packages.cloud.google.com/apt kubernetes-xenial InRelease: The following signatures were invalid: EXPKEYSIG 6A030B21BA07F4FB Google Cloud Packages Automatic Signing Key <gc-team@google.com> The following signatures couldn\'t be verified because the public key is not available: NO_PUBKEY 8B57C5C2836F4BEB\nE: The repository \'http://apt.kubernetes.io kubernetes-xenial InRelease\' is not signed.\nN: Updating from such a repository can\'t be done securely, and is therefore disabled by default.\nN: See apt-secure(8) manpage for repository creation and user configuration details\n
Run Code Online (Sandbox Code Playgroud)\n\n
我找到了一个对我有帮助的答案:
写吧:
须藤苏
以 root 身份登录,然后:
卷曲https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key 添加 -
归档时间: |
|
查看次数: |
11756 次 |
最近记录: |