yum安装报错error: unpacking of archive failed on file /usr/bin/xxxx: cpio: open Failed

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

时间: 2024-12-26 21:28:51

yum安装报错error: unpacking of archive failed on file /usr/bin/xxxx: cpio: open Failed的相关文章

Redis 2.8.18 安装报错 error: jemalloc/jemalloc.h: No such file or directory

Redis是一个开源的使用ANSI C语言编写.支持网络.可基于内存亦可持久化的日志型.Key-Value数据库,并提供多种语言的API. 本文为大家讲解的是Redis 2.8.18 安装报错 error: jemalloc/jemalloc.h: No such file or directory解决方法,感兴趣的同学参考下. 错误描述 安装Redis 2.8.18时报错: zmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or

yum安装报错“Error: xz compression not available”

在测试服务器进行docker学习,有些centos7软件安装上和自己的服务器不兼容所以导致yun下载软件时报错:Error: xz compression not available 对于报错解决办法: rm -fr /var/cache/yum/x86_64/6/epel/ rm -rf /etc/yum.repos.d/epel* 重新安装epel源和base源 wget -O/etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.co

Redis 2.8.18 安装报错 error: jemalloc/jemalloc.h: No such file or directory解决方法

错误描述 安装Redis 2.8.18时报错: zmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or directoryzmalloc.h:55:2: error: #error "Newer version of jemalloc required"make[1]: *** [adlist.o] Error 1make[1]: Leaving directory `/data0/src/redis-2.6.2/src

Redis 安装报错 error: jemalloc/jemalloc.h: No such file or directory解决方法

错误描述 安装Redis 2.8.18时报错: zmalloc.h:50:31: error: jemalloc/jemalloc.h: No such file or directory zmalloc.h:55:2: error: #error "Newer version of jemalloc required" make[1]: *** [adlist.o] Error 1 make[1]: Leaving directory `/data0/src/redis-2.6.2/

cocoapods 安装报错 ERROR: While executing gem ... (Errno::EPERM) Operation not permitted - /usr/bin/xcodeproj

cocoapods 安装报错 ERROR:  While executing gem ... (Errno::EPERM)     Operation not permitted - /usr/bin/xcodeproj 执行下面语句安装即可: sudo gem install -n /usr/local/bin cocoapods

yum安装报错有冲突file /usr/lib64/php/modules/fileinfo.so conflicts between

yum安装报错有冲突file /usr/lib64/php/modules/fileinfo.so conflicts between attempted installs of php-pecl-fileinfo-1.0.4-2.el6.rf.x86 64 and php-common-5.3.3-46.el6 6.x86 64 遇到这个情况的时候  是库冲突了 需要修改文件        vim /etc/yum.repos.d/rpmforge.repo 将里面的enable=1    改

glusterfs本地yum源安装报错Error: Package:

报错如下 --> Finished Dependency Resolution Error: Package: glusterfs-server-3.4.7-1.el6.x86_64 (glusterfs) Requires: glusterfs-cli = 3.4.7-1.el6 Available: glusterfs-cli-3.4.7-1.el6.x86_64 (glusterfs) glusterfs-cli = 3.4.7-1.el6 Installing: glusterfs-cl

解决 yum安装时报错 Error: Protected multilib versions: 报错

系统中缺少一个lib库 libz.so.1文件,使用yum安装会自动找到相关的rpm包,如下命令 # yum -y install libz.so.1 Resolving Dependencies --> Running transaction check ---> Package zlib.i686 0:1.2.3-29.el6 will be installed --> Finished Dependency Resolution Error: Protected multilib

yum安装报错

报错如下: YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid release/removing mirrorlist with no valid mirrors: /var/cache/yum/extras/mirrorlist.txtError: Cannot find a valid baseurl for repo: extras 使用lsb_release -a查看 解决方法:是r