linux安装软件一直出现y,linux安装软件yum install libaio-de* -y出错

问题:linux安装软件失败

[root@zlhis Desktop]# yum install libaio-de* -y

Loaded plugins: product-id, refresh-packagekit, security, subscription-manager

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

Setting up Install Process

Resolving Dependencies

--> Running transaction check

---> Package libaio-devel.x86_64 0:0.3.107-10.el6 will be installed

--> Finished Dependency Resolution

Dependencies Resolved

Package Arch Version Repository   Size

Installing:

libaio-devel x86_64 0.3.107-10.el6 iso 13 k

Transaction Summary

Install       1 Package(s)

Total download size: 13 k

Installed size: 23 k

Downloading Packages:

warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY

Public key for libaio-devel-0.3.107-10.el6.x86_64.rpm is not installed

解决:

1.修改/etc/yum.conf把gpgcheck改为0

4e04d76df5607b0e1295f0c76ef501d5.png

2.验证成功

[root@zlhis Desktop]# yum install libaio-de* -y

Loaded plugins: product-id, refresh-packagekit, security, subscription-manager

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

Setting up Install Process

iso | 4.1 kB     00:00 ...

Resolving Dependencies

--> Running transaction check

---> Package libaio-devel.x86_64 0:0.3.107-10.el6 will be installed

--> Finished Dependency Resolution

Dependencies Resolved

Package Arch Version Repository Size

Installing:

libaio-devel x86_64 0.3.107-10.el6 iso 13 k

Transaction Summary

Install       1 Package(s)

Total download size: 13 k

Installed size: 23 k

Downloading Packages:

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

Installing : libaio-devel-0.3.107-10.el6.x86_64 1/1

Verifying  : libaio-devel-0.3.107-10.el6.x86_64 1/1

Installed:

libaio-devel.x86_64 0:0.3.107-10.el6

Complete!