Updating the filesystem package fails with error "unpacking of archive failed on file /mnt: cpio: chown failed"
Issue
- While updating or upgrade of filesystem package, the error message "unpacking of archive failed on file /mnt: cpio: chown failed - Read-only filesystem" appears.
yum update filesystem
Upgrade 1 Package
Total download size: 1.0 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Updating : filesystem-3.2-20.el7.x86_64 1/2
Error unpacking rpm package filesystem-3.2-20.el7.x86_64
error: unpacking of archive failed on file /mnt: cpio: chmod
Verifying : filesystem-3.2-20.el7.x86_64 1/2
filesystem-3.2-18.el7.x86_64 was supposed to be removed but is not!
Verifying : filesystem-3.2-18.el7.x86_64 2/2
Failed:
filesystem.x86_64 0:3.2-18.el7 filesystem.x86_64 0:3.2-20.el7
Complete!
Environment
- Red Hat Enterprise Linux 7
- filesystem.x86_64 0:3.2-18.el7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
