rpm 校验rpm包文件的完整性/正确性
[root@jinkk mysql]# rpm --checksig mysql-community-release-el7-5.noarch.rpm mysql-community-release-el7-5.noarch.rpm: sha1 md5 gpg OK
有时需要先导入公开密钥到RPM keyring中.
rpm --import <pubkey>
rpm --import mysql_pubkey.asc
rpm 校验rpm包文件的完整性/正确性
[root@jinkk mysql]# rpm --checksig mysql-community-release-el7-5.noarch.rpm mysql-community-release-el7-5.noarch.rpm: sha1 md5 gpg OK
有时需要先导入公开密钥到RPM keyring中.
rpm --import <pubkey>
rpm --import mysql_pubkey.asc