Httpd yum update fails with "error: unpacking of archive failed "
Issue
-
yum update
fails with one of the following errors:Loaded plugins: enabled_repos_upload, langpacks, package_upload, product-id, search-disabled-repos, subscription-manager Error unpacking rpm package httpd-2.4.6-97.el7_9.x86_64 error: unpacking of archive failed on file /etc/httpd/logs: cpio: rename Uploading Package Profile Loaded plugins: langpacks, product-id, subscription-manager httpd-2.4.6-67.el7_4.6.x86_64 was supposed to be removed but is not!
Loaded plugins: enabled_repos_upload, langpacks, package_upload, product-id, search-disabled-repos, subscription-manager Error unpacking rpm package httpd-2.4.6-97.el7_9.x86_64 error: unpacking of archive failed on file /etc/httpd/modules: cpio: rename Uploading Package Profile Loaded plugins: langpacks, product-id, subscription-manager httpd-2.4.6-67.el7_4.6.x86_64 was supposed to be removed but is not!
Loaded plugins: enabled_repos_upload, langpacks, package_upload, product-id, search-disabled-repos, subscription-manager Error unpacking rpm package httpd-2.4.6-97.el7_9.x86_64 error: unpacking of archive failed on file /etc/httpd/run: cpio: rename Uploading Package Profile Loaded plugins: langpacks, product-id, subscription-manager httpd-2.4.6-67.el7_4.6.x86_64 was supposed to be removed but is not!
Environment
- Red Hat Enterprise Linux
- 7.x
- 8.x
- Red Hat Satellite 6
- Red Hat Capsule 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.