zoukankan      html  css  js  c++  java
  • rpm | yum 安装软件包时key过期

    1、问题:

    yum -y install docker-io
    Loaded plugins: fastestmirror, refresh-packagekit, security
    Setting up Install Process
    Loading mirror speeds from cached hostfile
     * epel: mirrors.tuna.tsinghua.edu.cn
     * local: 
    Resolving Dependencies
    --> Running transaction check
    ---> Package docker-io.x86_64 0:1.7.1-2.el6 will be installed
    --> Processing Dependency: lxc for package: docker-io-1.7.1-2.el6.x86_64
    --> Processing Dependency: libcgroup for package: docker-io-1.7.1-2.el6.x86_64
    --> Running transaction check
    ---> Package libcgroup.x86_64 0:0.40.rc1-12.el6 will be installed
    ---> Package lxc.x86_64 0:1.0.9-1.el6 will be installed
    --> Processing Dependency: lua-lxc(x86-64) = 1.0.9-1.el6 for package: lxc-1.0.9-1.el6.x86_64
    --> Processing Dependency: lua-alt-getopt for package: lxc-1.0.9-1.el6.x86_64
    --> Processing Dependency: liblxc.so.1()(64bit) for package: lxc-1.0.9-1.el6.x86_64
    --> Running transaction check
    ---> Package lua-alt-getopt.noarch 0:0.7.0-1.el6 will be installed
    ---> Package lua-lxc.x86_64 0:1.0.9-1.el6 will be installed
    --> Processing Dependency: lua-filesystem for package: lua-lxc-1.0.9-1.el6.x86_64
    ---> Package lxc-libs.x86_64 0:1.0.9-1.el6 will be installed
    --> Running transaction check
    ---> Package lua-filesystem.x86_64 0:1.4.2-1.el6 will be installed
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    =====================================================================================================================================================================================
     Package                                        Arch                                   Version                                           Repository                             Size
    =====================================================================================================================================================================================
    Installing:
     docker-io                                      x86_64                                 1.7.1-2.el6                                       epel                                  4.6 M
    Installing for dependencies:
     libcgroup                                      x86_64                                 0.40.rc1-12.el6                                   local                                 128 k
     lua-alt-getopt                                 noarch                                 0.7.0-1.el6                                       epel                                  6.9 k
     lua-filesystem                                 x86_64                                 1.4.2-1.el6                                       epel                                   24 k
     lua-lxc                                        x86_64                                 1.0.9-1.el6                                       epel                                   16 k
     lxc                                            x86_64                                 1.0.9-1.el6                                       epel                                  122 k
     lxc-libs                                       x86_64                                 1.0.9-1.el6                                       epel                                  257 k
    
    Transaction Summary
    =====================================================================================================================================================================================
    Install       7 Package(s)
    
    Total size: 5.1 M
    Total download size: 128 k
    Installed size: 20 M
    Downloading Packages:
    warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
    Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
    Importing GPG key 0x0608B895:
     Userid : EPEL (6) <epel@fedoraproject.org>
     Package: epel-release-6-8.noarch (installed)
     From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
    warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
    
    
    Public key for libcgroup-0.40.rc1-12.el6.x86_64.rpm is not installed

    2、解决方案

    rpm --import /etc/pki/rpm-gpg/RPM*

    导入新的key 就行了。

  • 相关阅读:
    Java NIO中的缓冲区Buffer(二)创建/复制缓冲区
    Java NIO中的缓冲区Buffer(一)缓冲区基础
    Java中的反射
    Java SE 9(JDK9)环境安装及交互式编程环境Jshell使用示例
    Spring Data JPA例子[基于Spring Boot、Mysql]
    Spring Session
    Spring Data Redis示例
    Spring IO Platform简介及示例
    使用Spring Boot开发 “Hello World” Web应用
    2017/01/13,今天正好是开通博客园一周年,谈谈自己的一些想法
  • 原文地址:https://www.cnblogs.com/JiangLe/p/6580881.html
Copyright © 2011-2022 走看看