Oracle Linux 7 - Yum update fails with "error: unpacking of archive failed on file /mnt: cpio: lsetfilecon"
(Doc ID 2549007.1)
Last updated on MAY 24, 2020
Applies to:
Linux OS - Version Oracle Linux 7.0 and laterx86_64
Symptoms
Yum update fails with following error on Oracle Linux 7 servers.
# yum update Loaded plugins: changelog, langpacks, ovl, tmprepo, ulninfo, verify, versionlock Resolving Dependencies --> Running transaction check ---> Package filesystem.x86_64 0:3.2-20.el7 will be updated ---> Package filesystem.x86_64 0:3.2-25.el7 will be an update --> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================================================================== Package Arch Version Repository Size ======================================================================================================================================================================== Updating: filesystem x86_64 3.2-25.el7 ol7_latest 1.0 M
Transaction Summary ======================================================================================================================================================================== Upgrade 1 Package
Total download size: 1.0 M Is this ok [y/d/N]: y Downloading packages: No Presto metadata available for ol7_latest filesystem-3.2-25.el7.x86_64.rpm | 1.0 MB 00:00:01 Running transaction check Running transaction test Transaction test succeeded Running transaction Updating : filesystem-3.2-25.el7.x86_64 1/2 Error unpacking rpm package filesystem-3.2-25.el7.x86_64 error: unpacking of archive failed on file /mnt: cpio: lsetfilecon filesystem-3.2-20.el7.x86_64 was supposed to be removed but is not! Verifying : filesystem-3.2-20.el7.x86_64 1/2 Verifying : filesystem-3.2-25.el7.x86_64 2/2
Failed: filesystem.x86_64 0:3.2-20.el7 filesystem.x86_64 0:3.2-25.el7
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |