?????????????а??????????????????????з?????????(MD5)
??????????????????????:
????rpm -qa | grep gpg-pubkey ???? rpm -qa gpg-pubkey
???????δ???????????????????а??
????sudo  rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
??????????e????????????:rpm --import /media/Rhel6.4/RPM-GPG-KEY-redhat-release
???????????????????:
????[kevin@PandoraX Rhel6.4]$ rpm --import /media/Rhel6.4/RPM-GPG-KEY-redhat-release
????error: cannot get exclusive lock on /var/lib/rpm/Packages
????error: cannot open Packages index using db3 - Operation not permitted (1)
????error: cannot open Packages database in /var/lib/rpm
????error: /media/Rhel6.4/RPM-GPG-KEY-redhat-release: key 1 import failed.
????error: cannot get exclusive lock on /var/lib/rpm/Packages
????error: cannot open Packages database in /var/lib/rpm
????error: /media/Rhel6.4/RPM-GPG-KEY-redhat-release: key 2 import failed.
??????????????????????????????key???root??????sudo?????в???
???????????????????????:
????rpm -K vsftpd-2.2.2-11.el6.x86_64.rpm
????vsftpd-2.2.2-11.el6.x86_64.rpm: rsa sha1 (md5) pgp md5 OK
??????????
????????????rpm -qi gpg-pubkey-2fa658e0-45700c69
???????????????rpm -vK vsftpd-2.2.2-11.el6.x86_64.rpm
????rpm -vvK vsftpd-2.2.2-11.el6.x86_64.rpm
????yum??е?gpgУ??
????[base]
????name=Red Hat Enterprise Linux
????baseurl=file:///media/Rhel6.4/Server
????enabled=1
????gpgcheck=0 (0?????????У?飬1???ζ?????У??)
????gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release