zoukankan      html  css  js  c++  java
  • aptget故障排查

    1、aptget升级包失败?

    root@chalon:~# apt update
    Hit:1 http://mirrors.aliyun.com/ubuntu focal InRelease
    Hit:2 http://mirrors.aliyun.com/ubuntu focal-security InRelease                                        
    Hit:3 http://mirrors.aliyun.com/ubuntu focal-updates InRelease                                         
    Get:4 https://mirrors.aliyun.com/kubernetes/apt kubernetes-xenial InRelease [9,383 B]
    Hit:5 http://mirrors.aliyun.com/ubuntu focal-proposed InRelease            
    Hit:6 http://mirrors.aliyun.com/ubuntu focal-backports InRelease
    Err:4 https://mirrors.aliyun.com/kubernetes/apt kubernetes-xenial InRelease
      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FEEA9169307EA071 NO_PUBKEY 8B57C5C2836F4BEB
    Reading package lists... Done
    W: GPG error: https://mirrors.aliyun.com/kubernetes/apt kubernetes-xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FEEA9169307EA071 NO_PUBKEY 8B57C5C2836F4BEB
    E: The repository 'https://mirrors.aliyun.com/kubernetes/apt 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.
    

    原因分析:重新全部生成过密钥导致该问题出现。

    解决方法:再次针对aptget生成密钥。

    apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8B57C5C2836F4BEB

    apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FEEA9169307EA071

      

  • 相关阅读:
    JavaScript要理解闭包先了解词法作用域
    CSS实现放大镜/狙击镜效果
    如何用js让表格的行也能拖动
    如何用Ajax传一个数组数据
    swf自动播放时如何全屏全部显示
    格式化金额数与自动四舍五入
    HTML标签的使用要注意语义化
    一张图理解"Figure", "Axes", "Axis"
    Python的"random"函数的使用(一)
    "sorted()"中的"Key Functions"
  • 原文地址:https://www.cnblogs.com/chalon/p/15384244.html
Copyright © 2011-2022 走看看