Updating ansible-core package fails with the error 'unpacking of archive failed on file /etc/ansible/roles: cpio: chown failed - Directory not empty'
Issue
-
Updating
ansible-corepackage fails with below error.Running transaction Preparing : 1/1 Upgrading : ansible-core-2.16.3-2.el8.x86_64 1/4Error unpacking rpm package ansible-core-2.16.3-2.el8.x86_64 Upgrading : ansible-test-2.16.3-2.el8.x86_64 2/4 error: unpacking of archive failed on file /etc/ansible/roles: cpio: chown failed - Directory not empty error: ansible-core-2.16.3-2.el8.x86_64: install failed Cleanup : ansible-test-2.15.3-1.el8.x86_64 3/4 Running scriptlet: ansible-test-2.15.3-1.el8.x86_64 3/4 error: ansible-core-2.15.3-1.el8.x86_64: erase skipped - Due to the same above error, Satellite upgrade failed.
Environment
- Red Hat Satellite 6
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.