升级 openssh rpm 错误:文件 /usr/bin/ssh-keygen 上的存档解压失败:cpio:重命名失败 - 权限被拒绝

升级 openssh rpm 错误:文件 /usr/bin/ssh-keygen 上的存档解压失败:cpio:重命名失败 - 权限被拒绝
rpm -Uvh openssh-5.3p1-124.el6_10.x86_64.rpm openssh-server-5.3p1-124.el6_10.x86_64.rpm openssh-clients-5.3p1-124.el6_10.x86_64.rpm openssh-askpass-5.3p1-124.el6_10.x86_64.rpm
warning: openssh-5.3p1-124.el6_10.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing...                ########################################### [100%]
   1:openssh                ########################################### [ 25%]
error: unpacking of archive failed on file /usr/bin/ssh-keygen: cpio: rename failed - Permission denied
   2:openssh-server         ########################################### [ 50%]
error: unpacking of archive failed on file /etc/pam.d/ssh-keycat: cpio: rename failed - Permission denied
   3:openssh-clients        ########################################### [ 75%]
error: unpacking of archive failed on file /usr/bin/scp: cpio: rename failed - Permission denied
   4:openssh-askpass        ########################################### [100%]
error: unpacking of archive failed on file /usr/libexec/openssh/gnome-ssh-askpass: cpio: rename failed - Permission denied

相关内容