yum update更新时

更新initscripts时,报如下错误:

Error unpacking rpm package initscripts-9.49.30-1.el7_2.3.x86_64
error: unpacking of archive failed on file /usr/lib/udev/rules.d/60-net.rules: cpio: rename

解决办法——解除属性保护:


chattr -i /usr/lib/udev/rules.d/60-net.rules

 via.https://kper.net/145.html