yum安装报错error: unpacking of archive failed on file /usr/bin/xxxx: cpio: open Failed
2014-09-26 19:19
786 查看
Bash漏洞爆出来了,赶紧更新一下补丁,#yum -y update bash
报错了error: unpacking of archive failed on file /usr/bin/bashbug-64;54254708: cpio: open
参考了网上资料,原来是以前加固时给/usr/bin加了i权限
# lsattr /usr | grep bin ----i-----I-- /usr/bin
# chattr -i /usr/bin
然后yum安装就OK了
参考资料:http://linuxhostingsupport.net/blog/error-unpacking-of-archive-failed-on-file-usrbinxxxx-cpio-open-failed
相关文章推荐
- error: unpacking of archive failed on file /usr/sbin/zabbix_agent;592e5bc3: cpio: open
- [ Yum_Faq ] unpacking of archive failed on file XXX: cpio: rename
- unpacking of archive failed on file /usr/java/jdk1.8.0_11/lib/visualvm/platform/modules/org-netbeans
- centos 下安装jdk7报错,error: unpacking of archive failed on file /usr/java/jdk1.7.0_21/jre/lib/amd64/libj
- centos7安装teamviewer 10 报error: unpacking of archive failed on file
- linux下安装jdk7出现unpacking of archive failed on file
- gitlab.rpm文件安装过程提示error: unpacking of archive failed on file
- 【Kubernetes】Failed at step CHDIR spawning /usr/local/bin/kubelet: No such file or directory
- file /usr/java/jdkxx/bin/java from install of jdkxx conflict解决方法
- bin/nutch crawl log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: /usr/nutc
- usr/bin/ld: i386 architecture of input file XXX.a( xxx.o) is incompatible with i386:x86-64 output
- [译]Why do people write #!/usr/bin/env python on the first line of a Python script?
- /usr/bin/ld: i386 architecture of input file `regcomp.o' is incompatible with i386:x86-64 output
- “bind failed on XXXX: Address already in usr”问题
- 关于Qt for Android 编译时出错/usr/bin/sh: -c: line 1: syntax error: unexpected end of file 时的解决方法
- vmware:Cannot open the disk 'XXX' or one of the snapshot disks it depends on. reason: failed to lock the file.
- 在编译时出现:/usr/bin/ld: final link failed: Nonrepresentable section on output解决方法
- xcode打包(Archive)显示Command /usr/bin/codesign failed
- bin/nutch crawl log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: /usr/nut
- python 2.6 mycli安装,File "/usr/bin/mycli", line 7, in <module>