yum安装 s3cmd时出现以下错误:
Total 55 kB/s | 118 kB 00:00:02
warning: /var/cache/yum/x86_64/7/dl.fedoraproject.org_pub_epel_7_x86_64_/packages/s3cmd-2.0.2-1.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Public key for s3cmd-2.0.2-1.el7.noarch.rpm is not installed
解决:
$ sudo rpm --import /etc/pki/rpm-gpg/RPM*
原因:由于这些文件被系统添加了扩展属性,所以我们只要删掉这些属性就行了,
解决方案:https://blog.csdn.net/u013538542/article/details/79266200