How to Solve error: unpacking of archive failed on file

Today, when using Yum to install software package, the following error message appears (this is only part):
installing: pango-1.28.1-11.el6.x86_ 64 1/9
Error unpacking rpm package pango-1.28.1-11.el6.x86_ 64
error: unpacking of archive failed on file /usr/bin/pango-querymodules-64; 57e33cf7: cpio: open
Installing : libtiff-3.9.4-18.el6_ 8.x86_ 64 2/9
Error unpacking rpm package libtiff-3.9.4-18.el6_ 8.x86_ 64
error: unpacking of archive failed on file /usr/bin/bmp2tiff; 57e33cf7: CPIO: open
analysis: This is encountered when installing using yum. It’s time to install, This indicates that there is no problem in checking the dependence on the download package before
after analyzing on file/usr/bin/Pango, it is found that all packages are in the path of/usr/bin /, and then an error may be reported in the directory of/usr/bin.
so I looked at this directory:
Lsattr/usr
— e -/usr/etc
— e -/usr/SBIN
— I — E -/usr/lib64
Lsattr/usr—- ———E -/usr/share
— e -/usr/local
— I — E -/usr/include
— e -/usr/games
— I — E -/usr/bin
I found that there was an I in the directory attribute/usr/bin, which was added before, so the file could not be added, So I
get rid of chattr – I/usr/bin and run Yum OK
a lot of detours, including Yum clean all, changing the yum source and so on. It just writes down the final successful way

Similar Posts: